html, body {
    height: 100%;
    
}
body {
    margin: 0;
    font-family: Arial, sans-serif;
    background: linear-gradient(135deg, #5b3a7a, #e6d9ff);
    height: 100%;
    overflow: auto; 
}

/* Top header */
.top-bar {
	height: 60px;
    background: linear-gradient(90deg, #4a2f6b, #c4a7f2);
    color: white;
    padding:  0 15px;
    text-align: center;
    font-size: 22px;
    font-weight: bold;
	display: flex;
    align-items: center;
}

/* Layout */
.main-container {
    display: flex;
    min-height: calc(100vh - 60px);
}
/* Sidebar menu */
.sidebar {
    width: 250px;
    background: rgba(255,255,255,0.2);
    backdrop-filter: blur(10px);
    padding: 10px;
    

    overflow: visible !important;  
    position: relative;
    z-index: 1000;
	background: linear-gradient(180deg, rgba(74,47,107,0.9), rgba(196,167,242,0.9));
    backdrop-filter: blur(10px);
}
.sidebar a {
    display: block;
    padding: 10px;
    color: #2e003e;
    text-decoration: none;
    border-radius: 6px;
    margin-bottom: 5px;
    transition: 0.3s;
	
}


.sidebar ul li {
    position: relative;
}

.sidebar ul li ul {
    position: absolute;
    z-index: 2000; /* higher than iframe */
}

/* iframe must be lower */
.content iframe {
    position: relative;
    z-index: 1;
}
.sidebar a:hover {
    background: rgba(255,255,255,0.3);
}
/* Content area */
.content {
    flex: 1;
   
	display: flex;
}

/* iframe styling */
.content iframe {
    height: 100%;       /* ✅ better than height:100% */
    width: 100%;
    border: none;
    border-radius: 10px;
    background: #fff;
}/* Container */
.byline {
    margin-top: 0 !important;     /* 🔥 remove top space */
    margin-bottom: 5px !important;
}

#header header {
    margin-bottom: 5px !important;
}

.login-container {
    margin-top: 0 !important;
}



.login-container {
    margin-top: 0 !important;        /* remove extra top space */
}
.login-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 80vh;
}

/* Box */
.login-box {
    width: 100%;
    max-width: 350px;
    padding: 25px;
    background: rgba(255,255,255,0.9);
    border-radius: 10px;
    border: 1px solid #ccc;
}

/* Legend */
.login-box {
    width: 100%;
    max-width: 380px;
    padding: 30px;

    /* More transparent glass look */
    background: rgba(255, 255, 255, 0.4);

    /* Glass effect */
    backdrop-filter: blur(8px);

    border-radius: 12px;
    border: 1px solid rgba(0,0,0,0.1);

    /* Shadow for visibility */
    box-shadow: 0 10px 30px rgba(0,0,0,0.25);

    /* Increase overall text size */
    font-size: 20px;
}
.login-box legend {
    font-size: 24px;
    font-weight: bold;
    color: #000;
}
.login-box button {
    width: 100%;
    padding: 12px;
    border: none;
    border-radius: 8px;

    background: linear-gradient(135deg, #4b0082, #800080); /* dark purple gradient */

    color: #ffffff !important;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
}
/* Logo */
.logo {
    text-align: center;
    margin-bottom: 15px;
}

.logo img {
    width: 100px;
}

/* Inputs */
.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    color: #000;
    margin-bottom: 5px;
}

.form-group input {
    width: 100%;
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

button {
    width: 100%;
    padding: 10px;
    background: linear-gradient(135deg, #2e003e, #5a0fb5); /* dark → mid purple */
    color: #fff;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.3s ease;
}

/* Hover */
button:hover {
    background: linear-gradient(135deg, #240031, #4a0d99);
    transform: translateY(-1px);
}

/* Click */
button:active {
    transform: scale(0.98);
}

/* Error */
.error {
    color: red;
    font-weight: bold;
    margin-bottom: 10px;
    text-align: center;
}
.action-buttons {
    display: flex;
    gap: 15px;
    margin: 15px 0;
}

.btn {
    padding: 12px 20px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    color: #fff;
    transition: 0.3s;
    display: inline-block;
}

/* Excel button (green) */
.btn-excel {
    background: linear-gradient(135deg, #4a2f6b, #c4a7f2);
}

.btn-excel:hover {
    background: linear-gradient(135deg, #3b2556, #b391eb);
    transform: translateY(-2px);
}

/* Print button (purple theme) */
.btn-print {
    background: linear-gradient(135deg, #4a2f6b, #c4a7f2);
}

.btn-print:hover {
    background: linear-gradient(135deg, #3b2556, #b391eb);
    transform: translateY(-2px);
}
.page-content {
    padding: 20px;
    font-family: Arial, sans-serif;
}

/* Header */
.page-header h2 {
    margin: 0 0 15px 0;
    color: #2e003e;
}

/* Buttons */
.action-buttons {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
}

.btn {
    padding: 10px 18px;
    border-radius: 8px;
    text-decoration: none;
    color: #fff;
    font-weight: bold;
    transition: 0.3s;
}


/* Table container */
.table-container {
    background: rgba(255,255,255,0.9);
    border-radius: 10px;
    padding: 15px;
    overflow-x: auto;
}