/**
 * Cigar Review 专用样式
 * 将所有评论相关的内联样式外部化
 */

/* 评论详情页面样式 */
.cigar-review-content {
    padding: 25px 20px;
}

.cigar-review-navigation {
    margin-bottom: 20px;
}

.cigar-review-nav-btn {
    background: #6c757d;
    color: white;
    text-decoration: none;
    padding: 8px 16px;
    border-radius: 4px;
    margin-right: 10px;
}

.cigar-review-edit-btn {
    background: #007cba;
    color: white;
    text-decoration: none;
    padding: 8px 16px;
    border-radius: 4px;
}

.cigar-review-title {
    margin: 0 0 10px 0;
    color: #8B4513;
    font-size: 2.2em;
}

.cigar-review-subtitle {
    margin: 0;
    color: #666;
    font-size: 1.1em;
}

/* 雪茄信息网格 */
.cigar-detail-section-title {
    color: #8B4513;
    margin-bottom: 20px;
}

.cigar-detail-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
}

.cigar-detail-item {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 5px;
    border-left: 4px solid #8B4513;
}

.cigar-detail-label {
    font-weight: bold;
    color: #8B4513;
    display: block;
    margin-bottom: 5px;
}

.cigar-detail-value {
    font-size: 1.1em;
}

/* 评分系统样式 */
.score-fill {
    background: linear-gradient(90deg, #ffd700, #ffb700);
    height: 100%;
    border-radius: inherit;
    transition: width 0.3s ease;
}

/* 评论模板样式 */
.cigar-review-templates {
    margin: 20px 0;
    padding: 15px;
    background: #f9f9f9;
    border-left: 4px solid #8B4513;
}

.cigar-review-templates h4 {
    margin: 0 0 10px 0;
    color: #8B4513;
}

.cigar-review-templates p {
    margin: 0 0 10px 0;
    font-size: 13px;
    color: #666;
}

/* 评论提示样式 */
.cigar-review-tips {
    background: #fff3cd;
    border: 1px solid #ffeaa7;
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 4px;
}

.cigar-review-tips h4 {
    margin: 0 0 10px 0;
    color: #856404;
}

.cigar-review-tips ul {
    margin: 0;
    padding-left: 20px;
    color: #856404;
    font-size: 13px;
}

/* 状态指示器 */
.status-indicator {
    font-size: 14px;
}

.status-not-specified {
    color: #999;
}

.status-rating-stars {
    color: #DAA520;
    font-size: 16px;
}

.status-not-rated {
    color: #999;
}

.status-success {
    color: green;
}

.status-warning {
    color: orange;
}

.status-error {
    color: red;
}

/* 快速评分链接 */
.quick-rate-link {
    color: #DAA520;
}

/* 隐藏元素 */
.hidden {
    display: none;
}

/* 加载状态 */
.btn-loading {
    display: none;
}

/* 安全设置样式 */
.security-status-enabled {
    color: green;
}

.security-status-disabled {
    color: red;
}

.security-status-configured {
    color: green;
}

.security-status-incomplete {
    color: red;
}

.security-status-inactive {
    color: orange;
}

.security-input-width {
    width: 80px;
}

.security-test-results {
    margin-top: 15px;
}

/* 报告样式 */
.report-separator {
    margin: 30px 0;
}

.report-footer {
    text-align: center;
    color: #6c757d;
}

/* 调试信息样式 */
.debug-info-container {
    max-height: 300px;
    overflow-y: scroll;
    background: #f0f0f0;
    padding: 10px;
}

/* 错误信息样式 */
.error-message {
    background: #f00;
    color: #fff;
    padding: 10px;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 9999;
}

.error-text {
    color: red;
}

.auth-error-text {
    color: red;
}

/* 激活页面样式 */
.activation-link {
    background: #0073aa;
    color: white;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
}
