/* Blood Pressure Calculator Specific Styles */

/* Row and Column Layout */
.row {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 16px;
}

.col {
    flex: 1;
    min-width: 200px;
}

/* Input hints */
.input-hint {
    display: block;
    font-size: 0.85rem;
    color: #666;
    margin-top: 4px;
}

/* Calculator intro text */
.calculator-intro {
    color: #555;
    margin-bottom: 24px;
    line-height: 1.6;
}

/* Medical Disclaimer */
.disclaimer {
    background-color: #fef3c7;
    border: 1px solid #f59e0b;
    border-radius: 8px;
    padding: 16px;
    margin-top: 24px;
    font-size: 0.9rem;
    color: #92400e;
    line-height: 1.5;
}

.disclaimer strong {
    color: #78350f;
}

/* BP Category Colors */
.bp-normal {
    background-color: #10b981;
    color: #fff;
}

.bp-elevated {
    background-color: #fbbf24;
    color: #1f2937;
}

.bp-high-1 {
    background-color: #f97316;
    color: #fff;
}

.bp-high-2 {
    background-color: #ef4444;
    color: #fff;
}

.bp-crisis {
    background-color: #991b1b;
    color: #fff;
}

/* Category badge */
.bp-category-badge {
    display: inline-block;
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 1.1rem;
    margin: 8px 0;
}

/* Reading display */
.bp-reading {
    font-size: 2rem;
    font-weight: 700;
    color: #1f2937;
    margin: 16px 0;
}

.bp-reading .unit {
    font-size: 1rem;
    font-weight: 400;
    color: #6b7280;
}

/* Pulse display */
.pulse-info {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid #e5e7eb;
    color: #4b5563;
}

.pulse-info strong {
    color: #1f2937;
}

/* Recommendations */
.bp-recommendations {
    margin-top: 16px;
    padding: 16px;
    background-color: #f3f4f6;
    border-radius: 8px;
    text-align: left;
}

.bp-recommendations h4 {
    margin: 0 0 12px 0;
    color: #374151;
    font-size: 1rem;
}

.bp-recommendations ul {
    margin: 0;
    padding-left: 20px;
}

.bp-recommendations li {
    margin-bottom: 8px;
    color: #4b5563;
    line-height: 1.5;
}

/* BP Chart reference */
.bp-chart {
    margin-top: 20px;
    padding: 16px;
    background-color: #f9fafb;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
}

.bp-chart h4 {
    margin: 0 0 12px 0;
    color: #374151;
    font-size: 0.95rem;
}

.bp-chart-row {
    display: flex;
    align-items: center;
    padding: 6px 0;
    font-size: 0.85rem;
}

.bp-chart-color {
    width: 16px;
    height: 16px;
    border-radius: 4px;
    margin-right: 10px;
    flex-shrink: 0;
}

.bp-chart-label {
    flex: 1;
    color: #374151;
}

.bp-chart-range {
    color: #6b7280;
    font-size: 0.8rem;
}

/* Animation for results */
.fade-in {
    animation: fadeIn 0.5s forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive adjustments */
@media (max-width: 480px) {
    .bp-reading {
        font-size: 1.5rem;
    }

    .bp-category-badge {
        font-size: 1rem;
        padding: 6px 12px;
    }

    .bp-chart-row {
        flex-wrap: wrap;
    }

    .bp-chart-range {
        width: 100%;
        padding-left: 26px;
        margin-top: 2px;
    }
}
