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

body {
    font-family: 'Inter', sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    color: #333;
    line-height: 1.6;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px;
}

header {
    text-align: center;
    margin-bottom: 40px;
    color: white;
}

header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 10px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

header p {
    font-size: 1.1rem;
    opacity: 0.9;
}

main {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 40px;
    align-items: start;
}

.calculator-card, .results-card {
    background: white;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    backdrop-filter: blur(10px);
}

.calculator-card h2, .results-card h2 {
    color: #4a5568;
    margin-bottom: 25px;
    font-size: 1.5rem;
    font-weight: 600;
}

.input-group {
    margin-bottom: 20px;
}

.input-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #4a5568;
}

.input-group input,
.input-group select {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: #f8fafc;
}

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

.calculate-btn {
    width: 100%;
    padding: 15px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 10px;
}

.calculate-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(102, 126, 234, 0.3);
}

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

#recalculateBtn, .recalculate-btn {
    width: 100%;
    padding: 15px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 10px;
    box-shadow: 0 10px 20px rgba(102, 126, 234, 0.1);
    display: block;
}
#recalculateBtn:hover, .recalculate-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(102, 126, 234, 0.3);
    background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
}
#recalculateBtn:active, .recalculate-btn:active {
    transform: translateY(0);
}

/* Resultados */
.result-section {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e2e8f0;
}

.result-section:last-child {
    border-bottom: none;
}

.result-section h3 {
    color: #4a5568;
    margin-bottom: 15px;
    font-size: 1.2rem;
    font-weight: 600;
}

.imc-display {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin-bottom: 10px;
}

.imc-number {
    font-size: 3rem;
    font-weight: 700;
    color: #667eea;
}

.imc-unit {
    font-size: 1.2rem;
    color: #718096;
    font-weight: 500;
}

.imc-category {
    font-size: 1.1rem;
    font-weight: 600;
    padding: 8px 16px;
    border-radius: 20px;
    display: inline-block;
    text-align: center;
}

.imc-category.underweight {
    background: #fed7d7;
    color: #c53030;
}

.imc-category.normal {
    background: #c6f6d5;
    color: #2f855a;
}

.imc-category.overweight {
    background: #fef5e7;
    color: #d69e2e;
}

.imc-category.obese {
    background: #fed7d7;
    color: #c53030;
}

.calories-info, .weight-loss-plan {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.calorie-item, .plan-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    background: #f8fafc;
    border-radius: 10px;
    border-left: 4px solid #667eea;
}

.calorie-item .label, .plan-item .label {
    font-weight: 500;
    color: #4a5568;
}

.calorie-item .value, .plan-item .value {
    font-weight: 700;
    color: #667eea;
    font-size: 1.1rem;
}

.calorie-item .unit, .plan-item .unit {
    color: #718096;
    font-size: 0.9rem;
    margin-left: 4px;
}

.recommendations {
    background: #f0f9ff;
    border: 1px solid #bae6fd;
    border-radius: 10px;
    padding: 20px;
}

.recommendations ul {
    list-style: none;
    padding: 0;
}

.recommendations li {
    padding: 8px 0;
    border-bottom: 1px solid #e0f2fe;
    position: relative;
    padding-left: 25px;
}

.recommendations li:last-child {
    border-bottom: none;
}

.recommendations li::before {
    content: "💡";
    position: absolute;
    left: 0;
    top: 8px;
}

.new-calc-btn {
    width: 100%;
    padding: 15px;
    background: #48bb78;
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 20px;
}

.new-calc-btn:hover {
    background: #38a169;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(72, 187, 120, 0.3);
}

footer {
    text-align: center;
    color: white;
    opacity: 0.8;
    font-size: 0.9rem;
}

.info-card {
    background: white;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    margin: 32px auto;
    max-width: 900px;
    width: 100%;
    text-align: left;
    color: #333;
}

.info-section {
    padding: 40px 32px 32px 32px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    color: #333;
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.card, .info-card, .result-card, .amortization-section, .comparison-section, .info-section {
    /* ...otros estilos... */
}

.card ol, .card ul,
.info-card ol, .info-card ul,
.result-card ol, .result-card ul,
.amortization-section ol, .amortization-section ul,
.comparison-section ol, .comparison-section ul,
.info-section ol, .info-section ul {
    margin-left: 0;
    padding-left: 1.2em;
    list-style-position: inside;
}

/* Responsive */
@media (max-width: 768px) {
    main {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    header h1 {
        font-size: 2rem;
    }
    
    .calculator-card, .results-card {
        padding: 20px;
    }
    
    .imc-number {
        font-size: 2.5rem;
    }
    
    .calorie-item, .plan-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }

    .info-card {
        padding: 18px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 15px;
    }
    
    header h1 {
        font-size: 1.8rem;
    }
    
    .calculator-card, .results-card {
        padding: 15px;
    }
}

@media (max-width: 900px) {
    .info-section {
        padding: 20px 10px;
        max-width: 100%;
    }
} 

.info-section {
    color: #fff !important;
    background: #222 !important;
}

.results-card {
    color: #fff !important;
    background: #222 !important;
}

.recommendations {
    color: #fff !important;
    background: #333 !important;
    border: 1px solid #667eea;
}

.recommendations li {
    color: #fff !important;
}

.result-section h3,
.calculator-card h2,
.results-card h2 {
    color: #fff !important;
}

.calorie-item, .plan-item {
    background: #444 !important;
    color: #fff !important;
    border-left: 4px solid #667eea;
}

.calorie-item .label, .plan-item .label {
    color: #fff !important;
}

.calorie-item .value, .plan-item .value {
    color: #90cdf4 !important;
}

.calorie-item .unit, .plan-item .unit {
    color: #cbd5e1 !important;
}

.imc-number {
    color: #90cdf4 !important;
}

.imc-unit {
    color: #cbd5e1 !important;
} 