:root {
    --primary-color: #4F46E5;
    --secondary-color: #818CF8;
    --bg-color: #F3F4F6;
    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(255, 255, 255, 0.3);
    --text-main: #1F2937;
    --text-muted: #6B7280;
}

body {
    background-color: var(--bg-color);
    font-family: 'Inter', sans-serif;
    color: var(--text-main);
    overflow-x: hidden;
}

/* Auth Background (Modern Abstract) */
.auth-bg {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

/* Adding animated blobs in background */
.auth-bg::before, .auth-bg::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    z-index: 0;
}

.auth-bg::before {
    width: 400px;
    height: 400px;
    background: rgba(79, 70, 229, 0.4); /* Primary color */
    top: -100px;
    left: -100px;
    animation: float 6s ease-in-out infinite alternate;
}

.auth-bg::after {
    width: 300px;
    height: 300px;
    background: rgba(236, 72, 153, 0.3); /* Pink accent */
    bottom: -50px;
    right: -50px;
    animation: float 8s ease-in-out infinite alternate-reverse;
}

@keyframes float {
    0% { transform: translateY(0) scale(1); }
    100% { transform: translateY(30px) scale(1.1); }
}

/* Glasscard */
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    border-radius: 1.5rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 10;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.glass-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 30px 60px -15px rgba(0, 0, 0, 0.15);
}

/* Custom inputs */
.form-control-custom {
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(0,0,0, 0.1);
    border-radius: 0.75rem;
    padding: 0.75rem 1rem;
    transition: all 0.3s;
}

.form-control-custom:focus {
    background: #fff;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(79, 70, 229, 0.1);
}

.btn-primary-custom {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border: none;
    border-radius: 0.75rem;
    padding: 0.75rem 1.5rem;
    color: white;
    font-weight: 600;
    transition: all 0.3s;
}

.btn-primary-custom:hover {
    background: linear-gradient(135deg, #4338CA 0%, #6366F1 100%);
    box-shadow: 0 10px 15px -3px rgba(79, 70, 229, 0.3);
    transform: translateY(-2px);
}

/* Dashboard specific styles */
.sidebar {
    background: white;
    min-height: 100vh;
    box-shadow: 2px 0 10px rgba(0,0,0,0.05);
}

.nav-link.active {
    background: rgba(79, 70, 229, 0.1) !important;
    color: var(--primary-color) !important;
    font-weight: 600;
    border-radius: 0.5rem;
}

.nav-link {
    color: var(--text-muted);
    transition: all 0.3s;
    border-radius: 0.5rem;
    margin-bottom: 0.25rem;
}

.nav-link:hover {
    background: rgba(243, 244, 246, 1);
    color: var(--text-main);
}

.table-custom {
    background: white;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.table-custom thead {
    background: #F9FAFB;
    color: var(--text-muted);
    border-bottom: 1px solid #E5E7EB;
}

.table-custom th, .table-custom td {
    padding: 1rem;
    vertical-align: middle;
}

.status-badge {
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 500;
}

.status-active { background: #DEF7EC; color: #03543F; }
.status-inactive { background: #FDE8E8; color: #9B1C1C; }
