/* Admin Login Page Styles */
.admin-login-body {
    background: linear-gradient(135deg, #2E4600 0%, #1a2900 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.admin-login-container {
    width: 100%;
    max-width: 450px;
}

.login-card {
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    animation: slideIn 0.5s ease-out;
}

.login-header {
    background: linear-gradient(135deg, #2E4600 0%, #1a2900 100%);
    color: #fff;
    padding: 40px 30px;
    text-align: center;
}

.login-logo {
    width: 120px;
    height: auto;
    margin: 0 auto 20px;
}

.login-header h1 {
    font-size: 1.8rem;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.login-header p {
    font-size: 0.95rem;
    opacity: 0.9;
}

.admin-login-form {
    padding: 40px 30px;
}

.admin-login-form .form-group {
    margin-bottom: 25px;
    position: relative;
}

.admin-login-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--secondary-color);
}

.admin-login-form label i {
    margin-right: 8px;
    color: var(--primary-color);
}

.admin-login-form input {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    transition: var(--transition);
    font-family: 'Outfit', sans-serif;
}

.admin-login-form input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1);
}

.toggle-password {
    position: absolute;
    right: 15px;
    top: 43px;
    cursor: pointer;
    color: #999;
    transition: var(--transition);
}

.toggle-password:hover {
    color: var(--primary-color);
}

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    font-size: 0.9rem;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.forgot-password {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
}

.forgot-password:hover {
    text-decoration: underline;
}

.admin-login-form .btn {
    width: 100%;
    padding: 14px;
    font-size: 1rem;
    margin-top: 10px;
}

.alert {
    padding: 12px 15px;
    border-radius: 8px;
    margin-top: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.alert-error {
    background-color: #fee;
    border: 1px solid #fcc;
    color: #c33;
}

.alert i {
    font-size: 1.2rem;
}

.login-footer {
    padding: 20px 30px;
    background-color: #f8f9fa;
    text-align: center;
}

.login-footer a {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
}

.login-footer a:hover {
    color: var(--primary-color);
}

/* Admin Dashboard Styles */
.admin-dashboard-body {
    background-color: #f5f5f5;
    font-family: 'Outfit', sans-serif;
}

.admin-navbar {
    background: linear-gradient(135deg, #2E4600 0%, #1a2900 100%);
    color: #fff;
    padding: 15px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.admin-nav-container {
    max-width: 100%;
    padding: 0 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.admin-logo {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 1.3rem;
    font-weight: 700;
}

.admin-logo img {
    height: 40px;
    width: auto;
}

.admin-nav-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.admin-welcome {
    font-size: 0.95rem;
}

.admin-welcome strong {
    color: var(--primary-color);
}

.btn-logout {
    background-color: var(--primary-color);
    color: var(--secondary-color);
    border: none;
    padding: 8px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition);
    font-family: 'Outfit', sans-serif;
}

.btn-logout:hover {
    background-color: #bfa030;
    transform: translateY(-2px);
}

.dashboard-container {
    margin-top: 75px;
    display: flex;
    min-height: calc(100vh - 75px);
}

.dashboard-sidebar {
    width: 260px;
    background-color: #fff;
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.05);
    position: fixed;
    height: calc(100vh - 75px);
    overflow-y: auto;
}

.sidebar-menu {
    padding: 20px 0;
}

.sidebar-menu li {
    margin-bottom: 5px;
}

.sidebar-menu li a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px 25px;
    color: var(--dark-text);
    text-decoration: none;
    transition: var(--transition);
    font-weight: 500;
}

.sidebar-menu li a i {
    font-size: 1.2rem;
    width: 25px;
}

.sidebar-menu li:hover a,
.sidebar-menu li.active a {
    background-color: var(--light-bg);
    color: var(--primary-color);
    border-left: 4px solid var(--primary-color);
}

.dashboard-main {
    margin-left: 260px;
    padding: 30px;
    width: calc(100% - 260px);
}

.dashboard-section {
    display: none;
}

.dashboard-section.active {
    display: block;
    animation: fadeIn 0.3s ease-in;
}

.dashboard-section h1 {
    font-size: 2rem;
    color: var(--secondary-color);
    margin-bottom: 30px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin-bottom: 40px;
}

.stat-card {
    background: #fff;
    border-radius: 12px;
    padding: 25px;
    display: flex;
    align-items: center;
    gap: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.stat-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: #fff;
}

.stat-info h3 {
    font-size: 2rem;
    color: var(--secondary-color);
    margin-bottom: 5px;
}

.stat-info p {
    color: #777;
    font-size: 0.95rem;
}

.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
    gap: 25px;
}

.dashboard-card {
    background: #fff;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.dashboard-card h2 {
    font-size: 1.3rem;
    color: var(--secondary-color);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.table-responsive {
    overflow-x: auto;
}

.data-table {
    width: 100%;
    border-collapse: collapse;
}

.data-table thead {
    background-color: var(--light-bg);
}

.data-table th {
    padding: 12px;
    text-align: left;
    font-weight: 600;
    color: var(--secondary-color);
    border-bottom: 2px solid #e0e0e0;
}

.data-table td {
    padding: 12px;
    border-bottom: 1px solid #f0f0f0;
}

.data-table tbody tr:hover {
    background-color: #f9f9f9;
}

.badge {
    display: inline-block;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.badge-success {
    background-color: #d4edda;
    color: #155724;
}

.badge-warning {
    background-color: #fff3cd;
    color: #856404;
}

.badge-info {
    background-color: #d1ecf1;
    color: #0c5460;
}

.badge-danger {
    background-color: #f8d7da;
    color: #721c24;
}

.popular-packages {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.package-item {
    padding: 15px 0;
    border-bottom: 1px solid #f0f0f0;
}

.package-item:last-child {
    border-bottom: none;
}

.package-details h4 {
    color: var(--secondary-color);
    margin-bottom: 5px;
}

.package-details p {
    color: #777;
    font-size: 0.9rem;
}

.package-progress {
    width: 100%;
    height: 8px;
    background-color: #f0f0f0;
    border-radius: 10px;
    margin-top: 10px;
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    border-radius: 10px;
    transition: width 0.5s ease;
}

.btn-action {
    background: none;
    border: none;
    padding: 8px 12px;
    cursor: pointer;
    border-radius: 5px;
    transition: var(--transition);
    font-size: 1rem;
}

.btn-edit {
    color: #0066cc;
}

.btn-edit:hover {
    background-color: #e6f2ff;
}

.btn-delete {
    color: #cc0000;
}

.btn-delete:hover {
    background-color: #ffe6e6;
}

.settings-form .form-group {
    margin-bottom: 20px;
}

.settings-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--secondary-color);
}

.form-control {
    width: 100%;
    padding: 10px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    transition: var(--transition);
    font-family: 'Outfit', sans-serif;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1);
}

/* Animations */
@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* ==================== MOBILE HAMBURGER ==================== */
.sidebar-toggle {
    display: none;
    background: none;
    border: none;
    color: #fff;
    font-size: 1.3rem;
    cursor: pointer;
    padding: 8px;
    border-radius: 6px;
    transition: background 0.2s;
}
.sidebar-toggle:hover { background: rgba(255,255,255,0.15); }
.sidebar-backdrop {
    display: none;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.5);
    z-index: 1002;
}

/* ==================== TABLET (max-width: 1024px) ==================== */
@media (max-width: 1024px) {
    .dashboard-grid { grid-template-columns: 1fr; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .image-slots-grid { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
}

/* ==================== MOBILE (max-width: 768px) ==================== */
@media (max-width: 768px) {
    body.admin-dashboard-body { overflow-x: hidden; }
    .sidebar-toggle { display: flex; }

    .dashboard-sidebar {
        position: fixed;
        left: -280px;
        top: 0;
        width: 260px;
        height: 100vh;
        z-index: 1003;
        transition: left 0.3s ease;
        box-shadow: none;
    }
    .dashboard-sidebar.open {
        left: 0;
        box-shadow: 4px 0 20px rgba(0,0,0,0.2);
    }
    .sidebar-backdrop.active { display: block; }

    .dashboard-main {
        margin-left: 0;
        width: 100%;
        padding: 20px 15px;
    }

    .dashboard-container { min-height: calc(100vh - 75px); overflow-x: hidden; }

    .admin-nav-container { padding: 0 15px; }
    .admin-logo span { font-size: 1.1rem; }

    .admin-nav-right { gap: 12px; }
    .admin-welcome { font-size: 0.85rem; }
    .btn-logout { padding: 6px 14px; font-size: 0.85rem; }
    .btn-logout i { display: none; }

    .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .stat-card { padding: 18px; gap: 12px; }
    .stat-icon { width: 48px; height: 48px; font-size: 1.3rem; }
    .stat-info h3 { font-size: 1.4rem; }
    .stat-info p { font-size: 0.8rem; }

    .dashboard-card { padding: 18px; }
    .dashboard-card h2 { font-size: 1.1rem; }
    .dashboard-section h1 { font-size: 1.5rem; margin-bottom: 20px; }

    .card-header { flex-direction: column; gap: 12px; align-items: flex-start; }
    .card-header .btn { width: 100%; justify-content: center; }

    .data-table { font-size: 0.85rem; }
    .data-table th, .data-table td { padding: 10px 8px; }

    .image-slots-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .slot-preview { height: 120px; }
    .slot-info { padding: 10px 12px 6px; flex-direction: column; align-items: flex-start; gap: 4px; }
    .slot-actions { padding: 6px 12px 12px; }
    .btn-slot { padding: 7px 8px; font-size: 0.75rem; }

    .gallery-admin-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .gallery-admin-title { font-size: 0.7rem; }
    .gallery-admin-btns { gap: 3px; }
    .gallery-admin-btns button { width: 26px; height: 26px; font-size: 0.7rem; }

    .settings-form .form-group { margin-bottom: 15px; }
    .settings-form .btn { width: 100%; justify-content: center; }

    .section-desc { font-size: 0.85rem; margin-bottom: 15px; }
}

/* ==================== SMALL MOBILE (max-width: 480px) ==================== */
@media (max-width: 480px) {
    .admin-navbar { padding: 10px 0; }
    .admin-logo img { width: 36px; height: 36px; }
    .admin-logo span { font-size: 1rem; }
    .admin-welcome { display: none; }
    .btn-logout { padding: 6px 12px; }

    .stats-grid { grid-template-columns: 1fr; }
    .stat-card { padding: 15px; }

    .image-slots-grid { grid-template-columns: 1fr; }
    .gallery-admin-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }

    .modal-overlay { padding: 10px; }
    .modal-header { padding: 18px 20px; }
    .modal-header h2 { font-size: 1.2rem; }
    .modal-form { padding: 20px; }
    .modal-form .form-row { grid-template-columns: 1fr; }
    .modal-actions { flex-direction: column-reverse; gap: 10px; }
    .modal-actions .btn { width: 100%; justify-content: center; }

    .crop-body { padding: 10px; }
    .crop-body img { max-height: 50vh; }

    .notification { top: auto; bottom: 20px; right: 10px; left: 10px; min-width: auto; }
}

/* ==================== IMAGE UPLOAD STYLING ==================== */

.image-upload-area {
    position: relative;
    min-height: 200px;
    border: 2px dashed #ddd;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.image-upload-area.drag-over {
    border-color: #D4AF37;
    background: #fff8e6;
}

.upload-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.upload-placeholder:hover {
    background: #f8f9fa;
}

.upload-placeholder i {
    font-size: 48px;
    color: #D4AF37;
    margin-bottom: 15px;
}

.upload-placeholder p {
    font-size: 16px;
    color: #333;
    margin-bottom: 5px;
}

.upload-placeholder small {
    font-size: 13px;
    color: #777;
}

.image-preview {
    padding: 20px;
    text-align: center;
}

.image-preview img {
    max-width: 100%;
    max-height: 300px;
    border-radius: 8px;
    margin-bottom: 15px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.preview-info {
    display: flex;
    flex-direction: column;
    gap: 5px;
    margin-bottom: 15px;
    font-size: 14px;
    color: #555;
}

.btn-remove-image {
    background: #dc3545;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-remove-image:hover {
    background: #c82333;
}

.upload-progress {
    padding: 30px;
    text-align: center;
}

.progress-bar-upload {
    width: 100%;
    height: 6px;
    background: #e9ecef;
    border-radius: 3px;
    overflow: hidden;
    margin-bottom: 10px;
}

.progress-bar-upload::after {
    content: '';
    display: block;
    height: 100%;
    background: linear-gradient(90deg, #D4AF37, #C5A028);
    animation: progress 1.5s infinite;
    width: 70%;
}

@keyframes progress {
    0% {
        transform: translateX(-100%);
    }

    100% {
        transform: translateX(200%);
    }
}

/* Modal Enhancements for Forms */

.modal-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.modal-form .form-group.full-width {
    grid-column: 1 / -1;
}

.modal-form .form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
    font-size: 14px;
}

.modal-form .form-group input,
.modal-form .form-group select,
.modal-form .form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 14px;
    transition: all 0.3s ease;
}

.modal-form .form-group input:focus,
.modal-form .form-group select:focus,
.modal-form .form-group textarea:focus {
    outline: none;
    border-color: #D4AF37;
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1);
}

.modal-form .checkbox-label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    user-select: none;
}

.modal-form .checkbox-label input[type="checkbox"] {
    width: auto;
    cursor: pointer;
    transform: scale(1.2);
}

.modal-actions {
    display: flex;
    justify-content: flex-end;
    gap: 15px;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #e9ecef;
}

/* Table with Images */

.data-table img {
    display: block;
}

.packages-container {
    margin-top: 20px;
}

.table-responsive {
    overflow-x: auto;
    margin-top: 20px;
}




/* Modal Styles */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    padding: 20px;
    animation: fadeIn 0.3s ease-in;
}

.modal-content {
    background: #fff;
    border-radius: 12px;
    max-width: 800px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: slideIn 0.3s ease-out;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 30px;
    border-bottom: 2px solid #f0f0f0;
}

.modal-header h2 {
    font-size: 1.5rem;
    color: var(--secondary-color);
    margin: 0;
    display: flex;
    align-items: center;
    gap: 12px;
}

.modal-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #999;
    transition: var(--transition);
    padding: 5px;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.modal-close:hover {
    color: #f44;
    background-color: #fee;
}

.modal-form {
    padding: 30px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.modal-form .form-group {
    margin-bottom: 20px;
}

.modal-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--secondary-color);
    font-size: 0.95rem;
}

.modal-form input,
.modal-form select,
.modal-form textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    transition: var(--transition);
    font-family: 'Outfit', sans-serif;
}

.modal-form input:focus,
.modal-form select:focus,
.modal-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1);
}

.modal-form textarea {
    resize: vertical;
    min-height: 80px;
}

.modal-actions {
    display: flex;
    justify-content: flex-end;
    gap: 15px;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 2px solid #f0f0f0;
}

.btn-secondary {
    background-color: #6c757d;
    color: #fff;
}

.btn-secondary:hover {
    background-color: #5a6268;
}

/* Notification Styles */
.notification {
    position: fixed;
    top: 90px;
    right: 30px;
    background: #fff;
    padding: 18px 25px;
    border-radius: 10px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    gap: 15px;
    z-index: 9999;
    min-width: 300px;
    transform: translateX(400px);
    opacity: 0;
    transition: all 0.3s ease-out;
}

.notification.show {
    transform: translateX(0);
    opacity: 1;
}

.notification-success {
    border-left: 4px solid #28a745;
}

.notification-success i {
    color: #28a745;
    font-size: 1.5rem;
}

.notification-error {
    border-left: 4px solid #dc3545;
}

.notification-error i {
    color: #dc3545;
    font-size: 1.5rem;
}

.notification-info {
    border-left: 4px solid #17a2b8;
}

.notification-info i {
    color: #17a2b8;
    font-size: 1.5rem;
}

.notification span {
    font-weight: 500;
    color: var(--dark-text);
}

/* Booking Success Modal */
.booking-success-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.3s ease-in;
}

.booking-success-modal.show {
    opacity: 1;
}

.success-content {
    background: #fff;
    border-radius: 15px;
    padding: 50px 40px;
    max-width: 500px;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: slideIn 0.3s ease-out;
}

.success-icon {
    font-size: 5rem;
    color: #28a745;
    margin-bottom: 20px;
}

.success-content h2 {
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.success-content p {
    color: #666;
    margin-bottom: 10px;
    font-size: 1.05rem;
}

.success-content strong {
    color: var(--primary-color);
    font-size: 1.2rem;
}

/* Packages Container */
.packages-container {
    margin-top: 20px;
}



/* ==================== SITE IMAGES SECTION ==================== */
.section-desc { color: #666; margin-bottom: 25px; font-size: 0.95rem; }
.image-section { margin-bottom: 30px; }
.image-section-title {
    font-size: 1.1rem; color: var(--secondary-color); margin-bottom: 15px;
    display: flex; align-items: center; gap: 10px;
    padding-bottom: 10px; border-bottom: 2px solid #f0f0f0;
}
.image-section-title i { color: var(--primary-color); }
.image-slots-grid {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 20px;
}
.image-slot-card {
    background: #fff; border-radius: 10px; overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08); transition: all 0.3s ease;
}
.image-slot-card:hover { box-shadow: 0 6px 20px rgba(0,0,0,0.15); transform: translateY(-2px); }
.slot-preview {
    width: 100%; height: 160px; overflow: hidden; background: #f5f5f5;
    display: flex; align-items: center; justify-content: center;
}
.slot-preview img { width: 100%; height: 100%; object-fit: cover; }
.slot-no-image {
    width: 100%; height: 100%; display: flex; align-items: center; justify-content: center;
    color: #ccc; font-size: 2.5rem;
}
.slot-info {
    padding: 12px 15px 8px; display: flex; justify-content: space-between; align-items: center;
}
.slot-label { font-weight: 600; color: var(--secondary-color); font-size: 0.9rem; }
.slot-badge {
    font-size: 0.7rem; padding: 2px 8px; border-radius: 10px;
    background: #e9ecef; color: #666; font-weight: 500;
}
.slot-badge-custom { background: #d4edda; color: #155724; }
.slot-actions {
    padding: 8px 15px 15px; display: flex; gap: 8px;
}
.btn-slot {
    flex: 1; padding: 8px 10px; border: none; border-radius: 6px; cursor: pointer;
    font-size: 0.8rem; font-weight: 600; transition: all 0.2s; text-align: center;
    font-family: 'Outfit', sans-serif; display: inline-flex; align-items: center; justify-content: center; gap: 5px;
}
.btn-replace { background: #e6f2ff; color: #0066cc; }
.btn-replace:hover { background: #cce5ff; }
.btn-delete-slot { background: #fff3cd; color: #856404; }
.btn-delete-slot:hover { background: #ffeaa7; }

/* ==================== GALLERY ADMIN ==================== */
.gallery-admin-grid {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 15px;
}
.gallery-admin-item {
    position: relative; border-radius: 8px; overflow: hidden;
    aspect-ratio: 1; background: #f5f5f5;
}
.gallery-admin-item img { width: 100%; height: 100%; object-fit: cover; }
.gallery-admin-overlay {
    position: absolute; bottom: 0; left: 0; right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    padding: 30px 10px 10px; color: #fff;
}
.gallery-admin-title { font-size: 0.8rem; display: block; margin-bottom: 6px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gallery-admin-btns { display: flex; gap: 5px; }
.gallery-admin-btns button {
    background: rgba(255,255,255,0.2); border: none; color: #fff; width: 28px; height: 28px;
    border-radius: 4px; cursor: pointer; font-size: 0.75rem; transition: background 0.2s;
    display: flex; align-items: center; justify-content: center;
}
.gallery-admin-btns button:hover { background: rgba(255,255,255,0.4); }
.gallery-admin-btns button:disabled { opacity: 0.3; cursor: not-allowed; }
.gallery-admin-btns button:last-child { background: rgba(220,53,69,0.6); }
.gallery-admin-btns button:last-child:hover { background: rgba(220,53,69,0.9); }

/* ==================== CROP MODAL ==================== */
.crop-body { padding: 20px; text-align: center; background: #111; }
.crop-body img { max-width: 100%; max-height: 60vh; }

