/* assets/css/style.css */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&display=swap');

:root {
    --primary-color: #4B3324;
    --secondary-color: #8D6E63;
    --accent-color: #D4A373;
    --bg-light: #FDFBF7;
    --text-dark: #2C1E17;
    --glass-bg: rgba(255, 255, 255, 0.7);
    --sidebar-width: 280px;
    --card-shadow: 0 20px 40px rgba(0, 0, 0, 0.06);
    --border-radius-lg: 24px;
    --border-radius-md: 16px;
    --transition-smooth: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

body {
    background-color: var(--bg-light);
    color: var(--text-dark);
    font-family: 'Plus Jakarta Sans', sans-serif;
    overflow-x: hidden;
    line-height: 1.6;
}

h1,
h2,
h3,
h4,
h5,
.display-font {
    font-family: 'Outfit', sans-serif;
}

/* Glassmorphism */
.glass {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow: var(--card-shadow);
}

/* Admin Sidebar Styling */
.admin-sidebar {
    width: var(--sidebar-width);
    height: 100vh;
    position: fixed;
    left: 0;
    top: 0;
    background: var(--primary-color);
    color: white;
    padding: 1.5rem;
    z-index: 9999;
    transition: all 0.3s ease;
    overflow-y: auto;
}

.sidebar-link {
    display: flex;
    align-items: center;
    padding: 0.8rem 1rem;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    border-radius: 10px;
    margin-bottom: 0.5rem;
    transition: all 0.2s;
}

.sidebar-link:hover,
.sidebar-link.active {
    background: rgba(255, 255, 255, 0.1);
    color: white;
}

.sidebar-link i {
    width: 24px;
    margin-right: 12px;
}

/* Main Content Adjustments */
.admin-main {
    margin-left: var(--sidebar-width);
    padding: 2rem;
    transition: all 0.3s ease;
}

/* Card Styling */
.card-modern {
    background: white;
    border: none;
    border-radius: var(--border-radius);
    box-shadow: var(--card-shadow);
    transition: transform 0.3s ease;
}

.card-modern:hover {
    transform: translateY(-5px);
}

/* Custom Buttons */
/* Premium Card Wrapper */
.card-premium {
    background: white;
    border: none;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--card-shadow);
    transition: var(--transition-smooth);
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.02);
}

.card-premium:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 60px rgba(75, 51, 36, 0.12);
}

/* Text Gradient */
.text-gradient {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Custom Buttons */
.btn-premium {
    background: var(--primary-color);
    color: white;
    padding: 12px 32px;
    border-radius: 100px;
    font-weight: 700;
    letter-spacing: 0.5px;
    transition: var(--transition-smooth);
    border: none;
    text-transform: uppercase;
    font-size: 0.85rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.btn-premium:hover {
    background: var(--text-dark);
    color: white;
    transform: scale(1.05);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.btn-premium-outline {
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    padding: 10px 30px;
    border-radius: 100px;
    font-weight: 700;
    transition: var(--transition-smooth);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.btn-premium-outline:hover {
    background: var(--primary-color);
    color: white;
}

/* Section Decoration */
.section-tag {
    color: var(--accent-color);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.75rem;
    margin-bottom: 1rem;
    display: block;
}

.btn-coffee {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 0.6rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
}

.btn-coffee:hover {
    background: var(--text-dark);
    color: white;
}

/* Table Styling */
.table-custom {
    background: white;
    border-radius: var(--border-radius);
    overflow: hidden;
}

.table-custom thead {
    background: #f8f9fa;
}

.table-custom th {
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.05em;
    color: #6c757d;
}

/* Mobile Responsiveness */
@media (max-width: 991px) {
    .admin-sidebar {
        transform: translateX(-100%);
    }

    .admin-sidebar.show {
        transform: translateX(0);
    }

    .admin-main {
        margin-left: 0;
    }
}