:root {
    --bg-dark-sidebar: #1e2229;
    --accent-cyan: #00bcd4;
    --accent-cyan-hover: #00acc1;
    --bg-gray-cards: #d1d5db;
    --subpanel-gray: #f3f4f6;
}

body {
    font-family: 'Segoe UI', system-ui, sans-serif;
    background-color: #fafafa;
    overflow-x: hidden;
}

.bg-geometric {
    background: linear-gradient(135deg, #f5f7fa 0%, #e4e8f0 100%);
    position: relative;
}

/* Login Configurations */
.login-card {
    background: #ffffff;
    border-radius: 28px;
    width: 100%;
    max-width: 440px;
    border: none;
}

/* --- UPDATED LOGO CONTAINER RULES --- */
/* This expands the container size and neatly frames your school logo */
.custom-logo-container {
    width: 110px; 
    height: 110px;
    background: #ffffff; /* White background makes the circular logo stand out clean */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 14px rgba(0,0,0,0.1);
    padding: 6px; /* Clean internal breathing room for the crest */
    overflow: hidden;
}

/* Sidebar logo variant - slightly smaller to fit the side navigation panel */
.custom-logo-container.inverse {
    width: 95px;
    height: 95px;
    background: #ffffff;
    padding: 5px;
}

/* Force the image inside to scale perfectly without distorting */
.custom-logo-container img,
.custom-logo-container.inverse img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 50%;
}
/* ------------------------------------ */

.custom-badge-label {
    background: #000000;
    color: #ffffff;
    font-size: 11px;
    padding: 2px 10px;
    border-radius: 6px;
    font-weight: 600;
    position: absolute;
    top: -10px;
    left: 15px;
    z-index: 2;
}

.custom-input {
    background-color: var(--bg-gray-cards) !important;
    border: none !important;
    border-radius: 20px !important;
    padding: 10px 20px !important;
    color: #333 !important;
}

.custom-switch:checked {
    background-color: var(--accent-cyan) !important;
    border-color: var(--accent-cyan) !important;
}

.btn-cyan {
    background-color: var(--accent-cyan) !important;
    color: white !important;
    font-weight: 600;
    border: none;
}
.btn-cyan:hover {
    background-color: var(--accent-cyan-hover) !important;
}

/* Sidebar & Layout Rules */
.bg-sidebar { background-color: var(--bg-dark-sidebar); }
.bg-panel-sub { background-color: var(--subpanel-gray); }

.badge-header {
    background-color: #000;
    color: #fff;
    padding: 10px;
    border-radius: 12px;
    text-align: center;
    font-weight: bold;
}

.sidebar-nav .nav-link {
    color: #9ca3af;
    font-weight: 500;
    padding: 12px 15px;
    border-radius: 10px;
}
.sidebar-nav .nav-link:hover, .sidebar-nav .nav-link.active {
    color: #ffffff !important;
    background-color: rgba(255, 255, 255, 0.05);
}
.text-muted-logout { color: #ef4444 !important; }

/* Dashboard and Section Settings */
.text-info-cyan { color: #00bcd4; }
.bg-cyan-light { background-color: #e0f7fa; color: #006064; font-size: 14px; }
.bg-light-card { background-color: #f9fafb; border: 1px solid #e5e7eb; }

/* Notebook specific settings */
.notebook-card {
    background-color: var(--bg-gray-cards);
    border-radius: 18px;
    min-height: 240px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.notebook-img-placeholder {
    height: 60px;
    background: rgba(255,255,255,0.4);
    border-radius: 8px;
}
.progress-bar-stub {
    height: 8px;
    background-color: #4b5563;
    border-radius: 4px;
    width: 80px;
    margin: 5px auto 0;
}

/* Profile Elements */
.profile-avatar-frame {
    width: 130px;
    height: 130px;
    border-radius: 50%;
    background-color: #e0f7fa;
    display: flex;
    align-items: center;
    justify-content: center;
}
.max-w-200 { max-width: 200px; }
.extra-small { font-size: 11px; }

.mockup-footer-tag {
    position: fixed;
    bottom: 0;
    right: 0;
    background-color: #8b8b8b;
    color: #ffffff;
    font-size: 11px;
    padding: 4px 15px;
    font-family: monospace;
    z-index: 99;
}
.mockup-footer-tag.internal { position: absolute; }
.main-content-display { min-height: 100vh; padding-bottom: 60px !important; }
.cursor-pointer { cursor: pointer; }
