@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');
*{
    margin: 0;
    padding: 0;
}
body{
    font-family: "Roboto", sans-serif !important;
}
.login-wrap{
    background-color: #000422;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}
.form-control{
    border: 1px solid #969dd9 !important;
}
.hidden {
    display: none;
}
.tab-buttons{
    background-color: #cdcdcd;
    padding: 6px 10px;
    border-radius: 6px;
    border: none;
}
.tab-buttons button.active {
    background: #00139a;
    color: #fff;
}
.login-card{
    background-color: #fff;
    border-radius: 6px;
    padding: 30px 20px;
    box-shadow: rgba(0, 0, 0, 0.25) 0px 54px 55px, rgba(0, 0, 0, 0.12) 0px -12px 30px, rgba(0, 0, 0, 0.12) 0px 4px 6px, rgba(0, 0, 0, 0.17) 0px 12px 13px, rgba(0, 0, 0, 0.09) 0px -3px 5px;
}

.dashboard-wrap{
    height: 100vh;
    display: flex;
}
.dashboard-wrap form{
    width: 100%
}
.filter-btn{
    background-color: #00139a;
    padding: 8px 23px;
    color: #fff;
    border: none;
    border-radius: 6px;
    margin: 0 6px;
    font-size: 22px;
}
.filter-content{
    display: flex;
    flex-direction: column;
}
.filter-content select{
    padding: 8px 10px;
    margin-top: 4px;
}
.filter-content input{
    padding: 8px 10px;
    margin-top: 4px;
}
.dashboard-left{
    background-color: #000000;
    height: 100vh;
    width: 280px;
    padding: 20px;
}
.dashboard-right{
    background-color: #cbd1ff;
    height: 100vh;
    width: calc(100% - 280px);
    padding: 45px 40px;
}
.dashboard-logo h3{
    font-size: 22px;
    margin-bottom: 0;
    text-align: center;
}
.dashboard-logo {
    padding: 10px;
    background-color: #fff;
    border-radius: 4px;
}
.dropdown-menu {
    position: static !important;
    transform: none !important;
    background-color: #ebedff;
}

.navigation{
    margin-top: 40px;
}
.navigation ul{
    margin-bottom: 0;
    padding-left: 0;
    list-style: none;
}
.navigation li{
    margin-bottom: 18px;
}
.navigation .nav-btn{
    width: 100%;
    text-align: justify;
    padding: 7px 8px;
    background-color: #00063f;
    color: #fff;
    border: none;
    border-radius: 4px;
    font-weight: 400;
    font-size: 16px;
}
.dropdown-toggle::after{
    position: absolute;
    right: 10px;
    top: 45%;
}
.dropdown-toggle{
    position: relative;
}
.dashboard-blocks{
    background-color: #000422;
    padding: 25px;
    border-radius: 6px;
}
.d-block-bottom{
    margin-bottom: 0;
    color: #fff;
}
.d-block-bottom h4{
    font-size: 20px;
}
.d-block-bottom h3{
    font-size: 38px;
}
.d-block-top{
    width: 60px;
    margin-bottom: 20px;
}

/* Right Content Area */
.content {
    flex: 1;
    padding: 50px 20px;
    display: flex;
    justify-content: center;   /* horizontal center */
    align-items: center;       /* vertical center */
}

/* Card */
.form-card {
    width: 100%;
    max-width: 500px;
    background: #2e2e2e;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
    color: #fff;
}

/* Header */
.form-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}

.form-header h2 {
    margin: 0;
    font-size: 32px;
}

/* Back Button */
.back-btn {
    text-decoration: none;
    font-size: 14px;
    color: #4e73df;
    font-weight: 600;
}

.back-btn:hover {
    text-decoration: underline;
}

/* Form Styling */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 6px;
    font-weight: 600;
}

.form-group input {
    width: 100%;
    padding: 10px;
    border-radius: 6px;
    border: 1px solid #ccc;
}

.form-group input:focus {
    border-color: #4e73df;
    outline: none;
}

/* Button */
.form-actions {
    text-align: right;
}

.save-btn {
    padding: 10px 20px;
    background-color: #4e73df;
    border: none;
    border-radius: 6px;
    color: #fff;
    cursor: pointer;
}

.save-btn:hover {
    background-color: #2e59d9;
}

/* Success Message */
.success-msg {
    position: absolute;
    top: 20px;
    right: 20px;
    background: #d4edda;
    color: #155724;
    padding: 10px 15px;
    border-radius: 6px;
}

/* Table Card */
.table-card {
    background: #ffffff;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.06);
    width: 100%;
    overflow-x: auto;
}

/* Header */
.table-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.table-header h3 {
    margin: 0;
    font-size: 28px;
    color: #333;
}

/* Table Styling */
.custom-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
    background-color: #edd6b8;
    margin-top: 30px;
}

/* Table Head */
.custom-table thead {
    background-color: #f1f5f9;
}

.custom-table th {
    padding: 12px;
    text-align: left;
    font-weight: 600;
    color: #ffffff;
    border-bottom: 2px solid #e2e8f0;
    background-color: #030a4c;
}

/* Table Body */
.custom-table td {
    padding: 12px;
    border-bottom: 1px solid #e2e8f0;
    color: #555;
}

/* Hover Effect */
.custom-table tbody tr:hover {
    background-color: #f9fafb;
    transition: 0.2s;
}

/* Edit Button */
.edit-btn {
    padding: 6px 12px;
    background-color: #4e73df;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    font-size: 13px;
    transition: 0.3s;
}

.edit-btn:hover {
    background-color: #2e59d9;
}

/* Optional Delete Button (Future Use) */
.delete-btn {
    padding: 6px 12px;
    background-color: #e74a3b;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    font-size: 13px;
    margin-left: 5px;
}

.delete-btn:hover {
    background-color: #c0392b;
}

/* Responsive */
@media (max-width: 768px) {
    .custom-table th,
    .custom-table td {
        padding: 8px;
        font-size: 12px;
    }
}

.form-group select {
    padding: 10px 12px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 14px;
    transition: all 0.3s ease;
    outline: none;
    background-color: #fff;
    width: 100%;
}

/* Focus Effect */
.form-group select:focus {
    border-color: #4CAF50;
    box-shadow: 0 0 5px rgba(76, 175, 80, 0.3);
}


.timetable-info{
    margin-bottom:20px;
}

.timetable-info label{
    font-weight:bold;
    margin-right:10px;
}

.timetable-info input{
    padding:6px;
    margin-right:20px;
}

.timetable-table{
    width:100%;
    border-collapse:collapse;
    margin-top: 40px;
}

.timetable-table th,
.timetable-table td{
    border:1px solid #ccc;
    padding:12px;
    text-align:center;
}
.timetable-table thead{
    background-color: #00063f;
}
.timetable-table th{
    background:#f2f2f2;
}

.pagination{
margin-top:25px;
text-align:center;
}

.pagination a{
display:inline-block;
padding:8px 14px;
margin:3px;
border:1px solid #ddd;
text-decoration:none;
color:#333;
border-radius:5px;
font-size:14px;
}

.pagination a:hover{
background:#4CAF50;
color:white;
border-color:#4CAF50;
}

.pagination a.active{
background:#4CAF50;
color:white;
font-weight:bold;
border-color:#4CAF50;
}
.home-icon{
    width: 30px;
    height: 30px;
    margin-right: 8px;
}
.home-wrap a{
    list-style: none;
    color: #fff;
    text-decoration: none;
    font-size: 22px;
}