/* ============================================
   CALCULADORA NUTRICIÓN - DISEÑO MODERNO Y COLORIDO
   ============================================ */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #2d3748;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
}

/* Container */
.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 20px;
}

/* Header - Moderno con gradiente */
.header {
    background: white;
    padding: 20px 0;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    margin-bottom: 30px;
    border-radius: 0 0 20px 20px;
}

.header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 15px;
}

.logo-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    text-align: center;
}

.logo {
    width: 120px;
    height: 120px;
    object-fit: contain;
    filter: drop-shadow(0 4px 12px rgba(102, 126, 234, 0.4));
    transition: transform 0.3s;
}

.logo:hover {
    transform: scale(1.1) rotate(5deg);
}

.title-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.title {
    font-size: 24px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
    margin: 0;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

/* Redes Sociales en Header */
.social-links {
    display: flex;
    gap: 10px;
}

.social-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: white;
    transition: all 0.3s;
    text-decoration: none;
}

.social-link.instagram {
    background: linear-gradient(45deg, #f09433 0%,#e6683c 25%,#dc2743 50%,#cc2366 75%,#bc1888 100%);
}

.social-link.tiktok {
    background: #000000;
}

.social-link:hover {
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 6px 20px rgba(0,0,0,0.3);
}

.language-selector {
    padding: 10px 16px;
    font-size: 14px;
    border: 2px solid #667eea;
    border-radius: 25px;
    background: white;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s;
    color: #667eea;
}

.language-selector:hover {
    background: #667eea;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

/* Botón Instalar en Header */
.install-btn-header {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    color: white;
    border: none;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(245, 87, 108, 0.3);
}

.install-btn-header:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(245, 87, 108, 0.4);
}

.install-btn-header i {
    font-size: 16px;
}

/* Install Button */
.install-button,
.install-button-bottom {
    padding: 12px 24px;
    font-size: 15px;
    font-weight: 600;
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    color: white;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(245, 87, 108, 0.3);
    transition: all 0.3s;
}

.install-button:hover,
.install-button-bottom:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(245, 87, 108, 0.4);
}

.install-button {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
}

/* Intro Section - Colorida y atractiva */
.intro-section {
    background: white;
    padding: 30px;
    border-radius: 20px;
    margin-bottom: 30px;
    text-align: center;
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
    position: relative;
    overflow: hidden;
}

.intro-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
}

.intro-section h2 {
    font-size: 28px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 15px;
    font-weight: 700;
}

.intro-section p {
    font-size: 16px;
    color: #718096;
    line-height: 1.8;
}

/* Calculator Section */
.calculator-section {
    background: white;
    border-radius: 20px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
    overflow: hidden;
}

/* Tabs - Coloridos y con iconos */
.tabs-nav {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    background: #f7fafc;
    padding: 15px;
    gap: 10px;
}

.tab-button {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 18px 15px;
    font-size: 15px;
    font-weight: 600;
    background: white;
    border: 2px solid #e2e8f0;
    border-radius: 15px;
    cursor: pointer;
    transition: all 0.3s;
    color: #718096;
}

.tab-button i {
    font-size: 24px;
    transition: transform 0.3s;
}

.tab-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.2);
    border-color: #667eea;
}

.tab-button:hover i {
    transform: scale(1.2);
}

.tab-button.active {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-color: #667eea;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.tab-button.active i {
    transform: scale(1.1);
}

/* Tab Content */
.tab-content {
    display: none;
    padding: 35px 30px;
    animation: fadeInUp 0.4s ease;
}

.tab-content.active {
    display: block;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.tab-content h3 {
    font-size: 24px;
    color: #2d3748;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 3px solid #667eea;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Form - Inputs modernos con iconos */
.form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-size: 15px;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.form-group label i {
    color: #667eea;
    font-size: 18px;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 14px 16px;
    font-size: 15px;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    background: #f7fafc;
    transition: all 0.3s;
    font-family: 'Poppins', sans-serif;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #667eea;
    background: white;
    box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.1);
    transform: translateY(-2px);
}

.form-group input::placeholder {
    color: #a0aec0;
}

.input-with-unit {
    display: flex;
    gap: 10px;
}

.input-with-unit input {
    flex: 1;
}

.unit-selector {
    width: 90px;
    font-weight: 600;
    color: #667eea;
}

/* Checkboxes - Coloridos y grandes */
.checkbox-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 12px;
    margin-top: 15px;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    background: #f7fafc;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 14px;
    font-weight: 500;
}

.checkbox-label:hover {
    background: #edf2f7;
    border-color: #667eea;
    transform: translateX(5px);
}

.checkbox-label input[type="checkbox"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
    accent-color: #667eea;
}

.checkbox-label input[type="checkbox"]:checked + span {
    color: #667eea;
    font-weight: 600;
}

/* Conditional Sections */
.conditional-section {
    margin-top: 20px;
    padding: 20px;
    background: linear-gradient(135deg, #ffeaa7 0%, #fdcb6e 100%);
    border-radius: 15px;
    border-left: 5px solid #fdcb6e;
    box-shadow: 0 4px 15px rgba(253, 203, 110, 0.3);
}

.conditional-section h4 {
    font-size: 18px;
    color: #d63031;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Upload Section - Atractiva */
.upload-section {
    margin-top: 20px;
}

.upload-area {
    position: relative;
    border: 3px dashed #667eea;
    border-radius: 20px;
    padding: 50px 30px;
    text-align: center;
    background: linear-gradient(135deg, #f0f4ff 0%, #e6f0ff 100%);
    cursor: pointer;
    transition: all 0.3s;
}

.upload-area:hover {
    background: linear-gradient(135deg, #e6f0ff 0%, #d9e8ff 100%);
    border-color: #764ba2;
    transform: scale(1.02);
}

.upload-area input[type="file"] {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    opacity: 0;
    cursor: pointer;
}

.upload-icon {
    font-size: 60px;
    margin-bottom: 15px;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.upload-text {
    font-size: 18px;
    color: #667eea;
    font-weight: 600;
}

.image-preview {
    margin-top: 20px;
    text-align: center;
}

.image-preview img {
    max-width: 100%;
    max-height: 400px;
    border-radius: 15px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.2);
}

.btn-remove {
    margin-top: 15px;
    padding: 12px 30px;
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a6f 100%);
    color: white;
    border: none;
    border-radius: 25px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.3);
}

.btn-remove:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 107, 107, 0.4);
}

/* Analysis Result */
.analysis-result {
    margin-top: 25px;
    padding: 25px;
    background: linear-gradient(135deg, #d4fc79 0%, #96e6a1 100%);
    border-radius: 15px;
    border: 2px solid #96e6a1;
    box-shadow: 0 4px 15px rgba(150, 230, 161, 0.3);
}

.analysis-result h4 {
    font-size: 22px;
    color: #27ae60;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.analysis-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background: white;
    border-radius: 12px;
    margin-bottom: 15px;
    font-size: 18px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.analysis-label {
    font-weight: 600;
    color: #2d3748;
}

.analysis-value {
    font-weight: 700;
    color: #27ae60;
    font-size: 22px;
}

.analysis-macros {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
    margin-bottom: 15px;
}

.analysis-macro {
    padding: 18px;
    background: white;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    transition: transform 0.3s;
}

.analysis-macro:hover {
    transform: translateY(-5px);
}

.analysis-macro span:first-child {
    display: block;
    font-size: 14px;
    color: #718096;
    margin-bottom: 8px;
    font-weight: 500;
}

.analysis-macro span:last-child {
    display: block;
    font-size: 20px;
    font-weight: 700;
    color: #27ae60;
}

.analysis-note {
    font-size: 14px;
    color: #2d5016;
    font-style: italic;
    text-align: center;
    margin-top: 10px;
}

/* Info Text */
.info-text {
    font-size: 15px;
    color: #744210;
    background: linear-gradient(135deg, #ffeaa7 0%, #fdcb6e 100%);
    padding: 18px 20px;
    border-radius: 12px;
    border-left: 5px solid #fdcb6e;
    margin-bottom: 20px;
    line-height: 1.7;
    box-shadow: 0 2px 10px rgba(253, 203, 110, 0.2);
}

/* Form Actions - Botón espectacular */
.form-actions {
    padding: 30px;
    background: linear-gradient(135deg, #f7fafc 0%, #edf2f7 100%);
    text-align: center;
    border-top: 3px solid #e2e8f0;
}

.btn-calculate {
    padding: 18px 50px;
    font-size: 20px;
    font-weight: 700;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-family: 'Poppins', sans-serif;
}

.btn-calculate i {
    font-size: 24px;
}

.btn-calculate:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 35px rgba(102, 126, 234, 0.5);
    background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
}

.btn-calculate:active {
    transform: translateY(-2px);
}

/* Results Section */
.results-section {
    margin-top: 30px;
    padding: 30px;
    background: white;
    border-radius: 20px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}

/* ============================================
   ESPACIOS PUBLICITARIOS
   ============================================ */

.ad-space {
    margin: 30px auto;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

/* Placeholder temporal */
.ad-placeholder {
    background: linear-gradient(135deg, #f7fafc 0%, #edf2f7 100%);
    border: 2px dashed #cbd5e0;
    border-radius: 15px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #a0aec0;
    font-weight: 600;
    text-align: center;
    padding: 20px;
    transition: all 0.3s;
}

.ad-placeholder small {
    font-size: 12px;
    color: #cbd5e0;
    font-weight: 400;
}

.ad-placeholder:hover {
    border-color: #667eea;
    background: linear-gradient(135deg, #edf2f7 0%, #e6f0ff 100%);
}

/* Imágenes publicitarias */
.ad-image {
    max-width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: all 0.3s;
}

.ad-image:hover {
    transform: scale(1.02);
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

.ad-space a {
    display: block;
    text-decoration: none;
}

/* Banner Horizontal (728x90 o responsive) */
.ad-horizontal {
    width: 100%;
    max-width: 728px;
    min-height: 90px;
}

.ad-horizontal .ad-placeholder {
    width: 100%;
    max-width: 728px;
    height: 90px;
}

.ad-horizontal .ad-image {
    width: 100%;
    max-width: 728px;
    height: auto;
}

/* Banner Cuadrado (300x250) */
.ad-square {
    width: 100%;
    max-width: 300px;
    min-height: 250px;
}

.ad-square .ad-placeholder {
    width: 100%;
    max-width: 300px;
    height: 250px;
}

.ad-square .ad-image {
    width: 100%;
    max-width: 300px;
    height: auto;
}

/* AdSense responsive */
.adsbygoogle {
    display: block;
    border-radius: 15px;
    overflow: hidden;
}

/* Responsive para móviles */
@media (max-width: 768px) {
    .ad-horizontal {
        max-width: 100%;
    }
    
    .ad-horizontal .ad-placeholder {
        max-width: 100%;
        height: 100px;
    }
    
    .ad-horizontal .ad-image {
        max-width: 100%;
    }
    
    .ad-square {
        max-width: 100%;
    }
    
    .ad-square .ad-placeholder {
        max-width: 100%;
        height: 200px;
    }
    
    .ad-square .ad-image {
        max-width: 100%;
    }
}

/* Footer */
.footer {
    margin-top: 50px;
    padding: 40px 0 30px;
    background: rgba(255, 255, 255, 0.95);
    color: #2d3748;
    text-align: center;
    border-radius: 20px 20px 0 0;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.1);
}

.footer-social {
    margin-bottom: 30px;
}

.follow-text {
    font-size: 16px;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 15px;
}

.social-links-footer {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.social-link-footer {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    border-radius: 30px;
    color: white;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.social-link-footer.instagram {
    background: linear-gradient(45deg, #f09433 0%,#e6683c 25%,#dc2743 50%,#cc2366 75%,#bc1888 100%);
}

.social-link-footer.tiktok {
    background: #000000;
}

.social-link-footer:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.3);
}

.social-link-footer i {
    font-size: 20px;
}

.footer p {
    font-size: 14px;
    margin-bottom: 10px;
    line-height: 1.8;
    color: #718096;
}

.copyright {
    font-size: 13px;
    color: #a0aec0;
    font-weight: 600;
    margin-top: 20px;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .header-actions {
        width: 100%;
        justify-content: center;
    }
    
    .social-links {
        order: 3;
        width: 100%;
        justify-content: center;
    }
    
    .language-selector {
        order: 1;
    }
    
    .install-btn-header {
        order: 2;
        font-size: 13px;
        padding: 8px 16px;
    }
    
    .logo {
        width: 90px;
        height: 90px;
    }
    
    .title {
        font-size: 20px;
    }
    
    .social-links-footer {
        flex-direction: column;
        align-items: center;
    }
    
    .social-link-footer {
        width: 200px;
        justify-content: center;
    }
    
    .tabs-nav {
        grid-template-columns: 1fr 1fr;
    }
    
    .tab-button {
        font-size: 13px;
        padding: 14px 10px;
    }
    
    .tab-button i {
        font-size: 20px;
    }
    
    .tab-content {
        padding: 25px 20px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .checkbox-grid {
        grid-template-columns: 1fr;
    }
    
    .analysis-macros {
        grid-template-columns: 1fr;
    }
    
    .btn-calculate {
        width: 100%;
        font-size: 18px;
        padding: 16px 30px;
    }
}

@media (max-width: 480px) {
    .header .container {
        flex-direction: column;
        text-align: center;
    }
    
    .logo {
        width: 70px;
        height: 70px;
    }
    
    .title {
        font-size: 18px;
    }
    
    .tabs-nav {
        grid-template-columns: 1fr;
    }
}

/* Animaciones adicionales */
@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.8;
    }
}

.form-group input:focus,
.form-group select:focus {
    animation: pulse 2s infinite;
}


/* ============================================
   ANÁLISIS DE ALIMENTOS CON IA - ESTILOS
   ============================================ */

/* Loading Message */
.loading-message {
    text-align: center;
    padding: 30px 20px;
    color: #667eea;
}

.loading-message i {
    font-size: 40px;
    margin-bottom: 15px;
    display: block;
}

.loading-message p {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
}

.loading-message small {
    font-size: 14px;
    color: #a0aec0;
}

/* Error Message */
.error-message {
    background: linear-gradient(135deg, #fee 0%, #fdd 100%);
    border: 2px solid #f88;
    border-radius: 15px;
    padding: 30px 20px;
    text-align: center;
    color: #c33;
}

.error-message i {
    font-size: 48px;
    margin-bottom: 15px;
    display: block;
}

.error-message p {
    font-size: 18px;
    font-weight: 600;
    margin: 10px 0;
}

.error-message small {
    display: block;
    margin-top: 15px;
    font-size: 13px;
    opacity: 0.8;
    padding: 10px;
    background: rgba(255,255,255,0.5);
    border-radius: 8px;
}

.btn-retry {
    margin-top: 20px;
    padding: 12px 30px;
    background: #667eea;
    color: white;
    border: none;
    border-radius: 25px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-retry:hover {
    background: #764ba2;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

/* Food Name Header */
.food-name-header {
    background: linear-gradient(135deg, #d4fc79 0%, #96e6a1 100%);
    padding: 20px;
    border-radius: 15px;
    margin-bottom: 20px;
    text-align: center;
    position: relative;
}

.food-name-header h4 {
    font-size: 24px;
    color: #27ae60;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.food-name-header i {
    font-size: 28px;
}

.portion-size {
    font-size: 16px;
    color: #2d5016;
    margin: 5px 0 0 0;
    font-weight: 500;
}

.confidence-badge {
    display: inline-block;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    margin-top: 10px;
    text-transform: uppercase;
}

.confidence-alta {
    background: #27ae60;
    color: white;
}

.confidence-media {
    background: #f39c12;
    color: white;
}

.confidence-baja {
    background: #e74c3c;
    color: white;
}

/* Nutrition Grid */
.nutrition-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 15px;
    margin-bottom: 20px;
}

.nutrition-card {
    background: white;
    border-radius: 15px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    transition: all 0.3s;
    border: 2px solid transparent;
}

.nutrition-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
}

.nutrition-card.calories {
    border-color: #ff6b6b;
}

.nutrition-card.calories i {
    color: #ff6b6b;
}

.nutrition-card.protein {
    border-color: #4ecdc4;
}

.nutrition-card.protein i {
    color: #4ecdc4;
}

.nutrition-card.carbs {
    border-color: #f7b731;
}

.nutrition-card.carbs i {
    color: #f7b731;
}

.nutrition-card.fats {
    border-color: #a29bfe;
}

.nutrition-card.fats i {
    color: #a29bfe;
}

.nutrition-card i {
    font-size: 32px;
    margin-bottom: 10px;
    display: block;
}

.nutrition-value {
    font-size: 28px;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 5px;
}

.nutrition-label {
    font-size: 14px;
    color: #718096;
    font-weight: 500;
}

/* Analysis Note */
.analysis-note {
    background: rgba(102, 126, 234, 0.1);
    border-left: 4px solid #667eea;
    padding: 15px 20px;
    border-radius: 8px;
    font-size: 14px;
    color: #4a5568;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.analysis-note i {
    color: #667eea;
    font-size: 18px;
}

/* Analyze Another Button */
.btn-analyze-another {
    width: 100%;
    padding: 15px 30px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.btn-analyze-another:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
}

.btn-analyze-another i {
    font-size: 18px;
}

/* Responsive */
@media (max-width: 768px) {
    .nutrition-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .food-name-header h4 {
        font-size: 20px;
    }
    
    .nutrition-value {
        font-size: 24px;
    }
}

@media (max-width: 480px) {
    .nutrition-grid {
        grid-template-columns: 1fr;
    }
}
