/* E-E-A-T Frontend Styles - Brand Orange #FF6B35 Theme */

/* ============================================
   TESTING BADGE
   ============================================ */

.delice-testing-badge-section {
    background: #fff;
    border: 1px solid #f0f0f0;
    border-left: 4px solid #FF6B35;
    padding: 20px 25px;
    margin: 30px 0;
    border-radius: 12px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}

.badge-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
}

.badge-icon {
    background: #FF6B35;
    color: #fff;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}

.badge-title {
    font-size: 18px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0;
}

.badge-stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

.badge-stat {
    text-align: center;
    padding: 12px;
    background: #fafafa;
    border-radius: 8px;
}

.badge-stat-value {
    display: block;
    font-size: 22px;
    font-weight: 700;
    color: #FF6B35;
    margin-bottom: 4px;
}

.badge-stat-label {
    display: block;
    font-size: 12px;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ============================================
   USER COOKS GALLERY
   ============================================ */

.delice-user-cooks-section {
    margin: 40px 0;
}

.section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

.section-title {
    font-size: 24px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0;
}

.user-cooks-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 20px;
}

.user-cook-item {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #f0f0f0;
    transition: all 0.3s ease;
}

.user-cook-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.user-cook-photo {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.user-cook-info {
    padding: 15px;
}

.user-cook-name {
    font-weight: 600;
    color: #1a1a1a;
    margin: 0 0 8px 0;
    font-size: 15px;
}

.user-cook-rating {
    color: #FF6B35;
    font-size: 18px;
    margin-bottom: 8px;
}

.user-cook-comment {
    color: #666;
    font-size: 14px;
    line-height: 1.5;
    margin: 0;
}

/* ============================================
   SUBMIT COOK BUTTON
   ============================================ */

.delice-submit-cook-section {
    background: linear-gradient(135deg, #fff8f0 0%, #fff5eb 100%);
    border: 1px solid #ffe0cc;
    padding: 30px;
    margin: 40px 0;
    border-radius: 12px;
    text-align: center;
}

.delice-submit-cook-section .section-title {
    font-size: 24px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 10px 0;
}

.section-description {
    color: #666;
    font-size: 16px;
    margin: 0 0 20px 0;
}

.delice-submit-cook-button {
    background: #FF6B35;
    color: #fff;
    border: none;
    padding: 16px 40px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.3);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.delice-submit-cook-button:hover {
    background: #ff5518;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(255, 107, 53, 0.4);
}

.delice-submit-cook-button:active {
    transform: translateY(0);
}

/* ============================================
   SAFETY INFORMATION
   ============================================ */

.delice-safety-info-section {
    background: #fffbf0;
    border: 2px solid #ffd700;
    border-radius: 12px;
    padding: 25px;
    margin: 40px 0;
}

.delice-safety-info-section h3 {
    color: #1a1a1a;
    font-size: 20px;
    font-weight: 700;
    margin: 0 0 20px 0;
}

.allergen-warnings,
.dietary-tags {
    margin-bottom: 20px;
}

.allergen-warnings h4,
.dietary-tags h4 {
    color: #1a1a1a;
    font-size: 16px;
    font-weight: 600;
    margin: 0 0 12px 0;
}

.allergen-list,
.dietary-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.allergen-list li,
.dietary-list li {
    background: #fff;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    border: 2px solid #ffd700;
}

.dietary-list li {
    border-color: #4ade80;
    color: #16a34a;
}

.safety-notes {
    background: #fff;
    padding: 15px;
    border-radius: 8px;
    border-left: 4px solid #FF6B35;
}

.safety-notes h4 {
    color: #1a1a1a;
    font-size: 16px;
    font-weight: 600;
    margin: 0 0 10px 0;
}

.safety-notes p {
    color: #666;
    font-size: 14px;
    line-height: 1.6;
    margin: 0;
}

/* ============================================
   EXPERT ENDORSEMENTS
   ============================================ */

.delice-endorsements-section {
    margin: 40px 0;
}

.delice-endorsements-section h3 {
    font-size: 24px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 20px 0;
}

.delice-endorsement {
    background: #fff;
    border: 1px solid #f0f0f0;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 15px;
    display: flex;
    gap: 20px;
}

.expert-photo {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.endorsement-content {
    flex: 1;
}

.endorsement-content strong {
    display: block;
    color: #1a1a1a;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 4px;
}

.expert-title {
    color: #FF6B35;
    font-size: 14px;
    font-weight: 600;
    display: block;
    margin-bottom: 10px;
}

.endorsement-content blockquote {
    margin: 10px 0 0 0;
    padding: 0;
    border: none;
    color: #666;
    font-size: 15px;
    line-height: 1.6;
    font-style: italic;
}

/* ============================================
   NUTRITION EXPERT REVIEW
   ============================================ */

.delice-nutrition-review-section {
    background: #f0fdf4;
    border: 2px solid #86efac;
    border-radius: 12px;
    padding: 25px;
    margin: 30px 0;
}

.nutrition-review-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.nutrition-badge {
    background: #16a34a;
    color: #fff;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.nutrition-expert-info {
    flex: 1;
}

.nutrition-expert-info strong {
    display: block;
    color: #1a1a1a;
    font-size: 16px;
    font-weight: 700;
}

.nutrition-expert-credentials {
    color: #16a34a;
    font-size: 14px;
    font-weight: 600;
}

/* ============================================
   MODAL STYLES
   ============================================ */

.delice-modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    animation: fadeIn 0.3s;
}

.delice-modal-content {
    background-color: #fff;
    margin: 5% auto;
    padding: 0;
    border-radius: 16px;
    width: 90%;
    max-width: 600px;
    max-height: 85vh;
    overflow: hidden;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
    animation: slideDown 0.3s;
}

.delice-modal-header {
    background: linear-gradient(135deg, #FF6B35 0%, #ff5518 100%);
    padding: 25px 30px;
    position: relative;
}

.delice-modal-close {
    color: #fff;
    float: right;
    font-size: 32px;
    font-weight: bold;
    line-height: 20px;
    cursor: pointer;
    transition: opacity 0.2s;
    opacity: 0.9;
}

.delice-modal-close:hover {
    opacity: 1;
}

.delice-modal-content h2 {
    color: #fff;
    margin: 0;
    font-size: 24px;
    font-weight: 700;
}

.delice-modal-body {
    padding: 30px;
    overflow-y: auto;
    max-height: calc(85vh - 100px);
}

#delice-cook-form .form-field {
    margin-bottom: 20px;
}

#delice-cook-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #1a1a1a;
    font-size: 14px;
}

#delice-cook-form input[type="text"],
#delice-cook-form input[type="email"],
#delice-cook-form textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e5e5e5;
    border-radius: 8px;
    font-size: 15px;
    transition: border-color 0.3s;
    box-sizing: border-box;
}

#delice-cook-form input[type="text"]:focus,
#delice-cook-form input[type="email"]:focus,
#delice-cook-form textarea:focus {
    outline: none;
    border-color: #FF6B35;
}

#delice-cook-form small {
    display: block;
    margin-top: 4px;
    color: #999;
    font-size: 13px;
}

.star-rating {
    display: flex;
    flex-direction: row-reverse;
    justify-content: flex-end;
    gap: 4px;
}

.star-rating input {
    display: none;
}

.star-rating label {
    cursor: pointer;
    font-size: 32px;
    color: #e5e5e5;
    transition: color 0.2s;
    margin: 0;
}

.star-rating input:checked ~ label,
.star-rating label:hover,
.star-rating label:hover ~ label {
    color: #FF6B35;
}

.delice-submit-btn {
    background: #FF6B35;
    color: #fff;
    border: none;
    padding: 14px 30px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    width: 100%;
    transition: all 0.3s;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.delice-submit-btn:hover {
    background: #ff5518;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.3);
}

.delice-submit-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
    transform: none;
}

#delice-cook-message {
    margin-top: 15px;
}

#delice-cook-message p {
    padding: 12px 16px;
    border-radius: 8px;
    margin: 0;
    font-weight: 600;
}

#delice-cook-message .success {
    background: #d1fae5;
    color: #065f46;
    border: 2px solid #86efac;
}

#delice-cook-message .error {
    background: #fee2e2;
    color: #991b1b;
    border: 2px solid #fca5a5;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideDown {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

@media (max-width: 768px) {
    .badge-stats-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    
    .user-cooks-grid {
        grid-template-columns: 1fr;
    }
    
    .delice-modal-content {
        width: 95%;
        margin: 10% auto;
    }
    
    .delice-modal-body {
        padding: 20px;
    }
    
    .section-title {
        font-size: 20px;
    }
    
    .delice-endorsement {
        flex-direction: column;
        text-align: center;
    }
    
    .expert-photo {
        margin: 0 auto;
    }
}

@media (max-width: 480px) {
    .delice-submit-cook-section {
        padding: 20px;
    }
    
    .delice-submit-cook-section .section-title {
        font-size: 20px;
    }
    
    .delice-submit-cook-button {
        padding: 14px 30px;
        font-size: 14px;
    }
}
