:root {
    --primary-color: #059669;
    --primary-hover: #047857;
    --secondary-color: #0891b2;
    --success-color: #10b981;
    --danger-color: #ef4444;
    --warning-color: #f59e0b;
    --dark-color: #1e293b;
    --light-color: #f8fafc;
    --border-color: #e2e8f0;
    --font-family: 'Inter', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-family);
    color: var(--dark-color);
    background-color: var(--light-color);
    line-height: 1.6;
}

.container-custom {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.btn-primary-custom {
    background-color: var(--primary-color);
    color: white;
    padding: 10px 24px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-primary-custom:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
}

.btn-secondary-custom {
    background-color: var(--secondary-color);
    color: white;
    padding: 10px 24px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-secondary-custom:hover {
    background-color: #475569;
}

.btn-success-custom {
    background-color: var(--success-color);
    color: white;
    padding: 10px 24px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-danger-custom {
    background-color: var(--danger-color);
    color: white;
    padding: 10px 24px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
}

.card-custom {
    background: white;
    border-radius: 12px;
    padding: 20px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.card-custom:hover {
    transform: translateY(-4px);
}

.navbar-custom {
    background: white;
    padding: 16px 0;
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.footer-custom {
    background: var(--dark-color);
    color: white;
    padding: 40px 0 20px;
    margin-top: 60px;
}

.form-control-custom {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: 14px;
    transition: all 0.3s ease;
}

.form-control-custom:focus {
    outline: none;
    border-color: var(--primary-color);
}

.table-custom {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: 8px;
    overflow: hidden;
}

.table-custom thead {
    background-color: var(--light-color);
}

.table-custom th,
.table-custom td {
    padding: 12px 16px;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

.sidebar-custom {
    width: 250px;
    background: white;
    height: 100vh;
    position: fixed;
    left: 0;
    top: 0;
    border-right: 1px solid var(--border-color);
    overflow-y: auto;
}

.main-content-custom {
    margin-left: 250px;
    padding: 20px;
}

.pagination-custom {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 20px;
}

.pagination-custom a,
.pagination-custom span {
    padding: 8px 12px;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    text-decoration: none;
    color: var(--dark-color);
}

.pagination-custom .active {
    background-color: var(--primary-color);
    color: white;
}
.nav-link {
    padding: 10px 16px;
    transition: all 0.3s ease;
}

.nav-link:hover {
    background-color: #f1f5f9;
}

.nav-link.active {
    background-color: #059669 !important;
    color: white !important;
}

.sidebar-admin::-webkit-scrollbar {
    width: 6px;
}

.sidebar-admin::-webkit-scrollbar-track {
    background: #f1f5f9;
}

.sidebar-admin::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 3px;
}

.sidebar-admin::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

.card {
    transition: all 0.3s ease;
}

.card:hover {
    transform: translateY(-2px);
}
@media (max-width: 768px) {
    .sidebar-custom {
        width: 100%;
        height: auto;
        position: relative;
    }

    .main-content-custom {
        margin-left: 0;
    }

    .container-custom {
        padding: 0 10px;
    }
}




/* Modern Footer Styles */
.footer-modern {
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
    color: white;
    padding: 4rem 0 0;
    position: relative;
    overflow: hidden;
}

.footer-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="white" opacity="0.02"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    pointer-events: none;
}

.footer-content {
    position: relative;
    z-index: 2;
    margin-bottom: 3rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
}

.footer-logo-img {
    height: 40px;
    margin-right: 1rem;
    border-radius: 0.5rem;
}

.footer-brand-text {
    font-weight: 700;
    font-size: 1.5rem;
    margin: 0;
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-description {
    color: #94a3b8;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.footer-title {
    font-weight: 600;
    font-size: 1.125rem;
    margin-bottom: 1.5rem;
    color: white;
}

.footer-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-list li {
    margin-bottom: 0.75rem;
}

.footer-list a {
    color: #94a3b8;
    text-decoration: none;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    padding: 0.25rem 0;
}

.footer-list a:hover {
    color: #fbbf24;
    transform: translateX(4px);
    text-decoration: none;
}

.footer-list i {
    font-size: 0.875rem;
    opacity: 0.7;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: #94a3b8;
}

.contact-item i {
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 0.25rem;
    color: #fbbf24;
    font-size: 0.875rem;
}

.footer-bottom {
    position: relative;
    z-index: 2;
    padding: 2rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.copyright {
    color: #64748b;
    font-size: 0.875rem;
}

.footer-bottom-links {
    display: flex;
    gap: 2rem;
    justify-content: flex-end;
}

.footer-bottom-links a {
    color: #64748b;
    text-decoration: none;
    font-size: 0.875rem;
    transition: all 0.3s ease;
}

.footer-bottom-links a:hover {
    color: #fbbf24;
    text-decoration: none;
}

/* Responsive Footer */
@media (max-width: 768px) {
    .footer-modern {
        padding: 3rem 0 0;
    }

    .footer-bottom-links {
        justify-content: center;
        margin-top: 1rem;
        flex-wrap: wrap;
        gap: 1rem;
    }

    .footer-bottom .row {
        text-align: center;
    }

    .footer-bottom .col-md-6 {
        flex: 0 0 100%;
        max-width: 100%;
    }
}