/* ==========================================================================
   SAFETY GUIDELINES / NOTICE CARDS SLIDER & MODAL (notice_cards.css)
   ========================================================================== */
.safety-guidelines-section {
    position: relative;
    width: 100%;
    background: linear-gradient(180deg, #50041B 0%, #6E082B 50%, #460317 100%);
    border-top: 2px solid #E5A93C;
    border-bottom: 2px solid #E5A93C;
    box-shadow: 0 10px 30px rgba(74, 8, 26, 0.35);
    z-index: 15;
    margin: 0;
    overflow: hidden;
}

/* NOTICE SLIDER / CARDS CONTAINER */
.safety-guidelines-section .notice-slider-container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 24px 20px 28px 20px;
}

.notice-slider-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
    flex-wrap: wrap;
    gap: 12px;
}

.notice-mini-label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #FFE89C;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.8px;
    text-transform: uppercase;
}

.notice-main-heading {
    color: #FFFFFF;
    font-size: 20px;
    font-weight: 700;
    margin: 4px 0 0 0;
    font-family: 'Poppins', sans-serif;
    letter-spacing: 0.2px;
}

.notice-slider-nav-btns {
    display: flex;
    align-items: center;
    gap: 8px;
}

.notice-nav-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(229, 169, 60, 0.35);
    color: #FFE89C;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 13px;
    transition: all 0.2s ease;
}

.notice-nav-btn:hover {
    background: #E5A93C;
    color: #4A0518;
    border-color: #E5A93C;
    transform: scale(1.08);
    box-shadow: 0 0 12px rgba(229, 169, 60, 0.45);
}

/* CARDS VIEWPORT & TRACK */
.notice-cards-viewport {
    overflow: hidden;
    width: 100%;
    position: relative;
    border-radius: 12px;
    padding: 4px 2px;
}

.notice-cards-track {
    display: flex;
    gap: 16px;
    transition: transform 0.45s cubic-bezier(0.2, 0.8, 0.2, 1);
    will-change: transform;
}

/* INDIVIDUAL NOTICE CARD */
.notice-card-slide {
    flex: 0 0 350px;
    max-width: 350px;
    background: #FFFFFF;
    border-radius: 14px;
    padding: 16px 18px;
    border: 1.5px solid rgba(229, 169, 60, 0.45);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.22);
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 175px;
    position: relative;
    overflow: hidden;
}

.notice-card-slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #E5A93C, #AD1457);
}

.notice-card-slide:hover {
    transform: translateY(-4px);
    border-color: #E5A93C;
    box-shadow: 0 14px 32px rgba(0, 0, 0, 0.35);
}

.notice-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 12px;
}

.notice-tag-badge {
    background: rgba(16, 185, 129, 0.1);
    color: #059669;
    border: 1px solid rgba(16, 185, 129, 0.25);
    font-size: 11px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.notice-tag-category {
    font-size: 11px;
    color: #880E4F;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 180px;
}

.notice-card-middle {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    margin-bottom: 12px;
}

.notice-icon-circle {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    background: linear-gradient(135deg, #FFF0F5 0%, #FCE4EC 100%);
    color: #AD1457;
    border: 1px solid rgba(173, 20, 87, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
    box-shadow: 0 3px 8px rgba(173, 20, 87, 0.1);
}

.notice-text-col {
    flex: 1;
    min-width: 0;
}

.notice-heading {
    font-size: 14px;
    font-weight: 700;
    color: #1F2937;
    margin: 0 0 5px 0;
    line-height: 1.35;
}

.notice-summary {
    font-size: 12.5px;
    color: #4B5563;
    line-height: 1.5;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.notice-card-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 10px;
    border-top: 1px dashed rgba(0, 0, 0, 0.08);
}

.notice-link-btn {
    font-size: 11.5px;
    font-weight: 700;
    color: #AD1457;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: gap 0.2s;
}

.notice-card-slide:hover .notice-link-btn {
    gap: 7px;
}

.notice-verified-mark {
    font-size: 11px;
    font-weight: 600;
    color: #10B981;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

/* POPUP MODAL STYLES */
.notice-modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.78);
    backdrop-filter: blur(6px);
    z-index: 99999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.notice-modal-backdrop.is-open {
    display: flex;
    animation: noticeModalFadeIn 0.25s ease;
}

@keyframes noticeModalFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.notice-modal-dialog {
    background: #FFFFFF;
    border-radius: 18px;
    max-width: 720px;
    width: 100%;
    max-height: 88vh;
    display: flex;
    flex-direction: column;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.45);
    border: 2px solid #E5A93C;
    overflow: hidden;
    animation: noticeModalPop 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes noticeModalPop {
    from { opacity: 0; transform: scale(0.92) translateY(15px); }
    to { opacity: 1; transform: scale(1) translateY(0); }
}

.notice-modal-header {
    background: linear-gradient(135deg, #7A0C36 0%, #AD1457 100%);
    color: #FFFFFF;
    padding: 18px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 2px solid #E5A93C;
}

.notice-modal-title-row {
    display: flex;
    align-items: center;
    gap: 14px;
}

.notice-modal-icon-badge {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #FFE89C;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}

.notice-modal-header h3 {
    margin: 0;
    font-size: 17px;
    font-weight: 700;
    color: #FFFFFF;
}

.notice-modal-header p {
    margin: 3px 0 0 0;
    font-size: 12px;
    color: #FFE89C;
    opacity: 0.95;
}

.notice-modal-close {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    border: none;
    color: #FFFFFF;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
}

.notice-modal-close:hover {
    background: rgba(239, 68, 68, 0.85);
    transform: rotate(90deg);
}

.notice-modal-body {
    padding: 22px 24px;
    overflow-y: auto;
    max-height: calc(88vh - 150px);
    background: #FAF8F9;
}

.notice-modal-item-card {
    background: #FFFFFF;
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 14px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    display: flex;
    gap: 14px;
}

.notice-modal-item-card.is-highlighted {
    border: 2px solid #E5A93C;
    background: #FFFDF7;
}

.notice-modal-item-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: rgba(173, 20, 87, 0.1);
    color: #AD1457;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
}

.notice-modal-item-title {
    font-size: 14.5px;
    font-weight: 700;
    color: #880E4F;
    margin: 0 0 4px 0;
}

.notice-modal-item-desc {
    font-size: 13.5px;
    color: #374151;
    line-height: 1.6;
    margin: 0;
}

.notice-modal-cat-heading {
    font-size: 14px;
    font-weight: 800;
    color: #6B0829;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin: 18px 0 10px 0;
    padding-bottom: 6px;
    border-bottom: 2px solid rgba(173, 20, 87, 0.2);
    display: flex;
    align-items: center;
    gap: 8px;
}

.notice-modal-cat-heading:first-child {
    margin-top: 0;
}

.notice-modal-footer {
    background: #FFFFFF;
    padding: 14px 24px;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}

.notice-modal-note {
    font-size: 12px;
    color: #6B7280;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.btn-modal-got-it {
    background: linear-gradient(135deg, #AD1457 0%, #D81B60 100%);
    color: #FFFFFF;
    border: none;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-modal-got-it:hover {
    background: linear-gradient(135deg, #880E4F 0%, #C2185B 100%);
    box-shadow: 0 3px 10px rgba(173, 20, 87, 0.3);
}

@media (max-width: 768px) {
    .notice-card-slide {
        flex: 0 0 290px;
        max-width: 290px;
    }
    .notice-main-heading {
        font-size: 16px;
    }
    .safety-guidelines-section .notice-slider-container {
        padding: 16px 14px 20px 14px;
    }
}
