/* ============================================
   WWWN Modern Gallery Styles
   Version: 2.0
   ============================================ */

/* ============================================
   GALLERY CONTAINER
   ============================================ */
.modern-gallery {
    padding: 40px 0;
}

.gallery-header {
    text-align: center;
    margin-bottom: 50px;
}

.gallery-header h1 {
    font-family: 'Gilda Display', serif;
    font-size: 2.5rem;
    color: var(--color-dark, #1e232b);
    margin-bottom: 15px;
}

.gallery-header p {
    font-size: 1.1rem;
    color: var(--color-gray, #626974);
    max-width: 600px;
    margin: 0 auto;
}

/* ============================================
   FILTER SECTION
   ============================================ */
.gallery-controls {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    margin-bottom: 50px;
    padding: 30px;
    background: var(--color-cream, #FFF8F0);
    border-radius: 16px;
}

body.dark-mode .gallery-controls {
    background: #2a1f38;
}

.filter-group {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.filter-group-label {
    font-family: 'Cinzel', serif;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--color-gray, #626974);
}

.filter-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
}

.filter-btn {
    padding: 10px 20px;
    border: 2px solid var(--color-primary, #7E3E97);
    background: transparent;
    color: var(--color-primary, #7E3E97);
    border-radius: 25px;
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.filter-btn:hover {
    background: var(--color-lavender, #CEB6D8);
    border-color: var(--color-lavender, #CEB6D8);
    color: var(--color-dark, #1e232b);
}

.filter-btn.active {
    background: var(--color-primary, #7E3E97);
    color: white;
}

.filter-btn .count {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 0.75rem;
    margin-left: 6px;
}

.filter-btn.active .count {
    background: rgba(255, 255, 255, 0.3);
}

/* ============================================
   GALLERY GRID - MODERN MASONRY
   ============================================ */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 24px;
    padding: 0 20px;
}

.gallery-item {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}

body.dark-mode .gallery-item {
    background: #2a1f38;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.gallery-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(126, 62, 151, 0.2);
}

.gallery-item.featured {
    grid-column: span 2;
}

@media (max-width: 768px) {
    .gallery-item.featured {
        grid-column: span 1;
    }
}

/* Image Container */
.gallery-image-container {
    position: relative;
    aspect-ratio: 4/3;
    overflow: hidden;
}

.gallery-item.featured .gallery-image-container {
    aspect-ratio: 16/9;
}

.gallery-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.gallery-item:hover .gallery-image {
    transform: scale(1.08);
}

/* Overlay */
.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        to top,
        rgba(30, 35, 43, 0.95) 0%,
        rgba(30, 35, 43, 0.5) 40%,
        transparent 100%
    );
    opacity: 0;
    transition: opacity 0.4s ease;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 24px;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

/* View Icon */
.gallery-view-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.5);
    width: 60px;
    height: 60px;
    background: var(--color-primary, #7E3E97);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.4s ease;
}

.gallery-item:hover .gallery-view-icon {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

.gallery-view-icon svg {
    width: 24px;
    height: 24px;
    fill: white;
}

/* ============================================
   GALLERY ITEM INFO
   ============================================ */
.gallery-info {
    padding: 20px;
    background: white;
}

body.dark-mode .gallery-info {
    background: #2a1f38;
}

.gallery-caption {
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    font-weight: 500;
    color: var(--color-dark, #1e232b);
    margin-bottom: 12px;
    line-height: 1.5;
}

body.dark-mode .gallery-caption {
    color: #f5f5f5;
}

.gallery-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.gallery-tag {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.gallery-tag.country {
    background: var(--color-lavender, #CEB6D8);
    color: var(--color-deep-purple, #4A1C6B);
}

.gallery-tag.event {
    background: var(--color-gold, #C9A227);
    color: var(--color-dark, #1e232b);
}

.gallery-tag.date {
    background: #e8e8e8;
    color: var(--color-gray, #626974);
}

body.dark-mode .gallery-tag.date {
    background: #3d2e4a;
    color: #b0a8b8;
}

/* Featured Badge */
.featured-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    background: var(--color-gold, #C9A227);
    color: var(--color-dark, #1e232b);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 4px;
}

.featured-badge::before {
    content: '⭐';
    font-size: 0.8rem;
}

/* ============================================
   LIGHTBOX - MODERN DESIGN
   ============================================ */
.modern-lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 10000;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modern-lightbox.active {
    display: flex;
    opacity: 1;
}

.lightbox-container {
    display: flex;
    width: 100%;
    height: 100%;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
}

.lightbox-content {
    display: flex;
    max-width: 1400px;
    width: 100%;
    max-height: 90vh;
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.5);
}

body.dark-mode .lightbox-content {
    background: #1e1429;
}

.lightbox-image-section {
    flex: 1;
    background: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    min-height: 400px;
}

.lightbox-image {
    max-width: 100%;
    max-height: 80vh;
    object-fit: contain;
}

.lightbox-info-section {
    width: 350px;
    padding: 40px;
    display: flex;
    flex-direction: column;
    background: white;
}

body.dark-mode .lightbox-info-section {
    background: #1e1429;
}

.lightbox-caption {
    font-family: 'Gilda Display', serif;
    font-size: 1.5rem;
    color: var(--color-dark, #1e232b);
    margin-bottom: 20px;
    line-height: 1.4;
}

body.dark-mode .lightbox-caption {
    color: #f5f5f5;
}

.lightbox-details {
    flex: 1;
}

.lightbox-detail-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid #eee;
}

body.dark-mode .lightbox-detail-item {
    border-bottom-color: #3d2e4a;
}

.lightbox-detail-icon {
    width: 40px;
    height: 40px;
    background: var(--color-lavender, #CEB6D8);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.lightbox-detail-text {
    flex: 1;
}

.lightbox-detail-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--color-gray, #626974);
    margin-bottom: 2px;
}

.lightbox-detail-value {
    font-size: 1rem;
    font-weight: 500;
    color: var(--color-dark, #1e232b);
}

body.dark-mode .lightbox-detail-value {
    color: #f5f5f5;
}

/* Lightbox Navigation */
.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10;
}

.lightbox-nav:hover {
    background: var(--color-primary, #7E3E97);
    color: white;
}

.lightbox-nav.prev {
    left: 20px;
}

.lightbox-nav.next {
    right: 20px;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10;
}

.lightbox-close:hover {
    background: #dc3545;
    color: white;
}

/* ============================================
   GALLERY STATS BAR
   ============================================ */
.gallery-stats {
    display: flex;
    justify-content: center;
    gap: 40px;
    padding: 20px;
    margin-bottom: 30px;
    background: var(--color-primary, #7E3E97);
    border-radius: 12px;
}

.gallery-stat {
    text-align: center;
    color: white;
}

.gallery-stat-number {
    font-family: 'Gilda Display', serif;
    font-size: 2rem;
    font-weight: 700;
}

.gallery-stat-label {
    font-size: 0.85rem;
    opacity: 0.8;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ============================================
   NO RESULTS MESSAGE
   ============================================ */
.gallery-no-results {
    text-align: center;
    padding: 80px 20px;
    color: var(--color-gray, #626974);
}

.gallery-no-results-icon {
    font-size: 4rem;
    margin-bottom: 20px;
    opacity: 0.5;
}

.gallery-no-results h3 {
    font-family: 'Gilda Display', serif;
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: var(--color-dark, #1e232b);
}

body.dark-mode .gallery-no-results h3 {
    color: #f5f5f5;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */
@media (max-width: 1200px) {
    .lightbox-content {
        flex-direction: column;
    }
    
    .lightbox-info-section {
        width: 100%;
        padding: 24px;
    }
    
    .lightbox-image-section {
        min-height: 300px;
    }
}

@media (max-width: 992px) {
    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
        gap: 20px;
    }
    
    .gallery-controls {
        gap: 20px;
        padding: 20px;
    }
}

@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
        padding: 0 12px;
    }
    
    .gallery-item.featured {
        grid-column: span 2;
    }
    
    .gallery-info {
        padding: 12px;
    }
    
    .gallery-caption {
        font-size: 0.9rem;
    }
    
    .gallery-controls {
        flex-direction: column;
        gap: 15px;
    }
    
    .filter-buttons {
        max-width: 100%;
    }
    
    .filter-btn {
        padding: 8px 14px;
        font-size: 0.8rem;
    }
    
    .gallery-stats {
        gap: 20px;
    }
    
    .gallery-stat-number {
        font-size: 1.5rem;
    }
    
    .lightbox-nav {
        width: 40px;
        height: 40px;
    }
    
    .lightbox-nav.prev {
        left: 10px;
    }
    
    .lightbox-nav.next {
        right: 10px;
    }
}

@media (max-width: 576px) {
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .gallery-item.featured {
        grid-column: span 1;
    }
    
    .gallery-header h1 {
        font-size: 1.8rem;
    }
    
    .gallery-meta {
        gap: 6px;
    }
    
    .gallery-tag {
        padding: 3px 8px;
        font-size: 0.7rem;
    }
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.gallery-item {
    animation: fadeInUp 0.6s ease forwards;
    opacity: 0;
}

.gallery-item:nth-child(1) { animation-delay: 0.1s; }
.gallery-item:nth-child(2) { animation-delay: 0.15s; }
.gallery-item:nth-child(3) { animation-delay: 0.2s; }
.gallery-item:nth-child(4) { animation-delay: 0.25s; }
.gallery-item:nth-child(5) { animation-delay: 0.3s; }
.gallery-item:nth-child(6) { animation-delay: 0.35s; }
.gallery-item:nth-child(7) { animation-delay: 0.4s; }
.gallery-item:nth-child(8) { animation-delay: 0.45s; }
.gallery-item:nth-child(9) { animation-delay: 0.5s; }
.gallery-item:nth-child(n+10) { animation-delay: 0.55s; }

/* Lightbox animations */
.lightbox-content {
    animation: lightboxIn 0.4s ease forwards;
}

@keyframes lightboxIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* ============================================
   ADMIN MODE STYLES
   ============================================ */

/* Admin Controls in Header */
.gallery-admin-controls {
    margin-top: 20px;
}

.admin-toggle-btn {
    padding: 10px 24px;
    border: 2px solid var(--color-primary, #7E3E97);
    background: transparent;
    color: var(--color-primary, #7E3E97);
    border-radius: 25px;
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.admin-toggle-btn:hover {
    background: var(--color-lavender, #CEB6D8);
}

.admin-toggle-btn.active {
    background: var(--color-primary, #7E3E97);
    color: white;
}

/* Admin Bar */
.gallery-admin-bar {
    display: none;
    align-items: center;
    justify-content: center;
    gap: 16px;
    padding: 20px;
    margin-bottom: 30px;
    background: linear-gradient(135deg, var(--color-primary, #7E3E97), var(--color-deep-purple, #4A1C6B));
    border-radius: 12px;
    flex-wrap: wrap;
}

.admin-mode .gallery-admin-bar,
#modernGallery.admin-mode .gallery-admin-bar {
    display: flex;
}

.admin-btn {
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.admin-btn.add-btn {
    background: white;
    color: var(--color-primary, #7E3E97);
}

.admin-btn.add-btn:hover {
    background: var(--color-gold, #C9A227);
    color: var(--color-dark, #1e232b);
}

.admin-btn.reset-btn {
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.5);
    color: white;
}

.admin-btn.reset-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: white;
}

.admin-hint {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.85rem;
    font-style: italic;
}

/* Gallery Item Actions (Edit/Delete buttons) */
.gallery-item-actions {
    position: absolute;
    top: 10px;
    right: 10px;
    display: flex;
    gap: 8px;
    z-index: 10;
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.3s ease;
}

.admin-mode .gallery-item:hover .gallery-item-actions {
    opacity: 1;
    transform: translateY(0);
}

.item-action-btn {
    width: 40px;
    height: 40px;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.item-action-btn.edit-btn {
    background: white;
    color: var(--color-primary, #7E3E97);
}

.item-action-btn.edit-btn:hover {
    background: var(--color-primary, #7E3E97);
    color: white;
    transform: scale(1.1);
}

.item-action-btn.delete-btn {
    background: white;
    color: #dc3545;
}

.item-action-btn.delete-btn:hover {
    background: #dc3545;
    color: white;
    transform: scale(1.1);
}

/* Admin mode styling for gallery items */
.admin-mode .gallery-item {
    cursor: default;
}

.admin-mode .gallery-item::after {
    content: '';
    position: absolute;
    inset: 0;
    border: 3px dashed transparent;
    border-radius: 16px;
    transition: border-color 0.3s ease;
    pointer-events: none;
}

.admin-mode .gallery-item:hover::after {
    border-color: var(--color-primary, #7E3E97);
}

/* ============================================
   ADMIN MODAL STYLES
   ============================================ */
.gallery-admin-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 10001;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.gallery-admin-modal.active {
    display: flex;
}

.admin-modal-content {
    background: white;
    border-radius: 20px;
    max-width: 600px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.4);
    animation: modalIn 0.3s ease;
}

body.dark-mode .admin-modal-content {
    background: #1e1429;
}

@keyframes modalIn {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.admin-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px 30px;
    border-bottom: 1px solid #eee;
}

body.dark-mode .admin-modal-header {
    border-bottom-color: #3d2e4a;
}

.admin-modal-header h2 {
    font-family: 'Gilda Display', serif;
    font-size: 1.5rem;
    color: var(--color-dark, #1e232b);
    margin: 0;
}

body.dark-mode .admin-modal-header h2 {
    color: #f5f5f5;
}

.admin-modal-close {
    width: 40px;
    height: 40px;
    border: none;
    background: #f5f5f5;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

body.dark-mode .admin-modal-close {
    background: #3d2e4a;
    color: #f5f5f5;
}

.admin-modal-close:hover {
    background: #dc3545;
    color: white;
}

/* Form Styles */
.admin-modal-form {
    padding: 30px;
}

.form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    flex: 1;
}

.form-group.full-width {
    flex: 100%;
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--color-dark, #1e232b);
    font-size: 0.9rem;
}

body.dark-mode .form-group label {
    color: #f5f5f5;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: white;
}

body.dark-mode .form-group input,
body.dark-mode .form-group textarea,
body.dark-mode .form-group select {
    background: #2a1f38;
    border-color: #3d2e4a;
    color: #f5f5f5;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--color-primary, #7E3E97);
    box-shadow: 0 0 0 4px rgba(126, 62, 151, 0.1);
}

.form-group small {
    display: block;
    margin-top: 6px;
    color: var(--color-gray, #626974);
    font-size: 0.8rem;
}

.form-group textarea {
    resize: vertical;
    min-height: 80px;
}

/* Checkbox Styles */
.checkbox-group {
    padding-top: 10px;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-weight: 500;
}

.checkbox-label input[type="checkbox"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
    accent-color: var(--color-primary, #7E3E97);
}

.checkbox-text {
    color: var(--color-dark, #1e232b);
}

body.dark-mode .checkbox-text {
    color: #f5f5f5;
}

/* Form Actions */
.form-actions {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
    padding-top: 20px;
    border-top: 1px solid #eee;
    margin-top: 10px;
}

body.dark-mode .form-actions {
    border-top-color: #3d2e4a;
}

.btn-cancel,
.btn-save,
.btn-delete {
    padding: 12px 28px;
    border: none;
    border-radius: 8px;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-cancel {
    background: #f5f5f5;
    color: var(--color-gray, #626974);
}

body.dark-mode .btn-cancel {
    background: #3d2e4a;
    color: #b0a8b8;
}

.btn-cancel:hover {
    background: #e0e0e0;
}

body.dark-mode .btn-cancel:hover {
    background: #4a3a5a;
}

.btn-save {
    background: var(--color-primary, #7E3E97);
    color: white;
}

.btn-save:hover {
    background: var(--color-deep-purple, #4A1C6B);
    transform: translateY(-2px);
}

.btn-delete {
    background: #dc3545;
    color: white;
}

.btn-delete:hover {
    background: #c82333;
}

/* ============================================
   CONFIRM MODAL STYLES
   ============================================ */
.gallery-confirm-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 10002;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.gallery-confirm-modal.active {
    display: flex;
}

.confirm-modal-content {
    background: white;
    border-radius: 20px;
    padding: 40px;
    max-width: 400px;
    width: 100%;
    text-align: center;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.4);
    animation: modalIn 0.3s ease;
}

body.dark-mode .confirm-modal-content {
    background: #1e1429;
}

.confirm-icon {
    font-size: 4rem;
    margin-bottom: 20px;
}

.confirm-modal-content h3 {
    font-family: 'Gilda Display', serif;
    font-size: 1.5rem;
    color: var(--color-dark, #1e232b);
    margin-bottom: 10px;
}

body.dark-mode .confirm-modal-content h3 {
    color: #f5f5f5;
}

.confirm-modal-content p {
    color: var(--color-gray, #626974);
    margin-bottom: 30px;
}

.confirm-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
}

/* ============================================
   NOTIFICATION STYLES
   ============================================ */
.gallery-notification {
    position: fixed;
    bottom: 30px;
    right: 30px;
    padding: 16px 24px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    z-index: 10003;
    animation: notificationIn 0.4s ease;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
}

@keyframes notificationIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.gallery-notification.fade-out {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease;
}

.gallery-notification-success {
    background: #28a745;
    color: white;
}

.gallery-notification-error {
    background: #dc3545;
    color: white;
}

.gallery-notification-info {
    background: var(--color-primary, #7E3E97);
    color: white;
}

.notification-close {
    background: none;
    border: none;
    color: inherit;
    font-size: 1.2rem;
    cursor: pointer;
    opacity: 0.8;
    padding: 0;
    line-height: 1;
}

.notification-close:hover {
    opacity: 1;
}

/* ============================================
   RESPONSIVE ADMIN STYLES
   ============================================ */
@media (max-width: 768px) {
    .gallery-admin-bar {
        padding: 15px;
        gap: 10px;
    }
    
    .admin-btn {
        padding: 10px 16px;
        font-size: 0.85rem;
    }
    
    .admin-hint {
        width: 100%;
        text-align: center;
        font-size: 0.8rem;
    }
    
    .form-row {
        flex-direction: column;
        gap: 15px;
    }
    
    .admin-modal-content {
        max-height: 95vh;
    }
    
    .admin-modal-form {
        padding: 20px;
    }
    
    .form-actions {
        flex-direction: column;
    }
    
    .btn-cancel,
    .btn-save {
        width: 100%;
    }
    
    .gallery-notification {
        left: 20px;
        right: 20px;
        bottom: 20px;
    }
    
    .item-action-btn {
        width: 36px;
        height: 36px;
        font-size: 0.9rem;
    }
}

/* ============================================
   PRINT STYLES
   ============================================ */
@media print {
    .gallery-controls,
    .lightbox-overlay,
    .modern-lightbox,
    .gallery-admin-controls,
    .gallery-admin-bar,
    .gallery-admin-modal,
    .gallery-confirm-modal,
    .gallery-notification {
        display: none !important;
    }
    
    .gallery-grid {
        display: block;
    }
    
    .gallery-item {
        break-inside: avoid;
        margin-bottom: 20px;
    }
}
