/* Announcement Modal System - TEC-11018 */

.cw-announcement-modal .modal-header {
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.cw-announcement-modal .modal-title .fa {
    margin-right: 8px;
}

/* Type-specific header colors */
.cw-announcement-modal__header--info {
    background-color: #d1ecf1;
    color: #0c5460;
}

.cw-announcement-modal__header--info .fa {
    color: #17a2b8;
}

.cw-announcement-modal__header--warning {
    background-color: #fff3cd;
    color: #856404;
}

.cw-announcement-modal__header--warning .fa {
    color: #ffc107;
}

.cw-announcement-modal__header--danger {
    background-color: #f8d7da;
    color: #721c24;
}

.cw-announcement-modal__header--danger .fa {
    color: #dc3545;
}

.cw-announcement-modal__header--success {
    background-color: #d4edda;
    color: #155724;
}

.cw-announcement-modal__header--success .fa {
    color: #28a745;
}

/* Close button in colored headers */
.cw-announcement-modal .modal-header .close {
    color: inherit;
    opacity: 0.7;
}

.cw-announcement-modal .modal-header .close:hover {
    opacity: 1;
}

.cw-announcement-modal .modal-body {
    padding: 20px;
    font-size: 14px;
    line-height: 1.6;
}

.cw-announcement-modal .modal-body a {
    text-decoration: underline;
    font-weight: 600;
}
