
/*3-1-26   */   
  /* Sidebar */

        body {
            margin: 0;
            font-family: Segoe UI, sans-serif;
            background: #f1f5f9;
        }

        /* HEADER */
        .top-header {
            background: linear-gradient(90deg, #020617, #1e3a8a);
            padding: 20px 0;
        }

        .header-inner {
            max-width: 1200px;
            margin: auto;
            display: flex;
            align-items: center;
        }

        .header-logo {
            height: 70px;
        }

        .header-title {
            flex: 1;
            text-align: center;
            color: #fff;
        }

        .header-title h1 {
            margin: 0;
            font-size: 28px;
        }

        .header-title p {
            margin: 6px 0 0;
            font-size: 14px;
            opacity: .85;
        }

        /* USER INFO */
        .user-info-bar {
            background: #fff;
            margin: 10px;
            padding: 10px 20px;
            border-radius: 8px;
            box-shadow: 0 2px 6px rgba(0, 0, 0, .08);
        }

        /* MAIN LAYOUT */
        .layout {
            display: flex;
            min-height: calc(100vh - 170px);
        }
/* ===== SIDEBAR ===== */
.sidebar {
    width: 260px;
    background: linear-gradient(180deg, #020617, #020617);
    padding: 20px 15px;
}

/* ===== MENU LIST ===== */
.menu_list {
    list-style: none;
    padding: 0;
    margin: 0;

    display: flex;
    flex-direction: column;   /* ✅ ONE COLUMN */
    gap: 6px;                 /* space between items */
}

/* ===== MENU ITEM ===== */
.menu_list li {
    width: 100%;
}

/* ===== MENU LINKS ===== */
.menu_list li a {
    display: flex;
    align-items: center;
    gap: 10px;

    width: 100%;
    padding: 10px 14px;

    color: #e5e7eb;
    text-decoration: none;
    font-size: 15px;
    border-radius: 6px;

    transition: background 0.2s ease;
}

/* Hover effect */
.menu_list li a:hover {
    background: #1e3a8a;
}

/* ===== LOGOUT ===== */
.menu_list li.logout {
    margin-top: 15px;
    width: 85px;
    padding: 1px;
}

.menu_list li.logout a {
    background: #dc2626;
    color: #fff;
    justify-content: center;
    font-weight: 600;
}

.menu_list li.logout a:hover {
    background: #b91c1c;
}




/*teacher-login*/
/* App layout */
.app-container {
    display: flex;
    min-height: 100vh;
    background: #f4f6fb;
}

/* Main area */
.main-content {
    flex: 1;
    padding: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Center form */
#middle_data_container {
    width: 100%;
    display: flex;
    justify-content: center;
}

/* Login card */
#login_container {
    width: 420px;
    background: #ffffff;
    border-radius: 14px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
    padding: 25px;
    margin-top: 60px;
}

/* Title */
/* .login_titles {
    text-align: center;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 15px;
    background: none !important;
} */

/* Inputs */
.input_txt {
    width: 350px;
    height: 44px;
    margin-top: 10px;
    padding: 0 12px;
    border-radius: 8px;
    border: 1px solid #ddd;
}

/* Button */
.login_btn {
    width: 300px;
    height: 46px;
    margin-top: 15px;
    background: #1e40af;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-weight: 600;
}

/* Errors */
.error_indicator {
    font-size: 12px;
    color: #dc2626;
}

/* CAPTCHA spacing */
.captcha-label {
    margin-top: 10px;
    display: block;
}

/*merit-students.php*/
/* Layout */
.app-container {
    display: flex;
    min-height: 100vh;
}

.main-content {
    flex: 1;
    padding: 20px;
    background: #f4f6f9;
}

/* Page header */
.page-header {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 20px;
    background: #ffffff;
    padding: 12px 15px;
    border-left: 4px solid #2563eb;
}

/* Content */
.content-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

/* Merit card */
.merit-card {
    width: 180px;
    background: #ffffff;
    border-radius: 6px;
    padding: 10px;
    text-align: center;
    box-shadow: 0 2px 6px rgba(0,0,0,0.08);
}

.merit-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 4px;
}

.merit-name {
    font-weight: 600;
    margin-top: 8px;
}

.merit-details {
    font-size: 13px;
    color: #555;
}

/* No data */
.no-data {
    background: #fff;
    padding: 20px;
    border-radius: 6px;
    color: #777;
}
/*merit list logout*/
/* ===== APP LAYOUT ===== */
.app-container{
    display:flex;
    min-height:100vh;
}

.main-content{
    flex:1;
    padding:20px;
    background:#f5f7fa;
}

/* ===== PAGE TOP BAR ===== */
.page-top-bar{
    display:flex;
    justify-content:space-between;
    align-items:center;
    margin-bottom:15px;
}

.page-header{
    font-size:20px;
    font-weight:600;
    color:#111827;
}

/* ===== LOGOUT BUTTON ===== */
.logout-btn{
    background:#e63946;
    color:#fff;
    padding:8px 18px;
    border-radius:6px;
    text-decoration:none;
    font-weight:600;
}

.logout-btn:hover{
    background:#c62828;
}
/* Ensure full height */
html, body {
    height: 100%;
    margin: 0;
    padding: 0;
}

/* Layout container flexbox */
.layout {
    display: flex;
    min-height: calc(100vh - 60px); /* subtract header height if fixed */
}

/* Sidebar styling */
.sidebar {
    width: 250px; /* or whatever width your sidebar is */
}

/* Main content grows */
.page-content {
    flex: 1;
    padding: 20px;
    background-color: #f5f5f5; /* optional */
}

/* Footer sticky at bottom */
footer {
    height: 60px; /* your footer height */
    background-color: #222;
    color: #fff;
    text-align: center;
    line-height: 60px;
    position: relative; /* change to fixed if you want always visible */
    bottom: 0;
    width: 100%;
}
