/* ===== Custom Scrollbar ===== */
.custom-scrollbar::-webkit-scrollbar {
    width: 6px;
}
.custom-scrollbar::-webkit-scrollbar-track {
    background: transparent;
}
.custom-scrollbar::-webkit-scrollbar-thumb {
    background: #C8A25C;
    border-radius: 3px;
}
.custom-scrollbar::-webkit-scrollbar-thumb:hover {
    background: #8B6914;
}

/* ===== Gold Gradient Button ===== */
.btn-gold {
    background: linear-gradient(135deg, #C8A25C, #D4AF37);
    color: #2C1810;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}
.btn-gold:hover {
    background: linear-gradient(135deg, #D4AF37, #E8C547);
    box-shadow: 0 4px 15px rgba(200, 162, 92, 0.4);
    transform: translateY(-1px);
}
.btn-gold:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* ===== Line Clamp ===== */
.line-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ===== Fade In Up Animation ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in-up {
    animation: fadeInUp 0.6s ease-out forwards;
}

.animation-delay-200 {
    animation-delay: 0.2s;
    opacity: 0;
}

.animation-delay-400 {
    animation-delay: 0.4s;
    opacity: 0;
}

.animation-delay-600 {
    animation-delay: 0.6s;
    opacity: 0;
}

/* ===== Glass Card Effect ===== */
.glass-card {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(200, 162, 92, 0.2);
}

/* ===== Lightbox ===== */
#lightbox {
    transition: opacity 0.3s ease;
}

/* ===== Main content scrollbar ===== */
.main-content::-webkit-scrollbar {
    width: 8px;
}
.main-content::-webkit-scrollbar-track {
    background: #FEFAF4;
}
.main-content::-webkit-scrollbar-thumb {
    background: #C8A25C;
    border-radius: 4px;
}
.main-content::-webkit-scrollbar-thumb:hover {
    background: #8B6914;
}

/* ===== Input focus style ===== */
input:focus, textarea:focus, select:focus {
    outline: none;
}

/* ===== Admin panel style ===== */
.admin-panel h1 {
    color: #2C1810;
}

/* ===== Smooth page transitions ===== */
.main-content {
    scroll-behavior: smooth;
}

/* ===== Toast notification ===== */
#admin-toast {
    transition: all 0.3s ease;
}
#admin-toast.show {
    animation: slideIn 0.3s ease forwards;
}
@keyframes slideIn {
    from { transform: translateX(100px); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}
