/* Reset e base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


.title {
    font-size: 3rem;
    font-weight: bold;
    color: #1f2937;
    margin-bottom: 1rem;
}

.subtitle {
    font-size: 1.5rem;
    color: #6b7280;
}

/* Calculator container */
.calculator-container {
    max-width: 28rem;
    margin: 0 auto;
}

.calculator-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 0.5rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    border: none;
}

.card-header {
    text-align: center;
    padding: 1.5rem 1.5rem 0;
}

.card-title {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    color: #1f2937;
    font-weight: 600;
}

.calculator-icon {
    width: 1.5rem;
    height: 1.5rem;
}

.card-content {
    padding: 1.5rem;
    padding-top: 1.5rem;
}

/* Input groups */
.input-group {
    margin-bottom: 1.5rem;
}

.input-label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    color: #374151;
    margin-bottom: 0.5rem;
}

.input-field {
    width: 100%;
    padding: 0.75rem;
    font-size: 1.125rem;
    height: 3rem;
    border: 1px solid #d1d5db;
    border-radius: 0.375rem;
    transition: border-color 0.2s ease;
}

.input-field:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.input-field.error {
    border-color: #ef4444;
}

.error-message {
    color: #ef4444;
    font-size: 0.875rem;
    margin-top: 0.25rem;
    display: none;
}

.error-message.show {
    display: block;
}

/* Buttons */
.button-container {
    margin-bottom: 1.5rem;
}

.calculate-button {
    width: 100%;
    background: linear-gradient(to right, #10b981, #2563eb);
    color: white;
    font-weight: 600;
    padding: 0.75rem;
    height: 3rem;
    font-size: 1.125rem;
    border: none;
    border-radius: 0.375rem;
    cursor: pointer;
    transition: all 0.2s ease;
    transform: scale(1);
    margin-bottom: 0.75rem;
}

.calculate-button:hover:not(:disabled) {
    background: linear-gradient(to right, #059669, #1d4ed8);
    transform: scale(1.05);
}

.calculate-button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: scale(1);
}

.reset-button {
    width: 100%;
    border: 2px solid #d1d5db;
    background: white;
    color: #374151;
    font-weight: 600;
    padding: 0.75rem;
    height: 3rem;
    border-radius: 0.375rem;
    cursor: pointer;
    transition: border-color 0.2s ease;
}

.reset-button:hover {
    border-color: #9ca3af;
}

/* Result container */
.result-container {
    margin-top: 1.5rem;
}

.result-card {
    background: linear-gradient(to right, #f9fafb, #f3f4f6);
    border-left: 4px solid #3b82f6;
    border-radius: 0.5rem;
    padding: 1.5rem;
}

.result-content {
    text-align: center;
}

.result-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.result-icon svg {
    width: 2rem;
    height: 2rem;
}

.result-imc {
    font-size: 1.875rem;
    font-weight: bold;
    color: #1f2937;
    margin-bottom: 0.5rem;
}

.result-classification {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.recommendation-section {
    background: white;
    padding: 1rem;
    border-radius: 0.5rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    margin-bottom: 1rem;
}

.recommendation-title {
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 0.5rem;
}

.recommendation-text {
    font-size: 0.875rem;
    color: #6b7280;
    line-height: 1.6;
}

.links-section {
    background: white;
    padding: 1rem;
    border-radius: 0.5rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    margin-bottom: 1rem;
}

.links-title {
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 0.75rem;
}

.link-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.5rem;
    border-radius: 0.375rem;
    border: 1px solid #e5e7eb;
    margin-bottom: 0.5rem;
    text-decoration: none;
    color: inherit;
    transition: background-color 0.2s ease;
}

.link-item:hover {
    background-color: #f9fafb;
}

.link-content {
    text-align: left;
}

.link-title {
    font-weight: 500;
    color: #2563eb;
    font-size: 0.875rem;
}

.link-description {
    font-size: 0.75rem;
    color: #6b7280;
}

.link-icon {
    width: 1rem;
    height: 1rem;
    color: #9ca3af;
}

.disclaimer {
    font-size: 0.75rem;
    color: #6b7280;
    margin-top: 1rem;
    text-align: center;
}

.disclaimer p {
    margin-bottom: 0.25rem;
}

/* Color classes */
.text-green-600 { color: #16a34a; }
.text-blue-600 { color: #2563eb; }
.text-yellow-600 { color: #ca8a04; }
.text-red-600 { color: #dc2626; }
.text-gray-600 { color: #6b7280; }

/* Responsive */
@media (max-width: 768px) {
    .title {
        font-size: 2rem;
    }
    
    .subtitle {
        font-size: 1.25rem;
    }
    
    .container {
        padding: 1rem;
    }
}