*{
margin:0;
padding:0;
box-sizing:border-box;
font-family:Arial, sans-serif;
}
/*  logo */
img{
    width: 10vh;
    height:auto;
}
.school_logo
{
    margin: 0px;
    padding: 0px;
    /* height:5vh;
    width: 5vh; */
}

body{
background:#f2f5f8;
}

/* Layout */
.wrapper{
display:flex;
min-height:100vh;
}

/* Sidebar */
.sidebar{
width:230px;
background:#1e2a32;
color:white;
padding:20px;
transition:.3s;
}

.logo{
text-align:center;
margin-bottom:20px;
}

.profile{
text-align:center;
}

.profile img{
width:70px;
border-radius:50%;
}

.online{
color:lime;
font-size:13px;
}

.menu{
list-style:none;
margin-top:20px;
}

.menu li{
padding:12px;
cursor:pointer;
border-radius:5px;
}

.menu li.active,
.menu li:hover{
background:#2e3f4a;
}

/* Main */
.main{
flex:1;
}

/* Topbar */
.topbar{
background:#3b8dbc;
padding:15px;
display:flex;
justify-content:space-between;
color:white;
}

.topbar img{
width:35px;
border-radius:50%;
margin-left:10px;
}

/* Content */
.content{
padding:25px;
}

.content h2 span{
font-size:14px;
color:gray;
}

/* Forms */
.top-form{
display:grid;
grid-template-columns:1fr 1fr;
gap:20px;
margin-top:20px;
}

.box{
background:white;
/* padding:20px; */
border-radius:6px;
}

.box input{
width:100%;
padding:10px;
margin-top:8px;
border:1px solid #ccc;
border-radius:4px;
}

.btn-group{
margin-top:10px;
}

.btn{
    background-color: rgb(51, 255, 0);
border:none;
padding:8px 15px;
color:white;
cursor:pointer;
border-radius:4px;
}
.btn-delete
{
  
    background-color: rgb(252, 61, 28);
border:none;
padding:8px 15px;
color:white;
cursor:pointer;
border-radius:4px;
}
.view-button{

    background-color: #4CAF50;   /* Green */
    color: white;
    padding: 8px 8px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: 0.3s ease;
    margin-left: 2px;
}

.view-btn:hover {
    background-color: #43a047;
    transform: scale(1.05);
}

.view-btn:active {
    transform: scale(0.95);
}



.blue{background:#3498db;}
.orange{background:#f39c12;}

/* Cards */
.cards{
display:flex;
gap:20px;
margin:25px 0;
}

.card{
flex:1;
padding:25px;
color:white;
border-radius:6px;
}

.cyan{background:#00c0ef;}
.green{background:#00a65a;}

/* Table */
.table-box{
background:white;
padding:15px;
border-radius:6px;
overflow-x:auto;
}

table{
width:100%;
border-collapse:collapse;
}

th{
background:#2f363d;
color:white;
text-align: center;
padding:10px;
}

td{
    font-size: 12px;
    text-align: center;
/* padding:10px; */
border-bottom:1px solid #ddd;
}

/* Responsive */
@media(max-width:900px){
.top-form{
grid-template-columns:1fr;
}

.cards{
flex-direction:column;
}

.sidebar{
position:fixed;
left:-230px;
top:0;
height:100%;
z-index:1000;
}

.sidebar.show{
left:0;
}

}
.more-info{
    color: white;
}
.table-wrapper {
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
}

.school-table {
    min-width: 900px;   /* columns ke hisab se */
    border-collapse: collapse;
}

.school-table th,
.school-table td {
    /* padding: 12px; */
    border: 1px solid #ddd;
    white-space: nowrap;
    text-align: center;
}
