/* ===== NOTICE/ANNOUNCEMENT MODAL STYLES ===== */

.notice-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.notice-modal-overlay.show {
    opacity: 1;
    visibility: visible;
}

.notice-modal-container {
    position: relative;
    background: var(--bg-primary, #ffffff);
    border-radius: 1.5rem;
    max-width: 900px;
    width: 100%;
    max-height: 90vh;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    transform: scale(0.9) translateY(20px);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.notice-modal-overlay.show .notice-modal-container {
    transform: scale(1) translateY(0);
}

/* Close Button */
.notice-modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 2.5rem;
    height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
    border: none;
    border-radius: 50%;
    color: white;
    cursor: pointer;
    z-index: 10;
    transition: all 0.2s ease;
}

.notice-modal-close:hover {
    background: rgba(0, 0, 0, 0.7);
    transform: scale(1.1);
}

.notice-modal-close i {
    width: 20px;
    height: 20px;
}

/* Modal Content */
.notice-modal-content {
    display: flex;
    flex-direction: column;
    max-height: 90vh;
}

/* Header - REMOVED */
.notice-modal-header {
    display: none !important;
}

/* Slides Container */
.notice-slides-container {
    position: relative;
    flex: 1;
    overflow-y: auto;
    background: var(--bg-primary, #ffffff);
    padding: 0;
    z-index: 1;
}

.notice-slide {
    display: none;
    padding: 0;
    animation: fadeIn 0.4s ease-in-out;
}

.notice-slide.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Image Container */
.notice-image-container {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.notice-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    background: white;
}

/* Date badge - REMOVED */
.notice-date-badge {
    display: none !important;
}

/* Notice Details - REMOVED */
.notice-details {
    display: none !important;
}

/* Navigation */
.notice-navigation {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 2rem;
    border-top: 1px solid var(--border-color, #E5E7EB);
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.notice-nav-btn {
    width: 2.5rem;
    height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-secondary, #F8F9FA);
    border: 1px solid var(--border-color, #E5E7EB);
    border-radius: 50%;
    color: var(--text-primary, #212529);
    cursor: pointer;
    transition: all 0.2s ease;
    z-index: 1000;
}

.notice-nav-btn:hover {
    background: var(--primary-color, #3B82F6);
    color: white;
    border-color: var(--primary-color, #3B82F6);
    transform: scale(1.1);
}

.notice-nav-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

.notice-nav-btn i {
    width: 20px;
    height: 20px;
}


.notice-nav-btn.notice-prev{
    position: absolute;
    top: 50%;
    left: 0;
}
.notice-nav-btn.notice-next{
    position: absolute;
    top: 50%;
    right: 0;
}
/* Indicators */
.notice-indicators {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1rem;
    border-radius: 1rem;
    background: #000000c4;
    position: absolute;
    z-index: 1000;
    bottom: 10px;
    left: 50%;
}

.notice-indicator {
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 50%;
    background: var(--border-color, #E5E7EB);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.notice-indicator:hover {
    background: var(--text-secondary, #6C757D);
    transform: scale(1.2);
}

.notice-indicator.active {
    width: 1.5rem;
    border-radius: 0.25rem;
    background: var(--primary-color, #3B82F6);
}

/* Footer - REMOVED */
.notice-modal-footer {
    display: none !important;
}

/* Responsive Design */
@media (max-width: 768px) {
    .notice-modal-container {
        max-height: 95vh;
        border-radius: 1rem;
    }

    .notice-navigation {
        padding: 1rem 1.5rem;
    }
}

@media (max-width: 480px) {
    .notice-modal-overlay {
        padding: 0.5rem;
    }

    .notice-modal-close {
        width: 2rem;
        height: 2rem;
    }

    .notice-modal-close i {
        width: 16px;
        height: 16px;
    }
}

/* Dark mode support */
[data-theme="dark"] .notice-modal-container {
    background: #1F2937;
}

[data-theme="dark"] .notice-slides-container {
    background: #111827;
}

[data-theme="dark"] .notice-navigation {
    background: #1F2937;
    border-top-color: #374151;
}

[data-theme="dark"] .notice-nav-btn {
    background: #374151;
    border-color: #4B5563;
    color: #F3F4F6;
}

[data-theme="dark"] .notice-nav-btn:hover {
    background: var(--primary-color, #3B82F6);
    border-color: var(--primary-color, #3B82F6);
}


