/**
 * Safeguarding Support Card Styles (Track 3 / CORR-01)
 * 
 * Calm blue styling per CORR-01 spec:
 * - Never alarming or panic-inducing
 * - Clear hierarchy (message > helplines > actions)
 * - Accessible touch targets (>= 48px)
 * - High contrast ratios (WCAG AA)
 */

.safeguarding-card {
    background: #E8F4F8;  /* Calm blue background */
    border: 2px solid #4A90A4;  /* Blue border */
    border-radius: 8px;
    padding: 24px;
    margin: 16px auto;
    max-width: 600px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.safeguarding-message {
    font-size: 18px;
    line-height: 1.6;
    color: #1B3A6B;  /* Dark blue for readability */
    margin: 0 0 20px 0;
    font-weight: 500;
}

.safeguarding-helplines {
    background: white;
    border-radius: 6px;
    padding: 16px;
    margin: 16px 0;
}

.safeguarding-helplines h3 {
    font-size: 16px;
    font-weight: 600;
    color: #1B3A6B;
    margin: 0 0 12px 0;
}

.safeguarding-helplines-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.safeguarding-helpline-item {
    padding: 8px 0;
    font-size: 16px;
    line-height: 1.5;
    color: #2C3E50;
}

.safeguarding-helpline-item strong {
    display: block;
    font-weight: 600;
    color: #1B3A6B;
}

.safeguarding-helpline-number {
    font-weight: 600;
    color: #4A90A4;
    font-size: 18px;
}

.safeguarding-helpline-region {
    font-size: 14px;
    color: #666;
    margin-left: 8px;
}

.safeguarding-read-btn {
    background: #4A90A4;
    color: white;
    border: none;
    border-radius: 6px;
    padding: 12px 24px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    min-height: 48px;  /* WCAG touch target */
    min-width: 100px;
    margin: 16px 0;
    transition: background 0.2s;
}

.safeguarding-read-btn:hover,
.safeguarding-read-btn:focus {
    background: #3A7A8A;
    outline: 2px solid #1B3A6B;
    outline-offset: 2px;
}

.safeguarding-actions {
    display: flex;
    gap: 12px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.safeguarding-action-btn {
    flex: 1;
    min-width: 200px;
    background: white;
    color: #1B3A6B;
    border: 2px solid #4A90A4;
    border-radius: 6px;
    padding: 14px 20px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    min-height: 48px;  /* WCAG touch target */
    transition: all 0.2s;
    text-align: center;
}

.safeguarding-action-btn:hover,
.safeguarding-action-btn:focus {
    background: #4A90A4;
    color: white;
    outline: 2px solid #1B3A6B;
    outline-offset: 2px;
}

/* Mobile responsive */
@media (max-width: 600px) {
    .safeguarding-card {
        margin: 12px;
        padding: 20px;
    }
    
    .safeguarding-actions {
        flex-direction: column;
    }
    
    .safeguarding-action-btn {
        width: 100%;
        min-width: unset;
    }
}

/* Dark theme support */
[data-theme="dark"] .safeguarding-card {
    background: #1A2F3F;
    border-color: #4A90A4;
}

[data-theme="dark"] .safeguarding-message {
    color: #E8F4F8;
}

[data-theme="dark"] .safeguarding-helplines {
    background: #0F1F2A;
}

[data-theme="dark"] .safeguarding-helplines h3 {
    color: #E8F4F8;
}

[data-theme="dark"] .safeguarding-helpline-item {
    color: #B0C4D4;
}

[data-theme="dark"] .safeguarding-helpline-item strong {
    color: #E8F4F8;
}

[data-theme="dark"] .safeguarding-action-btn {
    background: #0F1F2A;
    color: #E8F4F8;
    border-color: #4A90A4;
}

[data-theme="dark"] .safeguarding-action-btn:hover,
[data-theme="dark"] .safeguarding-action-btn:focus {
    background: #4A90A4;
    color: #0F1F2A;
}
