/* Dashboard Modern Styling */
.admin-section {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
    overflow: hidden;
    border: 1px solid #e2e8f0;
}

/* Fix for product images not displaying */
.no-image-found {
    min-height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f5f5f5;
    color: #888;
    font-size: 14px;
    border-radius: 8px;
    object-fit: contain;
}

.product-image img {
    max-height: 250px;
    width: 100%;
    object-fit: cover;
}

.section-header {
    background: linear-gradient(135deg, #d2691e, #ff8c42);
    color: white;
    padding: 1.5rem 2rem;
    border-bottom: 1px solid #e2e8f0;
}

.section-header h2 {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.section-header i {
    font-size: 1.25rem;
}

.form-container {
    padding: 2rem;
}

.modern-form {
    max-width: 100%;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-group label {
    font-weight: 600;
    color: #374151;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.form-group input,
.form-group textarea,
.form-group select {
    padding: 0.75rem;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background-color: #f9fafb;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: #d2691e;
    background-color: white;
    box-shadow: 0 0 0 3px rgba(210, 105, 30, 0.1);
}

.form-text {
    font-size: 0.875rem;
    color: #6b7280;
    margin-top: 0.25rem;
    display: block;
}

.alert {
    padding: 1rem 1.5rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 500;
}

.alert-success {
    background-color: #d1fae5;
    border: 1px solid #10b981;
    color: #065f46;
}

.alert-error {
    background-color: #fee2e2;
    border: 1px solid #ef4444;
    color: #991b1b;
}

/* Jadwal Event Styling */
.event-list {
    max-width: 800px;
    margin: 0 auto;
}

.event-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
    overflow: hidden;
    border: 1px solid #e2e8f0;
    position: relative;
    transition: all 0.3s ease;
}

.event-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.event-header {
    padding: 1.5rem 2rem 1rem 2rem;
    border-bottom: 1px solid #f1f5f9;
}

.event-header h3 {
    margin: 0 0 1rem 0;
    color: #1e293b;
    font-size: 1.5rem;
    font-weight: 600;
}

.event-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin: 0;
}

.event-meta span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #64748b;
    font-size: 0.9rem;
}

.event-meta i {
    color: #d2691e;
}

.event-description {
    padding: 1rem 2rem 1.5rem 2rem;
}

.event-description p {
    color: #475569;
    line-height: 1.6;
    margin: 0;
}

/* Admin Actions for Berita Cards */
.admin-actions {
    display: flex;
    gap: 0.5rem;
    justify-content: flex-end;
    margin-bottom: 1rem;
    padding-top: 0.5rem;
}

.btn-edit {
    background: #3b82f6;
    color: white;
    border: none;
    padding: 0.4rem 0.6rem;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    min-width: 32px;
    height: 32px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.btn-edit:hover {
    background: #2563eb;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(59, 130, 246, 0.3);
}

.delete-form {
    position: relative;
    top: 0;
    right: 0;
    display: inline;
}

.btn-delete {
    background: #ef4444;
    color: white;
    border: none;
    padding: 0.4rem 0.6rem;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    min-width: 32px;
    height: 32px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.btn-delete:hover {
    background: #dc2626;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(239, 68, 68, 0.3);
}

/* Page Header Centered */
.page-header-centered {
    background: linear-gradient(135deg, #d2691e, #cd853f);
    text-align: center;
    margin: 0 -2rem 3rem -2rem;
    padding: 3rem 2rem;
    border-radius: 0 0 20px 20px;
    color: white;
}

.page-title-centered {
    font-size: 2.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.page-title-centered i {
    color: white;
    margin-right: 1rem;
    font-size: 2.2rem;
}

.page-subtitle {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
    font-weight: 400;
}

.btn-add-centered {
    background: transparent;
    color: white;
    border: 2px solid white;
    padding: 0.75rem 2rem;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-add-centered:hover {
    background: white;
    color: #d2691e;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 255, 255, 0.3);
}

.btn-add-centered i {
    margin-right: 0.5rem;
}

.product-actions {
    display: flex;
    justify-content: flex-end;
    margin-top: 0.75rem;
}

.no-events {
    text-align: center;
    padding: 4rem 2rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.no-events i {
    font-size: 4rem;
    color: #d2691e;
    margin-bottom: 1rem;
}

.no-events h3 {
    color: #1e293b;
    margin-bottom: 0.5rem;
}

.no-events p {
    color: #64748b;
    margin-bottom: 2rem;
}

/* Event Modal Styling */
.event-form {
    padding: 0;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
    border-bottom: 1px solid #e2e8f0;
    background: linear-gradient(135deg, #d2691e, #ff8c42);
    color: white;
}

.modal-header h2 {
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.modal-header .close-btn {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.modal-header .close-btn:hover {
    background: rgba(255, 255, 255, 0.3);
}

.event-form .form-group {
    margin-bottom: 1.5rem;
}

.event-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.event-form label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    color: #374151;
    margin-bottom: 0.5rem;
}

.event-form input,
.event-form textarea {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background-color: #f9fafb;
}

.event-form input:focus,
.event-form textarea:focus {
    outline: none;
    border-color: #d2691e;
    background-color: white;
    box-shadow: 0 0 0 3px rgba(210, 105, 30, 0.1);
}

.form-actions {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
    padding-top: 1rem;
    border-top: 1px solid #e2e8f0;
}

.cancel-btn {
    background: #6b7280 !important;
    color: white;
}

.cancel-btn:hover {
    background: #4b5563 !important;
}

/* Responsive Design for Events */
@media (max-width: 768px) {
    .event-header {
        padding: 1rem;
    }
    
    .event-description {
        padding: 1rem;
    }
    
    .event-meta {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .event-form .form-row {
        grid-template-columns: 1fr;
    }
    
    .form-actions {
        flex-direction: column;
    }
    
    .delete-form {
        top: 0.5rem;
        right: 0.5rem;
    }
}

.file-input {
    padding: 0.5rem !important;
    background-color: white !important;
}

.current-image,
.current-file {
    margin-top: 1rem;
    padding: 1rem;
    background-color: #f8f9fa;
    border-radius: 8px;
    border: 1px solid #e9ecef;
}

.preview-image {
    max-width: 200px;
    height: auto;
    border-radius: 8px;
    margin-top: 0.5rem;
}

.form-actions {
    display: flex;
    gap: 1rem;
    justify-content: flex-start;
}

.btn {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.btn-primary {
    background: linear-gradient(135deg, #d2691e, #ff8c42);
    color: white;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #bf5f1a, #e67e3a);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(210, 105, 30, 0.3);
}

.btn-secondary {
    background: #6b7280;
    color: white;
}

.btn-secondary:hover {
    background: #4b5563;
    transform: translateY(-2px);
}

.btn-danger {
    background: #e74c3c;
    color: #fff;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.btn-danger:hover {
    background: #c0392b;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(231, 76, 60, 0.3);
}

.btn-edit {
    background: #10b981;
    color: white;
    font-size: 0.875rem;
    padding: 0.5rem 1rem;
}

.btn-edit:hover {
    background: #059669;
    transform: translateY(-1px);
}

.btn-delete {
    background: #ef4444;
    color: white;
    font-size: 0.875rem;
    padding: 0.5rem 1rem;
}

.btn-delete:hover {
    background: #dc2626;
    transform: translateY(-1px);
}

.table-container {
    padding: 2rem;
    overflow-x: auto;
}

.modern-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.modern-table thead {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
}

.modern-table th {
    padding: 1rem;
    text-align: left;
    font-weight: 600;
    color: #374151;
    border-bottom: 2px solid #e5e7eb;
}

.modern-table td {
    padding: 1rem;
    border-bottom: 1px solid #f3f4f6;
    vertical-align: middle;
}

.modern-table tr:hover {
    background-color: #fef7f0;
}

.title-cell {
    max-width: 300px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.image-cell {
    text-align: center;
}

.table-image {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 8px;
    border: 2px solid #e5e7eb;
}

.no-image {
    color: #9ca3af;
    font-style: italic;
    font-size: 0.875rem;
}

.action-cell {
    white-space: nowrap;
}

.action-cell .btn {
    margin-right: 0.5rem;
}

.no-data {
    text-align: center;
    color: #9ca3af;
    font-style: italic;
    padding: 2rem !important;
}

.media-type-badge {
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

.media-type-badge.foto {
    background-color: #dbeafe;
    color: #1e40af;
}

.media-type-badge.video {
    background-color: #fce7f3;
    color: #be185d;
}

/* Dashboard Header */
.dashboard-header {
    background: linear-gradient(135deg, #d2691e, #ff8c42);
    color: white;
    padding: 2rem;
    border-radius: 12px;
    margin-bottom: 2rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.welcome-section h1 {
    margin: 0 0 0.5rem 0;
    font-size: 2rem;
    font-weight: 700;
}

.welcome-section p {
    margin: 0;
    opacity: 0.9;
    font-size: 1.1rem;
}

.quick-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-top: 1.5rem;
}

.stat-item {
    background: rgba(255, 255, 255, 0.15);
    padding: 1rem;
    border-radius: 8px;
    text-align: center;
    -webkit-backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur();
    backdrop-filter: blur();
}

.stat-item i {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    display: block;
}

.stat-item .number {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0;
}

.stat-item .label {
    font-size: 0.9rem;
    opacity: 0.9;
    margin: 0;
}

/* Responsive Design for Dashboard */
@media (max-width: 768px) {
    .form-grid {
        grid-template-columns: 1fr;
    }
    
    .quick-stats {
        grid-template-columns: 1fr;
    }
    
    .dashboard-header {
        padding: 1.5rem;
    }
    
    .welcome-section h1 {
        font-size: 1.5rem;
    }
    
    .form-container,
    .table-container {
        padding: 1rem;
    }
    
    .action-cell .btn {
        display: block;
        margin-bottom: 0.5rem;
        margin-right: 0;
        text-align: center;
    }
}

/* Card Stats Section */
.stats-section {
    margin: 2rem 0;
}
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}
.stat-card {
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 4px 24px rgba(44,62,80,0.08);
    padding: 2rem 1rem;
    text-align: center;
    transition: box-shadow 0.3s, transform 0.3s;
    position: relative;
}
.stat-card:hover {
    box-shadow: 0 8px 32px rgba(210,105,30,0.18);
    transform: translateY(-4px) scale(1.03);
}
.stat-icon {
    font-size: 2.2rem;
    color: #d2691e;
    margin-bottom: 1rem;
}
.stat-content h3 {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    color: #2c3e50;
}
.stat-content p {
    font-size: 1rem;
    color: #7f8c8d;
}
@media (max-width: 900px) {
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
    .stats-grid { grid-template-columns: 1fr; }
}

/* Section Headers */
.berita-terkini {
    margin: 3rem 0;
}
.section-header {
    text-align: center;
    margin-bottom: 2rem;
}
.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: #2c3e50;
    margin-bottom: 0.5rem;
    letter-spacing: -0.02em;
}
.section-subtitle {
    font-size: 1.1rem;
    color: #7f8c8d;
    font-weight: 400;
    margin: 0;
}
.section-cta {
    text-align: center;
    margin-top: 2rem;
}
.btn-utama {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #d2691e;
    color: white;
    padding: 12px 24px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(210, 105, 30, 0.3);
}
.btn-utama:hover {
    background: #b8621a;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(210, 105, 30, 0.4);
}

/* Card Berita Terkini */
.berita-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin: 2rem 0;
}
.berita-card {
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 4px 24px rgba(44,62,80,0.08);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: box-shadow 0.3s, transform 0.3s;
    position: relative;
}
.berita-card:hover {
    box-shadow: 0 8px 32px rgba(210,105,30,0.18);
    transform: translateY(-4px) scale(1.03);
}
.card-image {
    position: relative;
    width: 100%;
    height: 180px;
    background: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.placeholder-image {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: #d2691e;
    background: #ffe082;
}
.card-overlay {
    position: absolute;
    top: 10px;
    left: 10px;
}
.category-tag {
    background: #d2691e;
    color: #fff;
    font-size: 0.8rem;
    padding: 4px 12px;
    border-radius: 8px;
    font-weight: 600;
}
.berita-card-content {
    padding: 1.2rem 1rem 1rem 1rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.berita-card-content h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin: 0.5rem 0 0.7rem 0;
    color: #2c3e50;
}
.berita-card-content .tanggal {
    font-size: 0.9rem;
    color: #7f8c8d;
    margin-bottom: 0.3rem;
    display: flex;
    align-items: center;
    gap: 6px;
}

.berita-card-content .views-counter {
    font-size: 0.85rem;
    color: #95a5a6;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 5px;
}

.berita-card-content .views-counter i {
    font-size: 0.8rem;
}
.berita-card-content .excerpt {
    font-size: 0.98rem;
    color: #444;
    margin-bottom: 1rem;
}
.btn-baca {
    align-self: flex-start;
    background: #d2691e;
    color: #fff;
    padding: 8px 18px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: background 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.btn-baca:hover {
    background: #b8621a;
}
.empty-state {
    grid-column: 1 / -1;
    text-align: center;
    color: #d2691e;
    padding: 2rem 0;
    font-size: 1.2rem;
}
@media (max-width: 900px) {
    .berita-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
    .berita-grid { grid-template-columns: 1fr; }
}
/* Banner Utama Modern */
.main-banner-section {
    position: relative;
    width: 100%;
    height: 320px;
    max-height: 420px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #eaeaea;
}
.main-banner-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.8;
    z-index: 1;
}
.main-banner-overlay {
    position: relative;
    z-index: 2;
    background: rgba(0,0,0,0.40);
    border-radius: 18px;
    padding: 32px 24px;
    text-align: center;
    color: #fff;
    max-width: 600px;
    margin: 0 auto;
    box-shadow: 0 4px 24px rgba(0,0,0,0.10);
}
.main-banner-logo {
    height: 80px;
    width: auto;
    margin: 0 auto 18px auto;
    display: block;
    filter: drop-shadow(0 2px 8px rgba(0,0,0,0.2));
}
.main-banner-title {
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 10px;
    letter-spacing: 1px;
    color: #fff;
    text-shadow: 0 2px 12px rgba(0,0,0,0.18);
}
.main-banner-subtitle {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: #ffe082;
    text-shadow: 0 1px 8px rgba(0,0,0,0.12);
}
.main-banner-desc {
    font-size: 1.05rem;
    color: #fffde7;
    margin-bottom: 0;
    text-shadow: 0 1px 6px rgba(0,0,0,0.10);
}
@media (max-width: 700px) {
    .main-banner-section { height: 180px; }
    .main-banner-logo { height: 48px; }
    .main-banner-title { font-size: 1.1rem; }
    .main-banner-subtitle { font-size: 0.95rem; }
    .main-banner-overlay { padding: 12px 4px; }
}
.banner-slider .slide {
    position: relative;
}
.banner-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(44, 62, 80, 0.45);
    z-index: 1;
    border-radius: 24px;
}
.banner-center {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    text-align: center;
    width: 90%;
    max-width: 700px;
    color: #fff;
    padding: 32px 16px;
}
.banner-logo img {
    display: block;
    margin: 0 auto 18px auto;
    filter: drop-shadow(0 2px 8px rgba(0,0,0,0.2));
}
.banner-title {
    font-size: 2.4rem;
    font-weight: 800;
    margin-bottom: 12px;
    letter-spacing: 1px;
    color: #fff;
    text-shadow: 0 2px 12px rgba(0,0,0,0.18);
}
.banner-subtitle {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: #ffe082;
    text-shadow: 0 1px 8px rgba(0,0,0,0.12);
}
.banner-desc {
    font-size: 1.05rem;
    color: #fffde7;
    margin-bottom: 0;
    text-shadow: 0 1px 6px rgba(0,0,0,0.10);
}
@media (max-width: 700px) {
    .banner-title { font-size: 1.3rem; }
    .banner-subtitle { font-size: 1rem; }
    .banner-center { padding: 16px 4px; }
}
/* Modern CSS Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Banner Slider Styles */
/* Banner Slider Styles - Updated for better compatibility */
#banner-slider {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto 2rem auto;
    position: relative;
    overflow: hidden;
    border-radius: 24px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    height: 380px !important;
    background: #f0f0f0;
}

#banner-slider .slide {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    transition: opacity 0.7s ease-in-out;
    z-index: 1;
    display: block !important;
}

#banner-slider .slide img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    border-radius: 24px;
    display: block !important;
}

#banner-slider .slide > div {
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    z-index: 10 !important;
    width: 90% !important;
    max-width: 600px !important;
}

#banner-slider button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(210, 105, 30, 0.8) !important;
    color: white !important;
    border: none;
    border-radius: 50%;
    width: 48px;
    height: 48px;
    font-size: 1.2rem;
    cursor: pointer;
    z-index: 20 !important;
    transition: all 0.3s;
}

#banner-slider button:hover {
    background: rgba(210, 105, 30, 1) !important;
    transform: translateY(-50%) scale(1.1);
}

#banner-slider .dot {
    width: 12px !important;
    height: 12px !important;
    border-radius: 50% !important;
    background: rgba(255, 255, 255, 0.5) !important;
    cursor: pointer;
    transition: all 0.3s;
    border: none !important;
    margin: 0 4px !important;
}

#banner-slider .dot:hover,
#banner-slider .dot.active {
    background: rgba(255, 255, 255, 1) !important;
    transform: scale(1.2);
}

/* Ensure Tailwind classes don't interfere */
#banner-slider .absolute {
    position: absolute !important;
}

#banner-slider .inset-0 {
    top: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    left: 0 !important;
}

#banner-slider .w-full {
    width: 100% !important;
}

#banner-slider .h-full {
    height: 100% !important;
}

#banner-slider .object-cover {
    object-fit: cover !important;
}

@media (max-width: 768px) {
    #banner-slider {
        height: 250px !important;
        margin: 0 1rem 2rem 1rem;
    }
    
    #banner-slider button {
        width: 36px;
        height: 36px;
        font-size: 1rem;
    }
    
    #banner-slider .slide .relative {
        padding: 1rem;
    }
    
    #banner-slider .slide h2 {
        font-size: 1.5rem !important;
    }
    
    #banner-slider .slide p {
        font-size: 1rem !important;
    }
}

.banner-slider {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto 2rem auto;
    position: relative;
    overflow: hidden;
    border-radius: 24px;
    box-shadow: var(--shadow-lg);
}
.slider-wrapper {
    position: relative;
    width: 100%;
    height: 380px;
}
.slide {
    display: none;
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    transition: opacity 0.7s;
}
.slide.active {
    display: block;
    opacity: 1;
    z-index: 2;
}
.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 24px;
}
.slide-caption {
    position: absolute;
    left: 40px;
    bottom: 40px;
    background: rgba(0,0,0,0.45);
    color: #ffe082;
    padding: 24px 32px;
    border-radius: 16px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.15);
    max-width: 480px;
}
.slide-caption h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 10px;
}
.slide-caption p {
    font-size: 1.1rem;
    margin: 0;
}
.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(180,74,22,0.8);
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 48px;
    height: 48px;
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 3;
    transition: background 0.3s;
}
.slider-btn.prev { left: 16px; }
.slider-btn.next { right: 16px; }
.slider-btn:hover {
    background: #b44a16;
}
.slider-dots {
    position: absolute;
    bottom: 18px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 4;
}
.slider-dots span {
    display: block;
    width: 12px;
    height: 12px;
    background: #ffe082;
    border-radius: 50%;
    opacity: 0.5;
    cursor: pointer;
    transition: opacity 0.3s;
}
.slider-dots span.active {
    opacity: 1;
    background: #b44a16;
}
@media (max-width: 700px) {
    .slider-wrapper { height: 220px; }
    .slide-caption { left: 16px; bottom: 16px; padding: 12px 16px; max-width: 90vw; }
    .slide-caption h2 { font-size: 1.1rem; }
    .slider-btn { width: 36px; height: 36px; font-size: 1.1rem; }
}

:root {
    --primary-color: #d2691e;
    --primary-dark: #b8621a;
    --secondary-color: #2c3e50;
    --accent-color: #ffeb99;
    --text-dark: #2c3e50;
    --text-light: #7f8c8d;
    --bg-light: #f8f9fa;
    --white: #ffffff;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.07);
    --shadow-lg: 0 15px 35px rgba(0, 0, 0, 0.1);
    --border-radius: 16px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

body {
    font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: var(--bg-light);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Header Styles */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: var(--primary-color);
    box-shadow: var(--shadow);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 60px;
}

.nav-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 0;
    align-items: center;
    margin-left: auto;
}

.nav-item {
    margin: 0;
    display: flex;
    align-items: center;
}

.brand-item {
    margin-right: 2rem;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 0;
}

.brand-logo {
    width: 18px;
    height: 18px;
    border-radius: 3px;
}

.brand-text {
    color: #ffeb99;
    font-size: 0.9rem;
    font-weight: 600;
    white-space: nowrap;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
    display: block;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 12px 16px;
    color: white;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    transition: var(--transition);
    height: 60px;
    box-sizing: border-box;
}

.nav-link:hover {
    background: rgba(255, 255, 255, 0.1);
    color: white;
}

.nav-link.active {
    background: rgba(255, 255, 255, 0.15);
    color: white;
}

    .nav-link i {
        font-size: 0.8rem;
        width: 14px;
        text-align: center;
    }

    .login-btn {
        background: rgba(255, 255, 255, 0.1);
        border-radius: 20px;
        margin-left: auto;
        padding: 8px 16px;
        height: auto;
    }

    .logout-btn {
        background: rgba(220, 53, 69, 0.8) !important;
        border-radius: 20px;
        padding: 8px 16px;
        height: auto;
        margin-left: 0.5rem;
    }

    .logout-btn:hover {
        background: rgba(220, 53, 69, 1) !important;
    }

    /* ===== MOBILE NAVIGATION STYLES ===== */

    /* Mobile Menu Toggle Button */
    .mobile-menu-toggle {
        display: none;
        flex-direction: column;
        cursor: pointer;
        margin-left: auto;
        padding: 8px;
        border-radius: 6px;
        transition: background 0.3s ease;
    }

    .mobile-menu-toggle:hover {
        background: rgba(255, 255, 255, 0.1);
    }

    .hamburger-icon {
        font-size: 1.5rem;
        color: white;
    }

    /* Mobile Menu Overlay */
    .mobile-menu-overlay {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.5);
        z-index: 999;
        opacity: 0;
        transition: opacity 0.3s ease;
    }

    .mobile-menu-overlay.active {
        display: block;
        opacity: 1;
    }

    /* Mobile Menu */
    .mobile-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 320px;
        max-width: 90vw;
        height: 100%;
        background: white;
        z-index: 1000;
        transition: right 0.3s ease;
        box-shadow: -5px 0 20px rgba(0, 0, 0, 0.1);
        overflow-y: auto;
    }

    .mobile-menu.active {
        right: 0;
    }

    /* Mobile Menu Header */
    .mobile-menu-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 1rem;
        background: var(--primary-color);
        color: white;
    }

    .mobile-brand {
        display: flex;
        align-items: center;
        gap: 12px;
    }

    .mobile-brand-logo {
        width: 40px;
        height: 40px;
        border-radius: 8px;
    }

    .mobile-brand-text {
        font-size: 0.9rem;
        font-weight: 700;
        line-height: 1.2;
    }

    .mobile-menu-close {
        background: rgba(255, 255, 255, 0.2);
        border: none;
        color: white;
        width: 36px;
        height: 36px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        transition: background 0.3s ease;
    }

    .mobile-menu-close:hover {
        background: rgba(255, 255, 255, 0.3);
    }

    /* Mobile Navigation Links */
    .mobile-nav {
        padding: 1rem 0;
    }

    .mobile-nav-link {
        display: flex;
        align-items: center;
        gap: 15px;
        padding: 15px 20px;
        color: #374151;
        text-decoration: none;
        font-size: 1rem;
        font-weight: 500;
        transition: all 0.3s ease;
        border-bottom: 1px solid #f3f4f6;
    }

    .mobile-nav-link:hover {
        background: #f9fafb;
        color: var(--primary-color);
    }

    .mobile-nav-link.active {
        background: #fef3c7;
        color: var(--primary-color);
        border-left: 4px solid var(--primary-color);
    }

    .mobile-nav-link i {
        width: 20px;
        text-align: center;
        font-size: 1.1rem;
    }

    .mobile-nav-link.login {
        background: #f0f9ff;
        color: #1e40af;
    }

    .mobile-nav-link.logout {
        background: #fef2f2;
        color: #dc2626;
    }

    .mobile-nav-divider {
        height: 1px;
        background: #e5e7eb;
        margin: 10px 20px;
    }

    /* Mobile Dropdown */
    .mobile-dropdown {
        border-bottom: 1px solid #f3f4f6;
    }

    .mobile-dropdown-header {
        display: flex;
        align-items: center;
        gap: 15px;
        padding: 15px 20px;
        cursor: pointer;
        transition: background 0.3s ease;
    }

    .mobile-dropdown-header:hover {
        background: #f9fafb;
    }

    .mobile-dropdown-icon {
        margin-left: auto;
        font-size: 0.9rem;
        transition: transform 0.3s ease;
    }

    .mobile-dropdown.active .mobile-dropdown-icon {
        transform: rotate(180deg);
    }

    .mobile-dropdown-content {
        max-height: 0;
        overflow: hidden;
        background: #f8f9fa;
        transition: max-height 0.3s ease;
    }

    .mobile-dropdown.active .mobile-dropdown-content {
        max-height: 200px;
    }

    .mobile-nav-link.sub {
        padding-left: 55px;
        font-size: 0.9rem;
        background: #f8f9fa;
    }

    .mobile-nav-link.sub:hover {
        background: #e9ecef;
    }/* Dropdown Menu Styles */
.nav-item.dropdown {
    position: relative;
}

.dropdown-toggle {
    cursor: pointer;
}

.dropdown-icon {
    font-size: 0.7rem;
    margin-left: 4px;
    transition: transform 0.3s ease;
}

.dropdown:hover .dropdown-icon {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    border-radius: 8px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
    min-width: 200px;
    list-style: none;
    margin: 0;
    padding: 8px 0;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    color: #374151;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
    border: none;
    background: none;
}

.dropdown-link:hover {
    background: #f3f4f6;
    color: #d2691e;
}

.dropdown-link.active {
    background: #fef3c7;
    color: #d2691e;
}

.dropdown-link i {
    font-size: 0.85rem;
    width: 16px;
    text-align: center;
}

/* Mobile Dropdown Styles */
.mobile-dropdown {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-dropdown-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px 25px;
    color: black;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.mobile-dropdown-header:hover {
    background: rgba(255, 255, 255, 0.1);
}

.mobile-dropdown-header span {
    color: black;
}

.mobile-dropdown-icon {
    font-size: 0.8rem;
    margin-left: auto;
    transition: transform 0.3s ease;
}

.mobile-dropdown.active .mobile-dropdown-icon {
    transform: rotate(180deg);
}

.mobile-dropdown-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background: rgba(0, 0, 0, 0.1);
}

.mobile-dropdown.active .mobile-dropdown-content {
    max-height: 200px;
}

.mobile-nav-link.sub {
    padding-left: 50px;
    font-size: 0.9rem;
    border-left: 2px solid rgba(255, 255, 255, 0.2);
    margin-left: 25px;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 3px;
}

.bar {
    width: 20px;
    height: 2px;
    background: white;
    border-radius: 1px;
    transition: var(--transition);
}

.main-content {
    margin-top: 60px;
    min-height: calc(100vh - 60px);
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 3rem;
    overflow: hidden;
    border-radius: 24px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #d2691e 100%);
}
.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}
.hero-particles {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
}
.particle {
    position: absolute;
    width: 20px;
    height: 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
}
.particle:nth-child(1) { top: 20%; left: 20%; animation-delay: 0s; }
.particle:nth-child(2) { top: 60%; left: 80%; animation-delay: 2s; }
.particle:nth-child(3) { top: 80%; left: 40%; animation-delay: 1s; }
.particle:nth-child(4) { top: 40%; left: 60%; animation-delay: 3s; }
.particle:nth-child(5) { top: 70%; left: 20%; animation-delay: 4s; }
@keyframes float {
    0%, 100% { transform: translateY(0px) scale(1); opacity: 0.7; }
    50% { transform: translateY(-20px) scale(1.1); opacity: 1; }
}
.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    color: white;
    max-width: 800px;
    padding: 2rem;
}
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.2);
    -webkit-backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur();
    backdrop-filter: blur();
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 8px 16px;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 900;
    margin-bottom: 1rem;
    line-height: 1.1;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}
.hero-content p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    opacity: 0.95;
    line-height: 1.6;
}
.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}
.btn-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
    transition: all 0.3s;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.btn-cta.primary {
    background: rgba(255, 255, 255, 0.95);
    color: #2c3e50;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}
.btn-cta.primary:hover {
    background: white;
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.3);
}
.btn-cta.secondary {
    background: transparent;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.8);
}
.btn-cta.secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: white;
    transform: translateY(-3px);
}
@media (max-width: 768px) {
    .hero-content h1 { font-size: 2.5rem; }
    .hero-content p { font-size: 1.1rem; }
    .hero-buttons { flex-direction: column; align-items: center; }
    .btn-cta { width: 100%; max-width: 250px; justify-content: center; }
}

/* Login Page */
.login-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.login-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.floating-shapes {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.shape {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    animation: float 6s ease-in-out infinite;
}

.shape-1 {
    width: 80px;
    height: 80px;
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.shape-2 {
    width: 120px;
    height: 120px;
    top: 60%;
    right: 10%;
    animation-delay: 2s;
}

.shape-3 {
    width: 60px;
    height: 60px;
    bottom: 20%;
    left: 20%;
    animation-delay: 4s;
}

.shape-4 {
    width: 100px;
    height: 100px;
    top: 30%;
    right: 30%;
    animation-delay: 1s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) rotate(180deg);
    }
}

.login-container {
    position: relative;
    z-index: 10;
    width: 100%;
    max-width: 450px;
    padding: 0 1rem;
}

.login-card {
    background: rgba(255, 255, 255, 0.95);
    -webkit-backdrop-filter: blur();
    backdrop-filter: blur();
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.login-header {
    text-align: center;
    padding: 3rem 2rem 2rem;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
}

.login-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
}

.login-icon i {
    font-size: 2rem;
    color: white;
}

.login-form {
    padding: 2rem;
}

.form-group {
    margin-bottom: 2rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
    font-weight: 600;
    font-size: 0.9rem;
}

.input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.input-wrapper i {
    position: absolute;
    left: 16px;
    color: var(--text-light);
    z-index: 2;
}

.input-wrapper input {
    width: 100%;
    padding: 16px 20px 16px 50px;
    border: 2px solid #e8ecf4;
    border-radius: 16px;
    font-size: 1rem;
    background: rgba(255, 255, 255, 0.8);
    transition: var(--transition);
}

.input-wrapper input:focus {
    outline: none;
    border-color: #667eea;
    background: white;
    box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.1);
}

.toggle-password {
    position: absolute;
    right: 16px;
    background: none;
    border: none;
    color: var(--text-light);
    cursor: pointer;
    padding: 4px;
    border-radius: 4px;
    transition: var(--transition);
}

.btn-login-submit {
    width: 100%;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    border: none;
    padding: 18px 24px;
    border-radius: 16px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.btn-login-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 35px rgba(102, 126, 234, 0.4);
}

.error-message {
    background-color: #e74c3c;
    color: white;
    padding: 12px 16px;
    border-radius: 6px;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.forgot-password-link {
    text-align: center;
    margin: 1.5rem 0;
}

.forgot-password-link a {
    color: #d2691e;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    background: rgba(210, 105, 30, 0.1);
}

.forgot-password-link a:hover {
    background: rgba(210, 105, 30, 0.2);
    transform: translateY(-1px);
    color: #b8571a;
}

.login-footer {
    text-align: center;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.login-footer p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.85rem;
}

/* Footer */
.main-footer {
    background-color: #808080;
    color: white;
    margin-top: auto;
    padding: 40px 0 20px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section.brand-section {
    display: flex;
    flex-direction: column;
}

.footer-logo h3 {
    font-size: 1.8rem;
    font-weight: 700;
    color: white;
    margin-bottom: 0.5rem;
    letter-spacing: 1px;
}

.footer-tagline {
    font-size: 0.9rem;
    color: #cccccc;
    font-weight: 300;
    margin: 0;
}

.footer-section h4 {
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: white;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: #cccccc;
    text-decoration: none;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: white;
}

.footer-divider {
    height: 1px;
    background-color: #808080;
    margin: 2rem 0 1.5rem;
}

.footer-bottom {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.social-media {
    display: flex;
    gap: 0.5rem;
}

.social-icon {
    width: 40px;
    height: 40px;
    background-color: transparent;
    border: 2px solid #555555;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #cccccc;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.social-icon:hover {
    background-color: #555555;
    color: white;
    border-color: #666666;
}

.copyright {
    font-size: 0.8rem;
    color: #999999;
    text-align: center;
    margin: 0;
}

/* Responsive footer */
@media (max-width: 992px) {
    .footer-content {
        grid-template-columns: 1fr 1fr 1fr;
        gap: 1.5rem;
    }
    
    .footer-section.brand-section {
        grid-column: 1 / -1;
        margin-bottom: 1rem;
    }
}

@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 1.5rem;
    }
    
    .footer-section.brand-section {
        grid-column: 1 / -1;
        text-align: center;
        margin-bottom: 1rem;
    }
    
    .footer-logo h3 {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-section {
        margin-bottom: 1.5rem;
    }
    
    .social-media {
        justify-content: center;
    }
}

/* Profile Menu Styles - Updated to match header theme */
.profile-menu-container {
    position: relative;
    margin-left: auto;
}

.profile-menu-trigger {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    color: white;
    cursor: pointer;
    transition: var(--transition);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.profile-menu-trigger:hover,
.profile-menu-trigger.active {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.3);
}

.profile-avatar {
    width: 28px;
    height: 28px;
    background: rgba(255, 235, 153, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffeb99;
}

.profile-avatar i {
    font-size: 1rem;
}

.profile-name {
    font-size: 0.85rem;
    font-weight: 500;
    white-space: nowrap;
    color: #ffeb99;
}

.profile-arrow {
    font-size: 0.7rem;
    transition: var(--transition);
    color: #ffeb99;
}

.profile-menu-trigger.active .profile-arrow {
    transform: rotate(180deg);
}

.profile-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    background: white;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.1);
    z-index: 1001;
    overflow: hidden;
}

.profile-menu-container:hover .profile-dropdown,
.profile-menu-trigger.active + .profile-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.profile-dropdown-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    color: var(--text-dark);
    text-decoration: none;
    transition: var(--transition);
    font-size: 0.9rem;
    font-weight: 500;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.profile-dropdown-item:last-child {
    border-bottom: none;
}

.profile-dropdown-item:hover {
    background: rgba(210, 105, 30, 0.1);
    color: var(--primary-color);
}

.profile-dropdown-item.logout:hover {
    background: rgba(231, 76, 60, 0.1);
    color: #e74c3c;
}

.profile-dropdown-item i {
    width: 16px;
    text-align: center;
    font-size: 0.9rem;
}

.profile-dropdown-divider {
    height: 1px;
    background: rgba(0, 0, 0, 0.1);
    margin: 4px 0;
}

/* Page Header Styles */
.page-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--primary-color);
}

.page-header h1 {
    margin: 0;
    color: var(--text-dark);
}

.page-header .btn {
    background: var(--primary-color);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    border: none;
    cursor: pointer;
}

.page-header .btn:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

/* Remove old admin-controls class */
.admin-controls {
    display: none;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    -webkit-backdrop-filter: blur();
    backdrop-filter: blur();
}

.modal-content {
    background-color: white;
    margin: 5% auto;
    padding: 2rem;
    border-radius: 12px;
    width: 90%;
    max-width: 500px;
    box-shadow: var(--shadow-lg);
    position: relative;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background: rgba(0, 0, 0, 0.04);
    display: block !important;
    padding-left: 24px;
    margin-bottom: 8px;
}
    .mobile-dropdown.active .mobile-dropdown-content {
    max-height: 200px;
    overflow: visible;
    display: block;
}

.close-btn {
    color: #aaa;
}

.close-btn:hover {
    color: #000;
}

.modal-content h2 {
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.modal-content label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-dark);
}

.modal-content input,
.modal-content textarea,
.modal-content select {
    width: 100%;
    padding: 0.75rem;
    margin-bottom: 1rem;
    border: 2px solid #e8ecf4;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.modal-content input:focus,
.modal-content textarea:focus,
.modal-content select:focus {
    outline: none;
    border-color: var(--primary-color);
}

.modal-content .btn {
    width: 100%;
    padding: 0.75rem;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s;
}

.modal-content .btn:hover {
    background: var(--primary-dark);
}

/* Delete Button Styles */
.delete-form {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    z-index: 10;
}

.btn-delete {
    background: rgba(255, 0, 0, 0.8);
    border: none;
    border-radius: 50%;
    width: 35px;
    height: 35px;
    cursor: pointer;
    font-size: 1rem;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s;
}

.btn-delete:hover {
    background: rgba(255, 0, 0, 1);
}

.berita-card, .galeri-card {
    position: relative;
}

/* Responsive page header */
@media (max-width: 768px) {
    .page-header {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .page-header .btn {
        width: 100%;
    }
}

/* Pengurus Data Styles */
.pengurus-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
    margin-top: 1.5rem;
}

.pengurus-category {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid var(--primary-color);
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.pengurus-category h4 {
    color: var(--primary-color);
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.pengurus-category h5 {
    color: var(--secondary-color);
    font-size: 1rem;
    font-weight: 600;
    margin-top: 1rem;
    margin-bottom: 0.5rem;
    text-decoration: underline;
}

.pengurus-item {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 0.5rem 0;
    border-bottom: 1px solid #e9ecef;
}

.pengurus-item:last-child {
    border-bottom: none;
}

.pengurus-item .jabatan {
    font-weight: 600;
    color: var(--text-color);
    flex: 0 0 45%;
}

.pengurus-item .nama {
    color: var(--primary-color);
    font-weight: 500;
    flex: 1;
    text-align: right;
}

.sub-category {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #dee2e6;
}

.sub-category:first-child {
    margin-top: 0;
    padding-top: 0;
    border-top: none;
}

/* Responsive adjustments for pengurus */
@media (max-width: 768px) {
    .pengurus-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .pengurus-category {
        padding: 1rem;
    }
    
    .pengurus-item {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .pengurus-item .nama {
        text-align: left;
        margin-top: 0.25rem;
        font-size: 0.95rem;
    }
}

/* Modal styles */
.modal {
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.6);
    -webkit-backdrop-filter: blur();
    backdrop-filter: blur();
}

.existing-images {
    margin-top: 20px;
    padding: 15px;
    background-color: #f8f9fa;
    border-radius: 10px;
}

.existing-images h4 {
    margin-top: 0;
    margin-bottom: 10px;
    color: #333;
}

.image-preview-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    gap: 10px;
    margin-top: 10px;
}

.image-preview-item {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.image-preview-item img {
    width: 100%;
    height: 80px;
    object-fit: cover;
    display: block;
}

.image-preview-item .image-actions {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(0,0,0,0.6);
    display: flex;
    justify-content: space-around;
    padding: 5px;
}

.image-preview-item .image-actions button {
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    font-size: 12px;
    padding: 2px 5px;
}

.image-preview-item .image-actions button:hover {
    color: #ffc107;
}

.primary-badge {
    position: absolute;
    top: 5px;
    right: 5px;
    background-color: #28a745;
    color: white;
    font-size: 10px;
    padding: 2px 5px;
    border-radius: 3px;
}

.modal-content {
    background: linear-gradient(135deg, #ffffff, #f8f9fa);
    margin: 2% auto;
    padding: 30px;
    border-radius: 20px;
    width: 90%;
    max-width: 800px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    border: 1px solid #e0e0e0;
}

.modal-content h2 {
    color: #d2691e;
    text-align: center;
    margin-bottom: 30px;
    font-size: 2rem;
    font-weight: 700;
    border-bottom: 3px solid #d2691e;
    padding-bottom: 15px;
}

.modal-content h3 {
    color: #d2691e;
    font-size: 1.3rem;
    font-weight: 600;
    margin: 25px 0 15px 0;
    padding: 12px 20px;
    background: linear-gradient(135deg, #fdf2e9, #f7e6d7);
    border-left: 4px solid #d2691e;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.modal-content h4 {
    color: #495057;
    font-size: 1.1rem;
    font-weight: 600;
    margin: 20px 0 10px 0;
    padding: 8px 15px;
    background: #f1f3f4;
    border-left: 3px solid #6c757d;
    border-radius: 6px;
}

.modal-content label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #495057;
    font-size: 0.95rem;
}

.modal-content input,
.modal-content select,
.modal-content textarea {
    width: 100%;
    padding: 12px 15px;
    margin-bottom: 20px;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    font-size: 14px;
    transition: all 0.3s ease;
    background: white;
}

.modal-content input:focus,
.modal-content select:focus,
.modal-content textarea:focus {
    outline: none;
    border-color: #d2691e;
    box-shadow: 0 0 0 3px rgba(210, 105, 30, 0.1);
    transform: translateY(-1px);
}

.close-btn {
    position: absolute;
    right: 20px;
    top: 20px;
    font-size: 28px;
    cursor: pointer;
    color: #6c757d;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.close-btn:hover {
    color: #dc3545;
    background: #fee;
    transform: rotate(90deg);
}

.form-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 2px solid #e9ecef;
}

.btn {
    padding: 12px 30px;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-primary {
    background: linear-gradient(135deg, #d2691e, #e07c2e);
    color: white;
    box-shadow: 0 4px 15px rgba(210, 105, 30, 0.3);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #b8581a, #cc6b28);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(210, 105, 30, 0.4);
}

.btn-secondary {
    background: linear-gradient(135deg, #6c757d, #5a6268);
    color: white;
    box-shadow: 0 4px 15px rgba(108, 117, 125, 0.3);
}

.btn-secondary:hover {
    background: linear-gradient(135deg, #5a6268, #495057);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(108, 117, 125, 0.4);
}

/* Form Section Styling */
.form-section {
    background: white;
    border-radius: 15px;
    padding: 25px;
    margin-bottom: 25px;
    border: 1px solid #e9ecef;
    box-shadow: 0 3px 10px rgba(0,0,0,0.05);
}

.form-section:hover {
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transform: translateY(-2px);
    transition: all 0.3s ease;
}

/* Styling untuk bidang seni */
.bidang-seni {
    margin-left: 20px;
}

.bidang-seni h5 {
    color: #d2691e;
    font-weight: 600;
    margin: 15px 0 8px 0;
    border-left: 3px solid #d2691e;
    padding-left: 10px;
}

.bidang-seni p {
    margin: 5px 0;
    margin-left: 10px;
}

.form-section h4 {
    color: #d2691e;
    font-weight: 600;
    margin: 15px 0 10px 0;
    border-bottom: 1px solid #ddd;
    padding-bottom: 5px;
}

/* Enhanced Profile Page Styling */
.profile-page {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.page-header {
    background: linear-gradient(135deg, #d2691e, #e07c2e);
    color: white;
    padding: 30px;
    border-radius: 15px;
    margin-bottom: 30px;
    text-align: center;
    box-shadow: 0 8px 32px rgba(210, 105, 30, 0.3);
}

.page-header.gradient-bg {
    background: linear-gradient(135deg, #d2691e, #e07c2e);
    color: white;
    padding: 30px;
    border-radius: 15px;
    margin-bottom: 30px;
    text-align: center;
    box-shadow: 0 8px 32px rgba(210, 105, 30, 0.3);
}

.page-header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.page-header .btn {
    background: rgba(255,255,255,0.2);
    border: 2px solid white;
    color: white;
    padding: 12px 24px;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s ease;
    margin-top: 15px;
}

.page-header .btn:hover {
    background: white;
    color: #d2691e;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255,255,255,0.3);
}

.profile-section {
    background: white;
    border-radius: 15px;
    padding: 30px;
    margin-bottom: 25px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    border: 1px solid #f0f0f0;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.profile-section:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}

.profile-section h3 {
    color: #d2691e;
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 20px;
    border-bottom: 3px solid #d2691e;
    padding-bottom: 10px;
    position: relative;
}

.profile-section h3::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 50px;
    height: 3px;
    background: #d2691e;
}

.profile-section h4 {
    color: #d2691e;
    font-size: 1.3rem;
    font-weight: 600;
    margin: 25px 0 15px 0;
    padding: 12px 20px;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    border-left: 4px solid #d2691e;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.profile-section p {
    color: #555;
    line-height: 1.7;
    margin-bottom: 12px;
    padding: 8px 15px;
    background: #fafafa;
    border-radius: 8px;
    border-left: 3px solid #e9ecef;
    transition: all 0.3s ease;
}

.profile-section p:hover {
    background: #fdf2e9;
    border-left-color: #d2691e;
    transform: translateX(5px);
}

.profile-section p strong {
    color: #d2691e;
    font-weight: 600;
    display: inline-block;
    min-width: 120px;
}

.profile-section ul {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 20px 25px;
    border-left: 4px solid #d2691e;
}

.profile-section ul li {
    color: #555;
    line-height: 1.7;
    margin-bottom: 10px;
    position: relative;
    padding-left: 10px;
}

.profile-section ul li::before {
    content: '→';
    color: #d2691e;
    font-weight: bold;
    position: absolute;
    left: -10px;
}

/* Enhanced Bidang Seni Styling */
.bidang-seni {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 20px;
    margin: 20px 0;
    border: 1px solid #e9ecef;
}

.bidang-seni h5 {
    color: #d2691e;
    font-weight: 600;
    margin: 20px 0 12px 0;
    padding: 10px 15px;
    background: white;
    border-left: 4px solid #d2691e;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.bidang-seni p {
    margin: 8px 0;
    margin-left: 15px;
    padding: 8px 12px;
    background: white;
    border-radius: 6px;
    border-left: 2px solid #d2691e;
}

/* Admin Info Styling */
.admin-info {
    background: linear-gradient(135deg, #fdf2e9, #f7e6d7);
    border: 1px solid #d2691e;
    border-radius: 10px;
    padding: 15px;
    margin-top: 20px;
    text-align: center;
}

.admin-info p {
    margin: 0;
    color: #d2691e;
    font-style: italic;
    background: none;
    border: none;
    padding: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .profile-page {
        padding: 15px;
    }
    
    .page-header {
        padding: 20px;
    }
    
    .page-header h1 {
        font-size: 2rem;
    }
    
    .profile-section {
        padding: 20px;
    }
    
    .profile-section h3 {
        font-size: 1.5rem;
    }
    
    .profile-section h4 {
        font-size: 1.1rem;
        padding: 10px 15px;
    }
    
    .modal-content {
        margin: 10px;
        width: calc(100% - 20px);
        max-height: calc(100vh - 40px);
        padding: 20px;
    }
    
    .modal-content h2 {
        font-size: 1.5rem;
    }
    
    .form-section {
        padding: 15px;
    }
    
    .form-buttons {
        flex-direction: column;
        gap: 10px;
    }
    
    .btn {
        width: 100%;
        text-align: center;
    }
    
    .bidang-seni {
        padding: 15px;
        margin: 15px 0;
    }
}

/* Animation for smooth transitions */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes slideIn {
    from { opacity: 0; transform: scale(0.9); }
    to { opacity: 1; transform: scale(1); }
}

.profile-section {
    animation: fadeIn 0.6s ease-out;
}

.modal-content {
    animation: slideIn 0.3s ease-out;
}

/* Loading state for buttons */
.btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

/* Enhanced hover effects */
.profile-section p:hover strong {
    color: #d2691e;
    transition: color 0.3s ease;
}

/* Galeri Page Styling */
.galeri-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.galeri-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    position: relative;
    transition: all 0.3s ease;
    border: 1px solid #e2e8f0;
}

.galeri-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.media-container {
    position: relative;
    width: 100%;
    height: 250px;
    overflow: hidden;
}

.galeri-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.galeri-card:hover .galeri-image {
    transform: scale(1.05);
}

.youtube-container {
    position: relative;
    width: 100%;
    height: 100%;
    background: #000;
}

.youtube-video {
    width: 100%;
    height: 100%;
    border: none;
}

.video-error {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    background: #f8f9fa;
    color: #6b7280;
}

.video-error i {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    color: #ef4444;
}

.galeri-card-content {
    padding: 1.5rem;
}

.galeri-card-content h3 {
    margin: 0 0 0.75rem 0;
    color: #1e293b;
    font-size: 1.25rem;
    font-weight: 600;
    line-height: 1.3;
}

.galeri-card-content p {
    color: #64748b;
    line-height: 1.5;
    margin: 0 0 1rem 0;
}

.upload-date {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #9ca3af;
    font-size: 0.875rem;
}

.upload-date i {
    color: #d2691e;
}

.galeri-card .delete-form {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    z-index: 10;
}

.galeri-card .btn-delete {
    background: rgba(239, 68, 68, 0.9);
    color: white;
    border: none;
    padding: 0.5rem;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    -webkit-backdrop-filter: blur();
    backdrop-filter: blur();
}

.galeri-card .btn-delete:hover {
    background: rgba(220, 38, 38, 0.95);
    transform: scale(1.1);
}

.no-media {
    grid-column: 1 / -1;
    text-align: center;
    padding: 4rem 2rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.no-media i {
    font-size: 4rem;
    color: #d2691e;
    margin-bottom: 1rem;
}

.no-media h3 {
    color: #1e293b;
    margin-bottom: 0.5rem;
}

.no-media p {
    color: #64748b;
    margin-bottom: 2rem;
}

/* Media Form Styling */
.media-form {
    padding: 2rem;
}

.media-form .form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

/* Status Badge Styling */
.status-badge {
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 500;
    text-transform: capitalize;
}

.status-badge.aktif {
    background-color: rgba(34, 197, 94, 0.1);
    color: #15803d;
    border: 1px solid rgba(34, 197, 94, 0.3);
}

.status-badge.nonaktif {
    background-color: rgba(239, 68, 68, 0.1);
    color: #dc2626;
    border: 1px solid rgba(239, 68, 68, 0.3);
}

/* Table Center Alignment */
.modern-table .center {
    text-align: center;
}

/* Banner specific styling */
.preview-image {
    max-width: 200px;
    max-height: 100px;
    object-fit: cover;
    border-radius: 8px;
    margin-top: 0.5rem;
    border: 2px solid #e5e7eb;
}

.media-form .form-group {
    display: flex;
    flex-direction: column;
}

.media-form .form-group.full-width {
    grid-column: 1 / -1;
}

.media-form label {
    font-weight: 600;
    color: #374151;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.media-form input,
.media-form textarea,
.media-form select {
    padding: 0.75rem;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background-color: #f9fafb;
}

.media-form input:focus,
.media-form textarea:focus,
.media-form select:focus {
    outline: none;
    border-color: #d2691e;
    background-color: white;
    box-shadow: 0 0 0 3px rgba(210, 105, 30, 0.1);
}

/* Banner Logo Styling */
.banner-logo {
    height: 15px;
    width: 15px;
    margin: 0 auto 1rem auto;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
    object-fit: contain;
}

/* Extra small logo for mobile */
@media (max-width: 640px) {
    .banner-logo {
        height: 35px;
        width: 35px;
    }
}

/* Mobile Optimizations */
@media (max-width: 640px) {
    /* Banner Mobile Improvements */
    #banner-slider {
        height: 250px; /* Smaller banner height on mobile */
    }
    
    #banner-slider .slide .relative {
        padding: 1rem; /* Reduce padding */
    }
    
    #banner-slider h2 {
        font-size: 1.5rem !important; /* Smaller heading */
        line-height: 1.3;
        margin-bottom: 0.5rem;
    }
    
    #banner-slider p {
        font-size: 0.875rem !important; /* Smaller text */
        line-height: 1.4;
    }
    
    /* Navigation Mobile */
    .nav-container {
        padding: 0.5rem 1rem;
    }
    
    /* Button Mobile Optimization */
    button, .btn {
        min-height: 44px; /* Apple's recommended touch target */
        padding: 12px 16px;
    }
    
    /* Form Mobile Optimization */
    input, textarea, select {
        font-size: 16px; /* Prevent zoom on iOS */
        min-height: 44px;
    }
    
    /* Card Mobile Spacing */
    .card, .admin-section, .galeri-card {
        margin-bottom: 1rem;
    }
    
    /* Text Mobile Readability */
    body {
        font-size: 16px;
        line-height: 1.5;
    }
}

/* ====================================
   MOBILE NAVIGATION MENU (☰)
   ==================================== */

/* Mobile Menu Toggle Button */
.mobile-menu-toggle {
    display: none;
    cursor: pointer;
    padding: 8px 10px;
    border-radius: 6px;
    background: rgba(210, 105, 30, 0.1);
    transition: all 0.3s ease;
    min-width: 44px;
    min-height: 44px;
    align-items: center;
    justify-content: center;
}

.mobile-menu-toggle:hover {
    background: rgba(210, 105, 30, 0.2);
    transform: scale(1.05);
}

.hamburger-icon {
    font-size: 1.4rem;
    color: #ffffff;
    font-weight: bold;
    display: block;
    line-height: 1;
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    -webkit-backdrop-filter: blur();
    backdrop-filter: blur();
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Prevent body scroll when mobile menu is open */
body.mobile-menu-open {
    overflow: hidden;
    position: fixed;
    width: 100%;
}

/* Mobile Menu Panel */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 85%;
    max-width: 300px;
    min-width: 280px;
    height: 100vh;
    background: white;
    z-index: 999;
    box-shadow: -4px 0 20px rgba(0, 0, 0, 0.15);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    overflow-y: auto;
}

.mobile-menu.active {
    right: 0;
    transform: translateX(0);
}

/* Mobile Menu Header */
.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background: linear-gradient(135deg, #d2691e, #ff8c42);
    color: white;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.mobile-brand {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex: 1;
    overflow: hidden;
}

.mobile-brand-logo {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 2px solid white;
    flex-shrink: 0;
}

.mobile-brand-text {
    font-weight: bold;
    font-size: 1rem;
    width: 100%;
    white-space: normal;
    line-height: 1.2;
    word-break: break-word;
    overflow-wrap: break-word;
    text-align: left;
    padding-left: 4px;
}

.mobile-menu-close {
    background: none;
    border: none;
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 50%;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
}

.mobile-menu-close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(90deg);
}

/* Mobile Navigation Links */
.mobile-nav {
    padding: 0.5rem 0;
}

.mobile-nav-link {
    display: flex;
    align-items: center;
    gap: 0.875rem;
    padding: 0.875rem 1.25rem;
    color: #374151;
    text-decoration: none;
    transition: all 0.3s ease;
    border-left: 4px solid transparent;
    font-weight: 500;
    font-size: 0.95rem;
}

.mobile-nav-link:hover {
    background: #f9fafb;
    border-left-color: #d2691e;
    color: #d2691e;
    transform: translateX(4px);
}

.mobile-nav-link.active {
    background: rgba(210, 105, 30, 0.1);
    border-left-color: #d2691e;
    color: #d2691e;
    font-weight: 600;
}

.mobile-nav-link i {
    width: 20px;
    text-align: center;
    font-size: 1.1rem;
}

.mobile-nav-link.login {
    border-top: 1px solid #e5e7eb;
    margin-top: 0.5rem;
    color: #059669;
}

.mobile-nav-link.login:hover {
    background: #ecfdf5;
    border-left-color: #059669;
    color: #047857;
}

.mobile-nav-link.logout {
    color: #dc2626;
}

.mobile-nav-link.logout:hover {
    background: #fef2f2;
    border-left-color: #dc2626;
    color: #b91c1c;
}

.mobile-nav-divider {
    height: 1px;
    background: #e5e7eb;
    margin: 0.5rem 1.5rem;
}

/* Hide desktop nav on mobile */
@media (max-width: 768px) {
    .nav-menu {
        display: none !important;
    }
    
    .mobile-menu-toggle {
        display: flex !important;
        order: 2;
    }
    
    .nav-container {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 0.5rem 1rem;
        width: 100%;
        position: relative;
    }
    
    .nav-brand {
        display: flex;
        align-items: center;
        gap: 0.5rem;
        order: 1;
    }
    
    .brand-text {
        font-size: 0.85rem;
        line-height: 1.2;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        max-width: 160px;
        color: #ffeb99;
        font-weight: 600;
    }
    
    .brand-logo {
        width: 30px;
        height: 30px;
        flex-shrink: 0; /* Prevent logo from shrinking */
    }
}

/* Mobile responsive improvements */
@media (max-width: 640px) {
    .nav-container {
        padding: 0.5rem 1rem;
        height: 60px;
    }
    
    .brand-text {
        font-size: 0.8rem;
        max-width: 150px;
    }
    
    .brand-logo {
        width: 30px;
        height: 30px;
    }
}

/* Extra small mobile optimizations */
@media (max-width: 480px) {
    .nav-container {
        padding: 0.5rem 0.75rem;
    }
    
    .brand-text {
        font-size: 0.75rem;
        max-width: 140px;
    }
    
    .brand-logo {
        width: 28px;
        height: 28px;
    }
    
    .mobile-menu-toggle {
        padding: 6px 8px;
        min-width: 40px;
        min-height: 40px;
    }
    
    .hamburger-icon {
        font-size: 1.2rem;
    }
    
    .mobile-menu {
        width: 100%;
        max-width: 100%;
        min-width: auto;
        right: -100%;
    }
    .mobile-menu-header {
        padding: 0.75rem;
    }
    .mobile-brand-text {
        font-size: 0.9rem;
        width: 100%;
        line-height: 1.2;
        word-break: break-word;
        overflow-wrap: break-word;
        text-align: left;
        padding-left: 4px;
    }
    .mobile-nav-link {
        padding: 0.75rem 1rem;
        font-size: 0.9rem;
        gap: 0.75rem;
    }
    .mobile-nav {
        padding: 0.25rem 0;
    }
    
    .brand-text {
        font-size: 0.9rem;
        max-width: 120px;
    }
    
    .brand-logo {
        width: 30px;
        height: 30px;
    }
    
    .nav-container {
        padding: 0.375rem 0.75rem;
    }
    
    .mobile-menu-toggle {
        min-width: 40px;
        min-height: 40px;
        padding: 6px 8px;
    }
    
    .hamburger-icon {
        font-size: 1.2rem;
    }
}

/* Medium mobile devices */
@media (min-width: 481px) and (max-width: 640px) {
    .mobile-menu {
        width: 85%;
        max-width: 280px;
    }
    
    .brand-text {
        max-width: 140px;
    }
    
    .mobile-nav-link {
        padding: 0.875rem 1.125rem;
    }
    
    .nav-container {
        padding: 0.5rem 0.875rem;
    }
}

/* Larger mobile devices */
@media (min-width: 641px) and (max-width: 768px) {
    .mobile-menu {
        width: 75%;
        max-width: 300px;
    }
    
    .brand-text {
        max-width: 160px;
    }
    
    .mobile-nav-link {
        padding: 1rem 1.25rem;
    }
}

/* Tablet landscape optimization */
@media (min-width: 769px) and (max-width: 1024px) {
    .nav-container {
        padding: 0.5rem 1.5rem;
    }
    
    .brand-text {
        font-size: 1.1rem;
        max-width: 200px;
    }
}

/* Mobile menu animations */
@keyframes slideInRight {
    from {
        transform: translateX(100%);
    }
    to {
        transform: translateX(0);
    }
}

@keyframes slideOutRight {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(100%);
    }
}

.mobile-menu.active {
    animation: slideInRight 0.3s ease;
}

/* Responsive Design for Galeri */
@media (max-width: 768px) {
    .galeri-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .media-container {
        height: 200px;
    }
    
    .galeri-card-content {
        padding: 1rem;
    }
    
    .media-form .form-grid {
        grid-template-columns: 1fr;
    }
    
    .galeri-card .delete-form {
        top: 0.5rem;
        right: 0.5rem;
    }
    
    .galeri-card .btn-delete {
        width: 32px;
        height: 32px;
    }
}

/* ====================================
   PAGUYUPAN SECTION STYLES
   ==================================== */

.paguyupan-section {
    padding: 4rem 0;
    background: linear-gradient(135deg, #fff 0%, #f8f9fa 100%);
}

.paguyupan-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.paguyupan-card {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid rgba(210, 105, 30, 0.1);
    position: relative;
    overflow: hidden;
}

.paguyupan-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #d2691e, #ff8c42);
}

.paguyupan-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(210, 105, 30, 0.15);
}

.paguyupan-logo {
    text-align: center;
    margin-bottom: 1rem;
}

.paguyupan-logo img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 50%;
    border: 3px solid #d2691e;
}

.paguyupan-icon {
    text-align: center;
    margin-bottom: 1rem;
}

.paguyupan-icon i {
    font-size: 3rem;
    color: #d2691e;
    background: rgba(210, 105, 30, 0.1);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.paguyupan-content h3 {
    font-size: 1.2rem;
    font-weight: bold;
    color: #2c3e50;
    margin-bottom: 0.75rem;
    text-align: center;
    line-height: 1.4;
}

.paguyupan-meta {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.jenis-seni,
.tahun-bergabung {
    font-size: 0.85rem;
    color: #666;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.jenis-seni i,
.tahun-bergabung i {
    color: #d2691e;
    width: 14px;
}

.jenis-seni {
    background: rgba(210, 105, 30, 0.1);
    padding: 0.3rem 0.7rem;
    border-radius: 20px;
    font-weight: 500;
    width: fit-content;
}

.ketua {
    font-size: 0.9rem;
    color: #555;
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.ketua i {
    color: #d2691e;
    width: 14px;
}

.deskripsi {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.5;
    margin-bottom: 1rem;
}

.paguyupan-contact {
    text-align: center;
    margin-top: 1rem;
}

.contact-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: linear-gradient(45deg, #d2691e, #ff8c42);
    color: white;
    text-decoration: none;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.contact-btn:hover {
    background: linear-gradient(45deg, #b8571a, #e67a37);
    transform: scale(1.05);
    color: white;
}

.paguyupan-summary {
    text-align: center;
    margin-top: 2rem;
    padding: 2rem;
    background: rgba(210, 105, 30, 0.05);
    border-radius: 12px;
    border: 1px solid rgba(210, 105, 30, 0.1);
}

.summary-stat {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.1rem;
    color: #2c3e50;
}

.summary-stat i {
    font-size: 1.5rem;
    color: #d2691e;
    background: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(210, 105, 30, 0.2);
}

/* Responsive Paguyupan Section */
@media (max-width: 768px) {
    .paguyupan-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .paguyupan-card {
        padding: 1.25rem;
    }
    
    .paguyupan-meta {
        align-items: flex-start;
    }
    
    .summary-stat {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .paguyupan-section {
        padding: 2rem 0;
    }
    
    .paguyupan-content h3 {
        font-size: 1.1rem;
    }
    
    .paguyupan-summary {
        padding: 1.5rem;
        margin-top: 1.5rem;
    }
}

/* ====================================
   PAGUYUPAN PAGE STYLES
   ==================================== */

.paguyupan-page {
    padding: 2rem 0;
}

.page-header {
    margin-bottom: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.header-content-center {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 100%;
    gap: 1rem;
}

.header-content-center h1 {
    margin: 0;
    font-size: 2.5rem;
    font-weight: 700;
    color: white;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    justify-content: center;
}

.header-content-center .subtitle {
    margin: 0;
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 400;
}

.header-content-center .btn {
    margin-top: 0.5rem;
}

/* Responsive adjustments for mobile and tablet */
@media (max-width: 768px) {
    .header-content-center .title {
        font-size: 1.75rem;
        gap: 0.5rem;
    }
    
    .header-content-center .subtitle {
        font-size: 1rem;
        text-align: center;
    }
    
    .header-content-center .btn {
        width: 100%;
        margin-top: 1rem;
    }
}

@media (max-width: 480px) {
    .header-content-center .title {
        font-size: 1.5rem;
        flex-direction: column;
        gap: 0.25rem;
    }
    
    .header-content-center .title i {
        font-size: 1.75rem;
    }
    
    .header-content-center .subtitle {
        font-size: 0.9rem;
    }
}

/* Detail Berita Styles */
.detail-berita {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem 1rem;
}

.detail-berita .page-title {
    font-size: 2rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.detail-berita .tanggal {
    font-size: 0.9rem;
    color: #7f8c8d;
    margin-bottom: 1.5rem;
    font-style: italic;
}

.gambar-berita {
    margin: 2rem 0;
    text-align: center;
}

.img-berita {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.img-berita:hover {
    transform: scale(1.02);
}

.konten-berita {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #2c3e50;
    margin: 2rem 0;
}

.konten-berita p {
    margin-bottom: 1.5rem;
}

.btn-kembali {
    display: inline-block;
    background: #3498db;
    color: white;
    padding: 0.75rem 1.5rem;
    text-decoration: none;
    border-radius: 6px;
    margin-top: 2rem;
    transition: background-color 0.3s ease;
}

.btn-kembali:hover {
    background: #2980b9;
    color: white;
}

.title-container {
    flex-grow: 1;
}

.header-actions {
    margin-left: 20px;
}

/* Paguyupan Page Styles */
.paguyupan-page .page-header {
    background-color: #fff;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    margin-bottom: 2rem;
}

.quick-stats-row {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 1.5rem;
}

.quick-stat {
    background-color: #f8f9fa;
    border-radius: 8px;
    padding: 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    flex: 1;
    min-width: 200px;
}

.quick-stat i {
    font-size: 1.8rem;
    color: #d2691e;
}

.stat-number {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: #2c3e50;
}

.stat-label {
    display: block;
    font-size: 0.85rem;
    color: #6c757d;
}

.filter-section {
    background-color: #fff;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    margin-bottom: 1.5rem;
}

.filter-grid {
    display: grid;
    grid-template-columns: minmax(200px, 1fr) minmax(150px, auto) minmax(150px, auto) auto;
    gap: 1rem;
    align-items: center;
}

.search-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.search-input-wrapper i {
    position: absolute;
    left: 12px;
    color: #6c757d;
}

.search-input-wrapper input {
    width: 100%;
    padding: 0.75rem 0.75rem 0.75rem 2.5rem;
    border: 1px solid #ced4da;
    border-radius: 8px;
}

.filter-group select {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ced4da;
    border-radius: 8px;
}

.filter-actions {
    display: flex;
    gap: 0.5rem;
}

.btn-search {
    background-color: #d2691e;
    color: white;
}

.btn-reset {
    background-color: #6c757d;
    color: white;
}

.results-info {
    margin-bottom: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.active-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    align-items: center;
}

.filter-tag {
    background-color: #fff3cd;
    color: #856404;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
}

.paguyupan-table {
    width: 100%;
}

.logo-cell {
    width: 70px;
}

.paguyupan-logo {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid #e9ecef;
}

.no-logo {
    width: 60px;
    height: 60px;
    background-color: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    color: #adb5bd;
    font-size: 1.5rem;
}

.paguyupan-name {
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 0.25rem;
}

.paguyupan-address {
    font-size: 0.85rem;
    color: #6c757d;
}

.jenis-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    background-color: #e9ecef;
    color: #495057;
}

.contact-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: #2c3e50;
    text-decoration: none;
}

.contact-link:hover {
    color: #d2691e;
}

.status-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
}

.status-badge.aktif {
    background-color: #d4edda;
    color: #155724;
}

.status-badge.non_aktif {
    background-color: #f8d7da;
    color: #721c24;
}

.action-buttons {
    display: flex;
    gap: 0.5rem;
}

.btn-view {
    background-color: #17a2b8;
    color: white;
}

.pagination-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1.5rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.pagination {
    display: flex;
    gap: 0.5rem;
}

.page-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background-color: #f8f9fa;
    color: #495057;
    text-decoration: none;
    transition: all 0.2s ease;
}

.page-btn:hover {
    background-color: #e9ecef;
}

.page-btn.active {
    background-color: #d2691e;
    color: white;
}

.pagination-info {
    font-size: 0.9rem;
    color: #6c757d;
}

.empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 3rem 0;
}

.empty-state i {
    font-size: 3rem;
    color: #d2691e;
    margin-bottom: 1rem;
}

.empty-state p {
    font-size: 1.2rem;
    color: #6c757d;
    margin-bottom: 1.5rem;
}

.detail-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1.5rem;
}

.detail-section {
    background-color: #f8f9fa;
    border-radius: 8px;
    padding: 1rem;
}

.detail-section.full-width {
    grid-column: 1 / -1;
}

.detail-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.detail-logo {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 8px;
}

.detail-icon {
    width: 80px;
    height: 80px;
    background-color: #e9ecef;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    color: #d2691e;
    font-size: 2rem;
}

.detail-info h4 {
    margin: 0 0 0.5rem 0;
    color: #2c3e50;
}

.detail-section h5 {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0 0 0.5rem 0;
    color: #495057;
    font-size: 0.9rem;
    font-weight: 600;
}

.detail-section p {
    margin: 0;
    color: #2c3e50;
}

.current-logo-preview {
    margin-top: 1rem;
    padding: 1rem;
    background-color: #f8f9fa;
    border-radius: 8px;
}

@media (max-width: 992px) {
    .filter-grid {
        grid-template-columns: 1fr 1fr;
    }
    .filter-actions {
        grid-column: 1 / -1;
        justify-content: flex-end;
    }
}

@media (max-width: 768px) {
    .filter-grid {
        grid-template-columns: 1fr;
    }
    .filter-actions {
        justify-content: stretch;
    }
    .btn {
        flex: 1;
    }
    .quick-stats-row {
        flex-direction: column;
    }
    .pagination-wrapper {
        flex-direction: column;
    }
    .pagination {
        margin: 0 auto;
    }
}

.header-content {
    text-align: center;
    margin-bottom: 2rem;
}

.page-title {
    font-size: 2.5rem;
    font-weight: bold;
    color: #2c3e50;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.page-title i {
    color: #d2691e;
}

.page-subtitle {
    font-size: 1.1rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.quick-stats-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.quick-stat {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    display: flex;
    align-items: center;
    gap: 1rem;
    border-left: 4px solid #d2691e;
}

.quick-stat i {
    font-size: 2rem;
    color: #d2691e;
    background: rgba(210, 105, 30, 0.1);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.quick-stat .stat-number {
    font-size: 1.8rem;
    font-weight: bold;
    color: #2c3e50;
    display: block;
}

.quick-stat .stat-label {
    font-size: 0.9rem;
    color: #666;
    display: block;
}

/* Filter Section */
.filter-section {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    margin-bottom: 1.5rem;
}

.filter-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr auto;
    gap: 1rem;
    align-items: end;
}

.search-input-wrapper {
    position: relative;
}

.search-input-wrapper i {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: #666;
}

.search-input-wrapper input {
    width: 100%;
    padding: 0.75rem 1rem 0.75rem 2.5rem;
    border: 2px solid #e1e5e9;
    border-radius: 8px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.search-input-wrapper input:focus {
    border-color: #d2691e;
    outline: none;
    box-shadow: 0 0 0 3px rgba(210, 105, 30, 0.1);
}

.filter-group select {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid #e1e5e9;
    border-radius: 8px;
    font-size: 0.9rem;
    background: white;
    transition: all 0.3s ease;
}

.filter-group select:focus {
    border-color: #d2691e;
    outline: none;
    box-shadow: 0 0 0 3px rgba(210, 105, 30, 0.1);
}

.filter-actions {
    display: flex;
    gap: 0.5rem;
}

.btn-search, .btn-reset {
    padding: 0.75rem 1rem;
    border: none;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-search {
    background: #d2691e;
    color: white;
}

.btn-search:hover {
    background: #b8571a;
    transform: translateY(-1px);
}

.btn-reset {
    background: #6c757d;
    color: white;
}

.btn-reset:hover {
    background: #545b62;
    color: white;
    transform: translateY(-1px);
}

/* Results Info */
.results-info {
    margin-bottom: 1rem;
    color: #666;
}

.active-filters {
    margin-top: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.filter-tag {
    background: rgba(210, 105, 30, 0.1);
    color: #d2691e;
    padding: 0.25rem 0.5rem;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 500;
}

/* Paguyupan Table */
.paguyupan-table {
    font-size: 0.9rem;
}

.logo-cell {
    text-align: center;
    width: 60px;
}

.paguyupan-logo {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #d2691e;
}

.no-logo {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(210, 105, 30, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

.no-logo i {
    color: #d2691e;
    font-size: 1.2rem;
}

.name-cell {
    min-width: 200px;
}

.paguyupan-name {
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 0.25rem;
}

.paguyupan-address {
    font-size: 0.8rem;
    color: #666;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.paguyupan-address i {
    color: #d2691e;
    font-size: 0.7rem;
}

.jenis-badge {
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.jenis-badge.tari { background: rgba(156, 39, 176, 0.1); color: #9c27b0; }
.jenis-badge.musik { background: rgba(76, 175, 80, 0.1); color: #4caf50; }
.jenis-badge.seni-rupa { background: rgba(255, 152, 0, 0.1); color: #ff9800; }
.jenis-badge.teater { background: rgba(233, 30, 99, 0.1); color: #e91e63; }
.jenis-badge.sastra { background: rgba(63, 81, 181, 0.1); color: #3f51b5; }
.jenis-badge.karawitan { background: rgba(205, 220, 57, 0.1); color: #cddc39; }
.jenis-badge.batik { background: rgba(255, 87, 34, 0.1); color: #ff5722; }
.jenis-badge.lukis { background: rgba(103, 58, 183, 0.1); color: #673ab7; }
.jenis-badge.film { background: rgba(121, 85, 72, 0.1); color: #795548; }
.jenis-badge.fotografi { background: rgba(96, 125, 139, 0.1); color: #607d8b; }
.jenis-badge.kriya { background: rgba(255, 193, 7, 0.1); color: #ffc107; }
.jenis-badge.sejarah { background: rgba(139, 69, 19, 0.1); color: #8b4513; }
.jenis-badge.budaya { background: rgba(75, 0, 130, 0.1); color: #4b0082; }
.jenis-badge.lainnya { background: rgba(158, 158, 158, 0.1); color: #9e9e9e; }

.contact-cell {
    min-width: 150px;
}

.contact-link {
    color: #d2691e;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
}

.contact-link:hover {
    color: #b8571a;
}

.no-contact {
    color: #999;
}

.center {
    text-align: center;
}

.action-buttons {
    display: flex;
    gap: 0.25rem;
}

.btn-view, .btn-edit, .btn-delete {
    padding: 0.5rem;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
}

.btn-view {
    background: #17a2b8;
    color: white;
}

.btn-view:hover {
    background: #138496;
    transform: scale(1.1);
}

.btn-edit {
    background: #28a745;
    color: white;
}

.btn-edit:hover {
    background: #218838;
    transform: scale(1.1);
}

.btn-delete {
    background: #dc3545;
    color: white;
}

.btn-delete:hover {
    background: #c82333;
    transform: scale(1.1);
}

/* Pagination */
.pagination-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 2rem;
    padding: 1rem 0;
}

.pagination {
    display: flex;
    gap: 0.25rem;
}

.page-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 1px solid #e1e5e9;
    background: white;
    color: #666;
    text-decoration: none;
    border-radius: 6px;
    transition: all 0.3s ease;
    font-weight: 500;
}

.page-btn:hover {
    border-color: #d2691e;
    color: #d2691e;
    background: rgba(210, 105, 30, 0.05);
}

.page-btn.active {
    background: #d2691e;
    color: white;
    border-color: #d2691e;
}

.pagination-info {
    color: #666;
    font-size: 0.9rem;
}

/* Modal Detail */
.modal-lg .modal-content {
    max-width: 700px;
}

.detail-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.detail-section {
    background: #f8f9fa;
    padding: 1rem;
    border-radius: 8px;
    border-left: 4px solid #d2691e;
}

.detail-section.full-width {
    grid-column: 1 / -1;
}

.detail-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.detail-logo {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #d2691e;
}

.detail-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(210, 105, 30, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
}

.detail-icon i {
    font-size: 1.5rem;
    color: #d2691e;
}

.detail-info h4 {
    font-size: 1.3rem;
    font-weight: bold;
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.detail-section h5 {
    font-size: 0.9rem;
    font-weight: 600;
    color: #d2691e;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.detail-section h5 i {
    width: 16px;
}

.detail-section p {
    color: #555;
    line-height: 1.5;
    margin: 0;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .filter-grid {
        grid-template-columns: 1fr 1fr;
        gap: 1rem;
    }
    
    .search-group {
        grid-column: 1 / -1;
    }
    
    .filter-actions {
        grid-column: 1 / -1;
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .page-title {
        font-size: 2rem;
    }
    
    .quick-stats-row {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .filter-grid {
        grid-template-columns: 1fr;
    }
    
    .paguyupan-table {
        font-size: 0.8rem;
    }
    
    .paguyupan-table th,
    .paguyupan-table td {
        padding: 0.5rem 0.25rem;
    }
    
    .name-cell {
        min-width: 150px;
    }
    
    .contact-cell {
        min-width: 120px;
    }
    
    .action-buttons {
        flex-direction: column;
        gap: 0.25rem;
    }
    
    .pagination-wrapper {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .detail-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .paguyupan-page {
        padding: 1rem 0;
    }
    
    .page-title {
        font-size: 1.5rem;
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .filter-section {
        padding: 1rem;
    }
    
    .quick-stat {
        padding: 1rem;
    }
    
    .quick-stat .stat-number {
        font-size: 1.5rem;
    }
}

/* Gallery & E-Commerce Styles */
.gallery-page {
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px;
}

.page-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding: 30px 0;
    border-bottom: 2px solid #e5e7eb;
}

.header-content {
    flex: 1;
}

.page-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.page-subtitle {
    font-size: 1.1rem;
    color: #6b7280;
    margin: 0;
}

.view-toggle {
    display: flex;
    gap: 10px;
    background: #f3f4f6;
    padding: 5px;
    border-radius: 50px;
}

.toggle-btn {
    padding: 12px 20px;
    border-radius: 45px;
    text-decoration: none;
    color: #6b7280;
    font-weight: 500;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.toggle-btn.active {
    background: #3b82f6;
    color: white;
    box-shadow: 0 2px 10px rgba(59, 130, 246, 0.3);
}

.toggle-btn:hover:not(.active) {
    background: #e5e7eb;
    color: #374151;
}

.filter-section {
    background: white;
    border-radius: 15px;
    padding: 25px;
    margin-bottom: 30px;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.filter-form {
    width: 100%;
}

.filter-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr auto;
    gap: 20px;
    align-items: center;
}

.search-group {
    position: relative;
}

.search-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.search-input-wrapper i {
    position: absolute;
    left: 15px;
    color: #9ca3af;
    z-index: 1;
}

.search-input-wrapper input {
    width: 100%;
    padding: 12px 15px 12px 45px;
    border: 2px solid #e5e7eb;
    border-radius: 50px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.search-input-wrapper input:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.filter-group select {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e5e7eb;
    border-radius: 10px;
    font-size: 1rem;
    background: white;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-group select:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.btn-search {
    padding: 12px 25px;
    background: #3b82f6;
    color: white;
    border: none;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}

.btn-search:hover {
    background: #2563eb;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(59, 130, 246, 0.4);
}

.products-section {
    margin-top: 30px;
}

.results-info {
    margin-bottom: 20px;
    color: #6b7280;
    font-size: 1rem;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 25px;
    margin-bottom: 40px;
}

.product-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

/* Admin actions for products */
.admin-actions {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 10;
    display: flex;
    gap: 5px;
}

.edit-product-btn {
    background-color: #ffffff;
    color: #d2691e;
    border: none;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.edit-product-btn:hover {
    background-color: #d2691e;
    color: #ffffff;
    transform: rotate(15deg);
}

.delete-product-btn {
    background-color: #ffffff;
    color: #dc3545;
    border: none;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.delete-product-btn:hover {
    background-color: #dc3545;
    color: #ffffff;
    transform: rotate(15deg);
}

.product-image {
    position: relative;
    width: 100%;
    height: 250px;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.3s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.05);
}

.no-image {
    width: 100%;
    height: 100%;
    background: #f3f4f6;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #9ca3af;
}

.no-image i {
    font-size: 3rem;
    margin-bottom: 10px;
}

.featured-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: linear-gradient(135deg, #f59e0b, #f97316);
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 5px;
    z-index: 2;
}

.type-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    color: white;
    padding: 5px 10px;
    border-radius: 15px;
    font-size: 0.75rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 4px;
    z-index: 2;
}

.type-badge.gallery {
    background: linear-gradient(135deg, #8b5cf6, #a855f7);
}

.type-badge.commerce {
    background: linear-gradient(135deg, #10b981, #059669);
}

/* View Toggle Section */
.view-toggle-section {
    margin: 2rem 0;
    display: flex;
    justify-content: center;
}

.view-toggle {
    display: flex;
    background: #f8f9fa;
    border-radius: 12px;
    padding: 4px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.toggle-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    color: #6b7280;
    font-weight: 500;
    transition: all 0.3s ease;
    border: none;
    background: transparent;
    cursor: pointer;
}

.toggle-btn:hover {
    color: #d2691e;
    background: rgba(210, 105, 30, 0.1);
}

.toggle-btn.active {
    background: linear-gradient(135deg, #d2691e, #cd853f);
    color: white;
    box-shadow: 0 2px 8px rgba(210, 105, 30, 0.3);
}

.toggle-btn.active:hover {
    color: white;
}

.sold-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3;
}

.sold-overlay span {
    background: #ef4444;
    color: white;
    padding: 10px 20px;
    border-radius: 25px;
    font-weight: 700;
    font-size: 1.1rem;
}

.product-content {
    padding: 20px;
}

.product-category {
    color: #3b82f6;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.product-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 10px;
    line-height: 1.3;
}

.product-artist {
    color: #6b7280;
    font-size: 0.95rem;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.product-description {
    color: #4b5563;
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 15px;
}

.product-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 15px;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 5px;
    color: #6b7280;
    font-size: 0.85rem;
}

.product-price {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 15px;
    border-top: 1px solid #e5e7eb;
}

.price {
    font-size: 1.25rem;
    font-weight: 700;
    color: #059669;
}

.btn-add-cart {
    background: #10b981;
    color: white;
    border: none;
    padding: 8px 15px;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 5px;
}

.btn-add-cart:hover {
    background: #059669;
    transform: translateY(-1px);
}

.empty-state {
    text-align: center;
    padding: 60px 20px;
    grid-column: 1 / -1;
}

.empty-state i {
    font-size: 4rem;
    color: #d1d5db;
    margin-bottom: 20px;
}

.empty-state h3 {
    font-size: 1.5rem;
    color: #374151;
    margin-bottom: 10px;
}

.empty-state p {
    color: #6b7280;
    margin-bottom: 20px;
}

/* Cart Sidebar */
.cart-sidebar {
    position: fixed;
    top: 0;
    right: -400px;
    width: 400px;
    height: 100vh;
    background: white;
    box-shadow: -5px 0 25px rgba(0, 0, 0, 0.1);
    transition: right 0.3s ease;
    z-index: 1000;
    display: flex;
    flex-direction: column;
}

.cart-sidebar.active {
    right: 0;
}

.cart-header {
    padding: 20px;
    border-bottom: 2px solid #e5e7eb;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cart-header h3 {
    margin: 0;
    color: #1f2937;
    display: flex;
    align-items: center;
    gap: 10px;
}

.close-cart {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #6b7280;
    transition: color 0.3s ease;
}

.close-cart:hover {
    color: #374151;
}

.cart-content {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
}

.cart-footer {
    padding: 20px;
    border-top: 2px solid #e5e7eb;
}

.cart-total {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 15px;
}

.btn-checkout {
    width: 100%;
    padding: 12px;
    font-size: 1.1rem;
    font-weight: 600;
}

.btn-checkout:disabled {
    background: #d1d5db;
    cursor: not-allowed;
}

.cart-toggle {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: #3b82f6;
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    box-shadow: 0 5px 20px rgba(59, 130, 246, 0.4);
    transition: all 0.3s ease;
    z-index: 999;
}

.cart-toggle:hover {
    background: #2563eb;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.5);
}

.cart-count {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #ef4444;
    color: white;
    border-radius: 50%;
    width: 25px;
    height: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 700;
}

/* Product Modal */
.product-modal .modal-content {
    max-width: 1000px;
    max-height: 90vh;
    overflow-y: auto;
}

/* Pagination */
.pagination-wrapper {
    display: flex;
    justify-content: center;
    margin-top: 40px;
}

.pagination {
    display: flex;
    gap: 5px;
    align-items: center;
}

.page-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 2px solid #e5e7eb;
    background: white;
    color: #6b7280;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.page-btn:hover {
    border-color: #3b82f6;
    color: #3b82f6;
}

.page-btn.active {
    background: #3b82f6;
    color: white;
    border-color: #3b82f6;
}

/* Notifications */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 15px 20px;
    border-radius: 10px;
    color: white;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 10000;
    opacity: 0;
    transform: translateX(100%);
    transition: all 0.3s ease;
}

.notification.show {
    opacity: 1;
    transform: translateX(0);
}

.notification.success {
    background: #10b981;
}

.notification.error {
    background: #ef4444;
}

.notification.info {
    background: #3b82f6;
}

/* Gallery Mobile Responsive */
@media (max-width: 768px) {
    .gallery-page {
        padding: 10px;
    }
    
    .page-header {
        flex-direction: column;
        align-items: stretch;
        gap: 20px;
        text-align: center;
    }
    
    .page-title {
        font-size: 2rem;
    }
    
    .filter-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
        gap: 20px;
    }
    
    .cart-sidebar {
        width: 100vw;
        right: -100vw;
    }
    
    .cart-toggle {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
}

/* Cart Item Styles */
.cart-item {
    display: flex;
    gap: 15px;
    padding: 15px 0;
    border-bottom: 1px solid #e5e7eb;
    position: relative;
}

.cart-item:last-child {
    border-bottom: none;
}

.cart-item-image {
    width: 80px;
    height: 80px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
}

.cart-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cart-item-image .no-image {
    width: 100%;
    height: 100%;
    background: #f3f4f6;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #9ca3af;
}

.cart-item-details {
    flex: 1;
}

.cart-item-details h4 {
    font-size: 1rem;
    font-weight: 600;
    margin: 0 0 5px 0;
    color: #1f2937;
}

.cart-item-price {
    font-size: 0.9rem;
    color: #059669;
    font-weight: 600;
    margin: 0 0 10px 0;
}

.quantity-controls {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
}

.qty-btn {
    width: 30px;
    height: 30px;
    border: 1px solid #d1d5db;
    background: white;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.2s ease;
}

.qty-btn:hover {
    background: #f3f4f6;
    border-color: #9ca3af;
}

.quantity {
    font-weight: 600;
    color: #374151;
    min-width: 20px;
    text-align: center;
}

.cart-item-subtotal {
    font-size: 0.9rem;
    color: #374151;
    font-weight: 600;
    margin: 0;
}

.remove-item {
    position: absolute;
    top: 15px;
    right: 0;
    background: none;
    border: none;
    color: #ef4444;
    font-size: 1rem;
    cursor: pointer;
    padding: 5px;
    border-radius: 4px;
    transition: background 0.2s ease;
}

.remove-item:hover {
    background: #fee2e2;
}

.empty-cart {
    text-align: center;
    padding: 40px 20px;
    color: #9ca3af;
}

.empty-cart i {
    font-size: 3rem;
    margin-bottom: 15px;
}

.empty-cart p {
    margin: 0;
    font-size: 1.1rem;
}

/* Product Detail Modal Styles */
.product-detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 30px;
}

.product-images {
    position: relative;
}

.main-image {
    width: 100%;
    height: 400px;
    border-radius: 15px;
    overflow: hidden;
    margin-bottom: 15px;
    background: #f3f4f6;
}

.main-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.main-image .no-image {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #9ca3af;
}

.main-image .no-image i {
    font-size: 4rem;
    margin-bottom: 10px;
}

.image-thumbnails {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.thumbnail {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 8px;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.thumbnail:hover {
    border-color: #3b82f6;
    transform: scale(1.05);
}

.product-info {
    padding-left: 20px;
}

.product-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.product-category {
    display: flex;
    align-items: center;
    gap: 5px;
    color: #3b82f6;
    font-weight: 600;
    font-size: 0.9rem;
}

.featured-badge {
    background: linear-gradient(135deg, #f59e0b, #f97316);
    color: white;
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 5px;
}

.product-info h2 {
    font-size: 2rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 10px;
    line-height: 1.2;
}

.artist-name {
    color: #6b7280;
    font-size: 1rem;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.product-description {
    margin-bottom: 25px;
}

.product-description h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #374151;
    margin-bottom: 10px;
}

.product-description p {
    color: #4b5563;
    line-height: 1.6;
    margin: 0;
}

.product-specs {
    background: #f9fafb;
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 25px;
}

.spec-item {
    margin-bottom: 8px;
    color: #374151;
}

.spec-item:last-child {
    margin-bottom: 0;
}

.spec-item strong {
    color: #1f2937;
    display: inline-block;
    min-width: 80px;
}

.product-tags {
    margin-bottom: 25px;
}

.product-tags h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #374151;
    margin-bottom: 10px;
}

.tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tag {
    background: #e5e7eb;
    color: #374151;
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 0.85rem;
    font-weight: 500;
}

.product-purchase {
    border-top: 2px solid #e5e7eb;
    padding-top: 25px;
}

.price-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.price {
    font-size: 2rem;
    font-weight: 700;
    color: #059669;
}

.status {
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: capitalize;
}

.status-tersedia {
    background: #d1fae5;
    color: #059669;
}

.status-terjual {
    background: #fee2e2;
    color: #dc2626;
}

.status-draft {
    background: #f3f4f6;
    color: #6b7280;
}

.purchase-actions {
    display: flex;
    gap: 15px;
}

.btn-add-to-cart,
.btn-buy-now {
    flex: 1;
    padding: 12px 20px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 10px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-add-to-cart {
    background: #3b82f6;
    color: white;
}

.btn-add-to-cart:hover {
    background: #2563eb;
    transform: translateY(-2px);
}

.btn-buy-now {
    background: #10b981;
    color: white;
}

.btn-buy-now:hover {
    background: #059669;
    transform: translateY(-2px);
}

.product-reviews {
    border-top: 2px solid #e5e7eb;
    padding-top: 30px;
}

.product-reviews h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.reviews-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.review-item {
    background: #f9fafb;
    padding: 20px;
    border-radius: 10px;
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.reviewer-name {
    font-weight: 600;
    color: #1f2937;
}

.review-rating {
    color: #f59e0b;
    font-size: 1.1rem;
}

.review-date {
    color: #6b7280;
    font-size: 0.9rem;
}

.review-comment {
    color: #4b5563;
    line-height: 1.5;
    margin: 0;
}

/* Mobile Responsive for Product Detail */
@media (max-width: 768px) {
    .product-detail-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .product-info {
        padding-left: 0;
    }
    
    .product-info h2 {
        font-size: 1.5rem;
    }
    
    .price {
        font-size: 1.5rem;
    }
    
    .purchase-actions {
        flex-direction: column;
    }
    
    .review-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }
}

/* Product Management Admin Styles */
.product-thumb {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 8px;
    border: 2px solid #e5e7eb;
}

.no-image-thumb {
    width: 60px;
    height: 60px;
    background: #f3f4f6;
    border-radius: 8px;
    border: 2px solid #e5e7eb;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #9ca3af;
}

.product-name {
    font-weight: 600;
    color: #1f2937;
    max-width: 200px;
    word-wrap: break-word;
}

.type-badge {
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
}

.type-badge.gallery {
    background: #dbeafe;
    color: #1e40af;
}

.type-badge.commerce {
    background: #d1fae5;
    color: #065f46;
}

.image-upload-section {
    margin-top: 20px;
    padding: 20px;
    border: 2px dashed #d1d5db;
    border-radius: 10px;
    background: #f9fafb;
}

.upload-area {
    position: relative;
    min-height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.upload-area:hover {
    border-color: #3b82f6;
    background: #eff6ff;
}

.upload-area input[type="file"] {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}

.upload-text {
    text-align: center;
    color: #6b7280;
}

.upload-text i {
    font-size: 3rem;
    margin-bottom: 10px;
    color: #9ca3af;
}

.upload-text p {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 5px;
}

.upload-text small {
    color: #9ca3af;
}

.image-preview-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 15px;
    margin-top: 20px;
}

.preview-item {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.preview-item img {
    width: 100%;
    height: 120px;
    object-fit: cover;
}

.preview-remove {
    position: absolute;
    top: 5px;
    right: 5px;
    background: #ef4444;
    color: white;
    border: none;
    border-radius: 50%;
    width: 25px;
    height: 25px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    opacity: 0.9;
    transition: opacity 0.3s ease;
}

.preview-remove:hover {
    opacity: 1;
}

.primary-badge {
    position: absolute;
    bottom: 5px;
    left: 5px;
    background: #10b981;
    color: white;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 600;
}

.modal-xl {
    max-width: 1200px;
    width: 95%;
}

/* Admin Product Stats */
.product-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.stat-card {
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
    border-left: 4px solid #3b82f6;
}

.stat-card.gallery {
    border-left-color: #8b5cf6;
}

.stat-card.commerce {
    border-left-color: #10b981;
}

.stat-card.sold {
    border-left-color: #f59e0b;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1f2937;
    display: block;
    margin-bottom: 5px;
}

.stat-label {
    color: #6b7280;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
}

.stat-icon {
    font-size: 2rem;
    margin-bottom: 10px;
    opacity: 0.7;
}

.stat-card.gallery .stat-icon {
    color: #8b5cf6;
}

.stat-card.commerce .stat-icon {
    color: #10b981;
}

.stat-card.sold .stat-icon {
    color: #f59e0b;
}

/* Add Product Modal */
.admin-btn {
    background: linear-gradient(135deg, #10b981, #059669) !important;
    color: white !important;
    border: none !important;
    margin-left: 10px;
}

.admin-btn:hover {
    background: linear-gradient(135deg, #059669, #047857) !important;
    transform: translateY(-2px);
}

#addProductModal .modal-content {
    max-width: 800px;
    max-height: 90vh;
    overflow-y: auto;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-group label {
    font-weight: 600;
    color: #374151;
    margin-bottom: 8px;
    font-size: 0.9rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 12px;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    background: white;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.form-group small {
    color: #6b7280;
    font-size: 0.8rem;
    margin-top: 4px;
}

.checkbox-label {
    display: flex !important;
    flex-direction: row !important;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
    width: auto;
    margin: 0;
}

.modal-footer {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    padding: 20px 0 0 0;
    border-top: 1px solid #e5e7eb;
    margin-top: 20px;
}

.btn-secondary {
    padding: 12px 24px;
    background: #f3f4f6;
    color: #374151;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: #e5e7eb;
}

.btn-primary {
    padding: 12px 24px;
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    transform: translateY(-1px);
}

/* Responsive modal */
@media (max-width: 768px) {
    .form-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    #addProductModal .modal-content {
        margin: 10px;
        max-height: 95vh;
    }
    
    .modal-footer {
        flex-direction: column;
    }
    
    .btn-primary,
    .btn-secondary {
        width: 100%;
        justify-content: center;
    }
}

/* ===== STANDARDIZED ADMIN CONTROLS ===== */
/* Universal admin controls styling for consistent edit/delete buttons across all content types */
.admin-controls {
    position: absolute;
    top: 10px;
    right: 10px;
    display: flex;
    gap: 5px;
    z-index: 999;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.admin-controls .btn {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.5);
    border: none;
    cursor: pointer;
    position: relative;
}

.admin-controls .btn-edit {
    background-color: #3b82f6;
    color: white;
}

.admin-controls .btn-edit:hover {
    background-color: #2563eb;
    transform: scale(1.1);
    color: white;
}

.admin-controls .btn-delete {
    background-color: #ef4444;
    color: white;
}

.admin-controls .btn-delete:hover {
    background-color: #dc2626;
    transform: scale(1.1);
    color: white;
}

/* Make admin controls more visible on hover */
.berita-card:hover .admin-controls,
.event-card:hover .admin-controls,
.galeri-card:hover .admin-controls,
.product-card:hover .admin-controls {
    opacity: 1;
}

/* Ensure cards have relative positioning for absolute admin controls */
.berita-card,
.event-card,
.galeri-card,
.product-card {
    position: relative;
}

/* ===== COMPREHENSIVE RESPONSIVE DESIGN ===== */

/* Large tablets and small desktops */
@media (max-width: 1200px) {
    .container {
        max-width: 95%;
        padding: 1.5rem;
    }
    
    .nav-container {
        padding: 0 1.5rem;
    }
    
    .berita-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .hero-content h1 {
        font-size: 3rem;
    }
    
    #banner-slider {
        height: 320px !important;
    }
}

/* Standard tablets */
@media (max-width: 900px) {
    /* Show mobile menu toggle, hide desktop nav */
    .mobile-menu-toggle {
        display: flex !important;
    }
    
    .nav-menu {
        display: none !important;
    }
    
    /* Grid adjustments */
    .berita-grid,
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    /* Form adjustments */
    .form-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    /* Hero adjustments */
    .hero-content {
        padding: 1.5rem;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
        line-height: 1.2;
    }
    
    .hero-content p {
        font-size: 1.1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 0.75rem;
    }
    
    .btn-cta {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }
    
    /* Banner adjustments */
    #banner-slider {
        height: 280px !important;
        margin: 0 1rem 2rem 1rem;
        border-radius: 16px;
    }
    
    .banner-center {
        padding: 20px 16px;
        width: 95%;
    }
    
    .banner-title {
        font-size: 1.8rem;
    }
    
    .banner-subtitle {
        font-size: 1.1rem;
    }
    
    /* Admin dashboard adjustments */
    .dashboard-header {
        padding: 1.5rem;
        text-align: center;
    }
    
    .welcome-section h1 {
        font-size: 1.8rem;
    }
    
    .quick-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    /* Table adjustments */
    .table-container {
        padding: 1rem;
        overflow-x: auto;
    }
    
    .modern-table {
        min-width: 600px;
    }
    
    /* Modal adjustments */
    .admin-section {
        margin: 0 1rem 2rem 1rem;
    }
    
    .form-container {
        padding: 1.5rem;
    }
}

/* Mobile phones (landscape) */
@media (max-width: 768px) {
    /* Base adjustments */
    body {
        font-size: 14px;
    }
    
    .container {
        padding: 1rem;
    }
    
    /* Navigation mobile */
    .nav-container {
        padding: 0 1rem;
        height: 55px;
    }
    
    .main-content {
        margin-top: 55px;
    }
    
    .brand-text {
        font-size: 0.8rem;
    }
    
    .brand-logo {
        width: 16px;
        height: 16px;
    }
    
    /* Hero mobile */
    .hero {
        min-height: 50vh;
        margin-bottom: 2rem;
        border-radius: 16px;
    }
    
    .hero-content {
        padding: 1rem;
    }
    
    .hero-content h1 {
        font-size: 2rem;
        margin-bottom: 0.75rem;
    }
    
    .hero-content p {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .hero-badge {
        font-size: 0.8rem;
        padding: 6px 12px;
        margin-bottom: 1rem;
    }
    
    /* Banner mobile */
    #banner-slider {
        height: 220px !important;
        margin: 0 0.5rem 1.5rem 0.5rem;
        border-radius: 12px;
    }
    
    #banner-slider button {
        width: 32px;
        height: 32px;
        font-size: 0.9rem;
    }
    
    #banner-slider .dot {
        width: 8px !important;
        height: 8px !important;
        margin: 0 3px !important;
    }
    
    .banner-center {
        padding: 12px 8px;
        width: 98%;
    }
    
    .banner-title {
        font-size: 1.3rem;
        margin-bottom: 8px;
    }
    
    .banner-subtitle {
        font-size: 0.95rem;
        margin-bottom: 6px;
    }
    
    .banner-desc {
        font-size: 0.9rem;
    }
    
    /* Content cards mobile */
    .berita-card-content {
        padding: 1rem 0.875rem;
    }
    
    .berita-card-content h3 {
        font-size: 1.1rem;
        line-height: 1.3;
    }
    
    .berita-card-content .excerpt {
        font-size: 0.9rem;
        line-height: 1.4;
    }
    
    .card-image {
        height: 160px;
    }
    
    /* Stats mobile */
    .quick-stats {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }
    
    .stat-item {
        padding: 0.75rem;
    }
    
    .stat-item .number {
        font-size: 1.25rem;
    }
    
    .stat-item .label {
        font-size: 0.8rem;
    }
    
    /* Forms mobile */
    .form-container {
        padding: 1rem;
    }
    
    .section-header {
        padding: 1rem;
    }
    
    .section-header h2 {
        font-size: 1.25rem;
    }
    
    /* Buttons mobile */
    .btn {
        padding: 0.625rem 1.25rem;
        font-size: 0.9rem;
    }
    
    .btn-add-centered {
        padding: 0.625rem 1.5rem;
        font-size: 0.9rem;
    }
    
    /* Admin controls mobile */
    .admin-controls {
        top: 8px;
        right: 8px;
        gap: 4px;
    }
    
    .admin-controls .btn {
        width: 30px;
        height: 30px;
        font-size: 12px;
    }
    
    /* Table mobile */
    .modern-table th,
    .modern-table td {
        padding: 0.75rem 0.5rem;
        font-size: 0.85rem;
    }
    
    .table-image {
        width: 40px;
        height: 40px;
    }
    
    /* Event cards mobile */
    .event-header {
        padding: 1rem;
    }
    
    .event-header h3 {
        font-size: 1.2rem;
    }
    
    .event-meta {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .event-meta span {
        font-size: 0.8rem;
    }
    
    .event-description {
        padding: 1rem;
    }
}

/* Small mobile phones */
@media (max-width: 480px) {
    /* Ultra-compact mobile */
    .container {
        padding: 0.75rem;
    }
    
    .nav-container {
        padding: 0 0.75rem;
    }
    
    /* Hero ultra-mobile */
    .hero-content h1 {
        font-size: 1.75rem;
        line-height: 1.1;
    }
    
    .hero-content p {
        font-size: 0.95rem;
    }
    
    /* Banner ultra-mobile */
    #banner-slider {
        height: 180px !important;
        margin: 0 0.25rem 1rem 0.25rem;
    }
    
    .banner-title {
        font-size: 1.1rem;
    }
    
    .banner-subtitle {
        font-size: 0.85rem;
    }
    
    .banner-desc {
        font-size: 0.8rem;
    }
    
    /* Content ultra-mobile */
    .berita-card-content {
        padding: 0.75rem;
    }
    
    .berita-card-content h3 {
        font-size: 1rem;
    }
    
    .card-image {
        height: 140px;
    }
    
    /* Forms ultra-mobile */
    .form-container {
        padding: 0.75rem;
    }
    
    .section-header {
        padding: 0.75rem;
    }
    
    .section-header h2 {
        font-size: 1.1rem;
    }
    
    /* Page titles ultra-mobile */
    .page-title-centered {
        font-size: 1.8rem;
        letter-spacing: 1px;
    }
    
    .page-subtitle {
        font-size: 1rem;
    }
    
    /* Section titles ultra-mobile */
    .section-title {
        font-size: 1.8rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
    }
}

/* Extra wide screens optimization */
@media (min-width: 1400px) {
    .container {
        max-width: 1300px;
    }
    
    .berita-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .stats-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    
    #banner-slider {
        height: 450px !important;
    }
    
    .hero {
        min-height: 70vh;
    }
    
    .hero-content h1 {
        font-size: 4rem;
    }
}

/* Print styles */
@media print {
    .main-header,
    .admin-controls,
    .btn,
    .hero-buttons,
    .nav-toggle,
    .slider-btn,
    .slider-dots {
        display: none !important;
    }
    
    .main-content {
        margin-top: 0;
    }
    
    .container {
        max-width: 100%;
        padding: 0;
    }
    
    .berita-grid,
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .berita-card,
    .event-card {
        break-inside: avoid;
        box-shadow: none;
        border: 1px solid #ddd;
    }
}
