/* LOOMS Global Stylesheet
    Primary Brand Color: #2a5298 (Deep Blue)
*/

:root {
    --primary-color: #2a5298;
    --secondary-color: #1e3c72;
    --bg-light: #f8f9fa;
    --text-dark: #2d3436;
    --white: #ffffff;
}

body { 
    font-family: 'Inter', sans-serif; 
    background-color: var(--bg-light); 
    color: var(--text-dark);
}

/* Navbar Customization */
.navbar { 
    background-color: var(--white); 
    border-bottom: 1px solid #eee; 
    padding: 1rem 0;
}

.navbar-brand {
    font-weight: 700;
    color: var(--primary-color) !important;
}

/* Hero Section */
.hero-section { 
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-color) 100%); 
    color: var(--white); 
    padding: 100px 0; 
}

/* Component Styling */
.feature-icon { 
    font-size: 2.5rem; 
    color: var(--primary-color); 
    margin-bottom: 1rem; 
}

.card { 
    border: none; 
    border-radius: 12px;
    transition: transform 0.3s, box-shadow 0.3s; 
}

.card:hover { 
    transform: translateY(-5px); 
    box-shadow: 0 10px 20px rgba(0,0,0,0.08);
}

/* Buttons */
.btn-primary { 
    background-color: var(--primary-color); 
    border: none; 
    padding: 12px 30px; 
    border-radius: 8px;
    font-weight: 600;
}

.btn-primary:hover { 
    background-color: var(--secondary-color); 
}

.btn-outline-primary {
    border-color: var(--primary-color);
    color: var(--primary-color);
    border-width: 2px;
}

/* Footer */
footer {
    background-color: #1a1a1a;
}
/* Login Page Specific Styles */
.login-body {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.login-card {
    max-width: 400px;
    width: 100%;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    background: var(--white);
    padding: 2.5rem;
    border: none;
}

.login-logo {
    color: var(--primary-color);
    font-size: 3.5rem;
    margin-bottom: 0.5rem;
}

.form-floating > .form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.25rem rgba(42, 82, 152, 0.1);
}
/* Dashboard Layout */
.wrapper { display: flex; width: 100%; align-items: stretch; }

#sidebar {
    min-width: 250px;
    max-width: 250px;
    background: var(--secondary-color);
    color: #fff;
    min-height: 100vh;
    transition: all 0.3s;
}

#sidebar .sidebar-header { padding: 20px; background: rgba(0,0,0,0.1); }
#sidebar ul li a {
    padding: 15px 20px;
    display: block;
    color: rgba(255,255,255,0.7);
    text-decoration: none;
}
#sidebar ul li a:hover, #sidebar ul li.active > a {
    color: #fff;
    background: rgba(255,255,255,0.1);
}

#content { width: 100%; padding: 20px; }

/* Stat Cards */
.stat-card {
    border: none;
    border-radius: 10px;
    padding: 20px;
    color: white;
    position: relative;
    overflow: hidden;
}
.stat-card i {
    position: absolute;
    right: 15px;
    bottom: 10px;
    font-size: 3rem;
    opacity: 0.2;
}
.bg-teal { background-color: #20c997; }
.bg-royal { background-color: #4e73df; }
.bg-orange { background-color: #f6c23e; }
/* Dashboard Wrapper */
.wrapper { display: flex; width: 100%; align-items: stretch; }

/* Sidebar Styling */
#sidebar {
    min-width: 260px;
    background: #1a2a44; /* Darker navy for a high-end feel */
    color: #fff;
    min-height: 100vh;
}

#sidebar .sidebar-header { padding: 25px 20px; border-bottom: 1px solid rgba(255,255,255,0.05); }

#sidebar ul li a {
    padding: 12px 25px;
    display: block;
    color: rgba(255,255,255,0.6);
    text-decoration: none;
    font-size: 0.95rem;
    transition: 0.2s;
}

#sidebar ul li a:hover, #sidebar ul li.active > a {
    color: #fff;
    background: rgba(255,255,255,0.08);
    border-left: 4px solid var(--primary-color);
}

/* Content Area */
#content { 
    flex: 1; 
    padding: 30px; 
    background-color: #f4f7f6; 
}

/* Reusable Stat Cards */
.stat-card {
    border: none;
    border-radius: 12px;
    padding: 25px;
    color: white;
    position: relative;
    overflow: hidden;
}

.stat-card i {
    position: absolute;
    right: 10px;
    bottom: -5px;
    font-size: 4rem;
    opacity: 0.15;
}
#scheduleTable tr td {
    border-bottom: 1px solid #eee;
    padding: 15px 10px;
}

#scheduleTable tr:hover {
    background-color: #f8f9fc;
}

.badge-day {
    font-size: 0.7rem;
    padding: 4px 8px;
    border-radius: 50px;
    background: #e9ecef;
    color: #495057;
    font-weight: bold;
}