@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

:root {
    --krms-navy: #1a202c;
    --krms-navy-dark: #0f172a;
    --krms-gold: #c49c48;
    --krms-gold-light: #d4af37;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: #f8f9fa;
    color: #333;
}

/* Custom Overrides for MDB / Bootstrap */
.bg-krms-navy { background-color: var(--krms-navy) !important; color: white !important; }
.text-krms-navy { color: var(--krms-navy) !important; }
.text-krms-gold { color: var(--krms-gold) !important; }

.btn-krms {
    background-color: var(--krms-navy) !important;
    color: white !important;
    border-radius: 6px;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(26, 32, 44, 0.2);
    border: none;
}
.btn-krms:hover {
    background-color: var(--krms-navy-dark) !important;
    box-shadow: 0 6px 12px rgba(26, 32, 44, 0.3);
    color: white !important;
}

.btn-krms-gold {
    background-color: var(--krms-gold) !important;
    color: #fff !important;
    border-radius: 6px;
    font-weight: 500;
    transition: all 0.3s ease;
    border: none;
}
.btn-krms-gold:hover {
    background-color: var(--krms-gold-light) !important;
}

.card {
    border: none;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
}

/* Auth Pages Customization */
.auth-wrapper {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #0b3d24 0%, #062314 100%);
}

.auth-card {
    border-radius: 16px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.2);
    overflow: hidden;
}

/* Sidebar Customization */
.sidebar-fixed {
    background-color: #ffffff;
    box-shadow: 2px 0 10px rgba(0,0,0,0.05);
}
.sidebar-fixed .list-group-item {
    border: none;
    border-radius: 8px;
    margin: 4px 10px;
    padding: 12px 20px;
    color: #555;
    font-weight: 500;
}
.sidebar-fixed .list-group-item:hover {
    background-color: #f1f3f5;
    color: var(--krms-navy);
}
.sidebar-fixed .list-group .active {
    background-color: var(--krms-navy) !important;
    color: white !important;
    box-shadow: 0 4px 10px rgba(26, 32, 44, 0.3);
}

/* Navbar Customization */
.navbar.fixed-top {
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

/* Stat Cards */
.stat-card {
    border-left: 5px solid;
}
.stat-card.users { border-color: var(--krms-navy); }
.stat-card.admins { border-color: var(--krms-gold); }
.stat-card.files { border-color: #17a2b8; }
.stat-card.downloads { border-color: #6f42c1; }


/* Landing Page Styles */
.landing-body {
    background-color: #fdfaf6;
    background-image: radial-gradient(#e5e1d8 1px, transparent 1px);
    background-size: 20px 20px;
    color: #1a202c;
    font-family: 'Inter', sans-serif;
}

.landing-nav {
    background-color: #1a202c;
    padding: 1rem 2rem;
}

.landing-nav a {
    color: #f8fafc;
    text-decoration: none;
    font-weight: 500;
    margin-left: 1.5rem;
    font-size: 0.95rem;
}

.landing-nav a:hover {
    color: #c49c48;
}

.krms-logo-box {
    background-color: #c49c48;
    color: #1a202c;
    font-weight: 700;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    display: inline-block;
    margin-right: 0.75rem;
}

.hero-section {
    padding: 6rem 2rem 4rem;
    max-width: 900px;
    margin: 0 auto;
}

.hero-subtitle {
    text-transform: uppercase;
    color: #c49c48;
    font-size: 0.85rem;
    letter-spacing: 2px;
    font-weight: 600;
    display: flex;
    align-items: center;
    margin-bottom: 2rem;
}

.hero-subtitle::before {
    content: '';
    display: block;
    width: 30px;
    height: 1px;
    background-color: #c49c48;
    margin-right: 15px;
}

.hero-title {
    font-family: 'Lora', serif;
    font-size: 3.5rem;
    font-weight: 600;
    line-height: 1.2;
    color: #1a202c;
    margin-bottom: 1.5rem;
}

.hero-title i {
    color: #c49c48;
    font-style: italic;
}

.hero-text {
    font-size: 1.1rem;
    color: #64748b;
    line-height: 1.6;
    max-width: 700px;
    margin-bottom: 3rem;
}

.search-box {
    background: #ffffff;
    padding: 0.5rem;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
    display: flex;
    align-items: center;
    max-width: 600px;
}

.search-input {
    border: none;
    padding: 1rem 1.5rem;
    flex-grow: 1;
    font-size: 1rem;
    outline: none;
    background: transparent;
    color: #334155;
}

.search-btn {
    background-color: #1a202c;
    color: #ffffff;
    border: none;
    padding: 1rem 2rem;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
}

.search-btn:hover {
    background-color: #0f172a;
}

.stats-container {
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
    display: flex;
    margin: 4rem auto;
    max-width: 900px;
    overflow: hidden;
}

.stat-item {
    flex: 1;
    padding: 2rem;
    border-right: 1px solid #f1f5f9;
}

.stat-item:last-child {
    border-right: none;
}

.stat-number {
    font-family: 'Lora', serif;
    font-size: 2.5rem;
    color: #1a202c;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.85rem;
    color: #64748b;
    font-weight: 500;
}

