:root {
    --primary-blue: #0A2342;
    --secondary-blue: #173F5F;
    --accent-blue: #20639B;
    --light-blue: #3CAEA3;
    --bg-color: #F0F4F8;
    --text-color: #333333;
    --white: #FFFFFF;
}

body {
    font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--bg-color);
    background-image: radial-gradient(circle at top right, var(--accent-blue) 0%, transparent 25%),
                      radial-gradient(circle at bottom left, var(--secondary-blue) 0%, transparent 25%);
    background-attachment: fixed;
    color: var(--text-color);
    margin: 0;
    padding: 0;
    min-height: 100vh;
}

/* Glassmorphism Classes */
.glass-panel {
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 16px;
    box-shadow: 0 8px 32px 0 rgba(10, 35, 66, 0.1);
    padding: 2rem;
}

/* Typography */
h1, h2, h3 {
    color: var(--primary-blue);
    font-weight: 700;
}

/* Buttons */
.btn-primary {
    background: linear-gradient(135deg, var(--accent-blue), var(--secondary-blue));
    color: var(--white);
    border: none;
    border-radius: 8px;
    padding: 10px 20px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(23, 63, 95, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(23, 63, 95, 0.4);
}

/* Inputs */
.form-control {
    width: 100%;
    padding: 12px;
    border: 1px solid rgba(0,0,0,0.1);
    border-radius: 8px;
    background: rgba(255,255,255,0.9);
    margin-bottom: 15px;
    transition: border-color 0.3s;
    box-sizing: border-box;
}

.form-control:focus {
    outline: none;
    border-color: var(--accent-blue);
    box-shadow: 0 0 0 3px rgba(32, 99, 155, 0.2);
}

/* Login specific */
.login-container {
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.login-box {
    max-width: 400px;
    width: 100%;
    text-align: center;
    animation: fadeIn 0.8s ease-out forwards;
}

.login-box img {
    max-width: 150px;
    margin-bottom: 20px;
}

/* Layout */
.app-container {
    display: flex;
    min-height: 100vh;
}

.sidebar {
    width: 250px;
    background: linear-gradient(180deg, var(--primary-blue), var(--secondary-blue));
    color: white;
    padding: 20px 0;
    box-shadow: 4px 0 15px rgba(0,0,0,0.1);
}

.sidebar-logo {
    text-align: center;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    margin-bottom: 20px;
}

.sidebar-logo img {
    max-width: 180px;
    max-height: 80px;
    object-fit: contain;
    background: white;
    padding: 10px;
    border-radius: 8px;
}

.sidebar-menu a {
    display: block;
    padding: 15px 25px;
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    transition: all 0.3s;
    font-weight: 500;
}

.sidebar-menu a:hover, .sidebar-menu a.active {
    background: rgba(255,255,255,0.1);
    color: white;
    border-left: 4px solid var(--light-blue);
}

.main-content {
    flex: 1;
    padding: 30px;
    overflow-y: auto;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.animate-fade {
    animation: fadeIn 0.5s ease-out forwards;
}

/* Tables */
.table-custom {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}

.table-custom th, .table-custom td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid #eee;
}

.table-custom th {
    background-color: var(--secondary-blue);
    color: white;
    font-weight: 600;
}

.table-custom tr:hover td {
    background-color: #f8faff;
}
