/**
 * Shared consent modal styles
 * Used by both coach and parent consent modals
 */

/* Modal z-index for proper stacking (9999 is project standard for modals) */
.parent-athlete-consent-modal {
    z-index: 9999;
}

/* Parent consent modal body */
.parent-athlete-consent-modal .modal-body {
    padding: 20px;
}

.parent-athlete-consent-modal .coach-consent-disclosure {
    margin-top: 0;
}

/* Header styles */
.search-coach-warning-header {
    background-color: #EA5455;
    color: #ffffff;
    border-bottom: none;
}
.search-coach-warning-header .modal-title {
    color: #ffffff;
    font-weight: 500;
}
.search-coach-warning-header .close {
    color: #ffffff;
    opacity: 1;
    text-shadow: none;
}

/* Disclosure box */
.coach-consent-disclosure {
    background-color: #FFF8E1;
    border: 1px solid #FFE082;
    border-radius: 8px;
    padding: 20px;
    margin-top: 20px;
}
.coach-consent-disclosure h3 {
    font-size: 15px;
    font-weight: 600;
    color: #0D0D0D;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.coach-consent-disclosure p {
    font-size: 14px;
    line-height: 1.6;
    color: #333;
    margin-bottom: 10px;
}
.coach-consent-disclosure .tooltip-text {
    font-size: 13px;
    font-weight: 600;
    color: #737373;
    font-style: italic;
    display: flex;
    align-items: flex-start;
    gap: 5px;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #D8D8D8;
}

/* Checkbox section */
.coach-consent-checkbox {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 2px solid #D8D8D8;
}
.coach-consent-checkbox .checkbox {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}
.coach-consent-checkbox .checkbox input[type="checkbox"] {
    margin-top: 3px;
    width: 18px;
    height: 18px;
    cursor: pointer;
    flex-shrink: 0;
}
.coach-consent-checkbox label {
    font-size: 14px;
    font-weight: 600;
    color: #0D0D0D;
    line-height: 20px;
    cursor: pointer;
    margin-bottom: 0;
}
.coach-consent-checkbox .checkbox input[type="checkbox"]:checked + label::before {
    font-size: 11px;
    top: 2px;
}

/* Button styles */
.modal-search-coach-confirm {
    font-weight: normal !important;
    font-size: 13px !important;
}
.consent-modal .modal-footer .btn-success {
    background-color: #00882a;
    border-color: #00882a;
    transition: all 0.3s ease;
}
.consent-modal .modal-footer .btn-success:hover {
    color: #00882a;
    background-color: #FFF;
}
.consent-modal .modal-footer .btn-default {
    text-transform: uppercase;
}
.btn-disabled {
    pointer-events: none;
    opacity: 0.65;
}

/* Utility classes */
.coach-consent-ln-14 {
    line-height: 1.4 !important;
}
.coach-consent-tooltip-text {
    font-size: 14px !important;
    font-style: normal !important;
    font-weight: normal !important;
}
.coach-consent-alert-icon {
    width: 15px;
}
