body {
    font-family: Arial, sans-serif;
    background-color: #f4f4f4;
    margin: 0;
    padding: 0;
}

.admin-container {
    width: 900px;
    margin: 50px auto;
    /* padding: 20px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 0 15px rgba(0,0,0,0.1); */
    float: right;
    margin-right: 30px;
}

h1, h2 {
    text-align: center;
    color: #333;
}

.add-school-form, .school-list {
    margin-bottom: 40px;
}

.add-school-form input, .add-school-form textarea {
    width: 100%;
    padding: 12px;
    margin: 10px 0;
    border: 1px solid #ddd;
    border-radius: 5px;
}

.add-school-form input[type="submit"] {
    background-color: #5cb85c;
    color: white;
    cursor: pointer;
    border: none;
    border-radius: 5px;
}

.add-school-form input[type="submit"]:hover {
    background-color: #4cae4c;
}

.school-list table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}

.school-list table, th, td {
    border: 1px solid #ddd;
    padding: 12px;
}

.delete-btn {
    color: red;
    text-decoration: none;
    font-weight: bold;
}
/* ---------------------------side bar---------------------------------- */

/* Sidebar */
.sidebar {
    width: 250px;
    height: 100vh;
    background-color: #2c3e50;
    color: white;
    position: fixed;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 20px;
}

.sidebar .admin-info {
    text-align: center;
    margin-bottom: 20px;
}

.sidebar .admin-info img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    border: 2px solid #fff;
    margin-bottom: 10px;
}

.sidebar .admin-info h3 {
    margin: 0;
    font-size: 18px;
}

.sidebar .menu {
    width: 100%;
}

.sidebar .menu a {
    display: block;
    padding: 15px;
    text-align: center;
    text-decoration: none;
    color: white;
    background-color: #34495e;
    margin-bottom: 10px;
    border-radius: 5px;
}

.sidebar .menu a:hover {
    background-color: #1abc9c;
}

.logout-link {
    color: #e74c3c;
    text-decoration: none;
    margin-top: auto;
    padding: 10px;
}

.logout-link:hover {
    color: #f66a5d;
}

/* Main Content */
.content {
    margin-left: 250px;
    padding: 20px;
    width: calc(100% - 250px);
}

/* Mobile Responsive */
@media screen and (max-width: 768px) {
    .sidebar {
        width: 200px;
    }
    .content {
        margin-left: 200px;
    }
}



/* _______________________________________________my student.php__________________________________________________________________________ */

.content-container { margin-left: 250px; padding: 20px; }
    body { background-color: #f8f9fa; font-family: Arial, sans-serif; }
    .card { background-color: #ffffff; border-radius: 10px; box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1); }
    .card-header { background-color: #007bff; color: white; font-size: 1.5rem; font-weight: bold; text-align: center; padding: 10px; }
    .table thead { background-color: #007bff; color: white; }
    .btn-info { background-color: #17a2b8; color: white; }
    .btn-danger { background-color: #dc3545; color: white; }




/* -----------------------------------------------register.php----------------------------------------------------------- */

        /* Reset */
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }
        /* body {
            font-family: 'Poppins', sans-serif;
            background: linear-gradient(135deg, #ffafbd, #ffc3a0);
            height: 100vh;
            margin: 0;
            display: flex;
            justify-content: center;
            align-items: flex-start; 
        } */

        .register-container {
            background-color: #fff;
            padding: 40px;
            border-radius: 15px;
            box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
            max-width: 450px;
            width: 100%;
            animation: fadeIn 1s ease-in-out;
            margin-top: 80px; /* Add margin from the top */
        }

        .register-container h2 {
            text-align: center;
            margin-bottom: 20px;
            font-size: 1.8rem;
            color: #333;
        }

        .register-container form input,
        .register-container form select,
        .register-container form textarea {
            width: 100%;
            padding: 12px;
            margin: 10px 0;
            border: 2px solid #ddd;
            border-radius: 8px;
            font-size: 1rem;
            transition: all 0.3s ease;
            background-color: #f7f7f7;
        }

        .register-container form input:focus,
        .register-container form select:focus,
        .register-container form textarea:focus {
            border-color: #6c63ff;
            background-color: #fff;
        }

        .register-container form input[type="submit"] {
            background-color: #6c63ff;
            color: white;
            cursor: pointer;
            border: none;
            transition: all 0.3s ease;
        }

        .register-container form input[type="submit"]:hover {
            background-color: #4a47a3;
        }

        .register-container p {
            margin-top: 10px;
            font-size: 0.85rem;
            color: #777;
            text-align: center;
        }

        .register-container p a {
            color: #6c63ff;
            text-decoration: none;
            font-weight: bold;
        }

        .register-container p a:hover {
            text-decoration: underline;
        }

        .error {
            color: red;
            text-align: center;
            margin-bottom: 15px;
        }

        .success {
            color: green;
            text-align: center;
            margin-bottom: 15px;
        }

        @keyframes fadeIn {
            0% {
                opacity: 0;
                transform: translateY(-30px);
            }
            100% {
                opacity: 1;
                transform: translateY(0);
            }
        }

        @media (max-width: 768px) {
            .register-container {
                padding: 30px;
            }

            .register-container h2 {
                font-size: 1.6rem;
            }
        }


 /* -------------------------------school student.php--------------------------------------------------------        */

 
 .content-container {
     margin-left: 250px;
     padding: 20px;
 }
 /* body {
     background-color: #f8f9fa;
     color: #333;
     font-family: Arial, sans-serif;
 } */
 .card {
     background-color: #ffffff;
     border: 1px solid #ddd;
     border-radius: 10px;
     box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
 }
 .card-header {
     background-color: #007bff;
     color: white;
     text-align: center;
     padding: 10px;
     border-radius: 10px 10px 0 0;
 }
 .accordion-button {
     background-color: #e9ecef;
     color: #007bff;
     font-weight: bold;
 }
 .accordion-button:not(.collapsed) {
     background-color: #007bff;
     color: white;
 }
 .table {
     background-color: white;
     color: #333;
 }
 .table thead {
     background-color: #007bff;
     color: white;
 }
 .table th, .table td {
     border-color: #ddd;
 }
 .btn-info {
     background-color: #17a2b8;
     border: none;
     color: white;
 }
 .btn-danger {
     background-color: #dc3545;
     border: none;
     color: white;
 }
 .search-box {
     margin-bottom: 15px;
 }
 

/* ------------------------------------------------student dashboard.php----------------------------------------------------------------  */




        /* body {
            background-color: #f9f9f9;
            font-family: Arial, sans-serif;
        } */

        .profile-card {
            background-image: url('../img/compressed-image.jpg');
            background-size: cover;
            background-position: center; 
            /* background-color:rgb(173 163 123 / 88%); */
            border-radius: 10px;
            box-shadow: 0px 8px 15px rgba(0, 0, 0, 0.2);
            text-align: center;
            padding: 20px;
            margin-bottom: 20px;
        }

        .profile-pic img {
            width: 120px;
            height: 120px;
            object-fit: cover;
            border: 3px solid #fff;
            border-radius: 50%;
            margin-top: -60px;
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
        }

        .card {
            box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.1);
            border: none;
            margin-bottom: 20px;
        }

        .card-header {
            font-weight: bold;
            background-color: #4caf50;
            color: #fff;
            text-align: center;
        }

        .result-card {
            background-color: #ffffff;
            border-radius: 10px;
            padding: 20px;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
            margin-top: 20px;
        }



      
    .row {
        display: flex;
        justify-content: center;
        align-items: center;
        perspective: 1200px; /* Creates depth */
    }

    /* Card Styling */
    .custom-card {
        position: relative;
        background: rgba(250, 255, 255, 0.1) !important; /* Transparent Glass Effect */
        border: 2px solid rgba(255, 255, 255, 0.2); /* Subtle Border */
        backdrop-filter: blur(10px); /* Glass Blur Effect */
        border-radius: 15px; /* Smooth Edges */
        box-shadow: 0px 10px 25px rgba(255, 255, 255, 0.1); /* Soft Shadow */
        transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out; /* Smooth Transitions */
        transform-style: preserve-3d;
        will-change: transform, box-shadow;
        overflow: hidden; /* Keeps Effects Inside */
    }

    /* Glowing Gradient Border */
    .custom-card::before {
        content: "";
        position: absolute;
        top: -5px;
        left: -5px;
        right: -5px;
        bottom: -5px;
        /* background: linear-gradient(45deg, #ff00ff, #ff6600, #00ffff); */
        z-index: -1;
        filter: blur(20px);
        opacity: 0;
        transition: opacity 0.3s ease-in-out;
    }

    /* Hover Effect - 3D Lift & Glow */
    .custom-card:hover {
        transform: rotateX(10deg) rotateY(5deg) translateY(-10px) scale(1.08);
        box-shadow: 0px 10px 10px rgba(50, 50, 50, 0.3), 
                    0px 0px 5px rgba(0, 0, 0, 0.4) ;
    }

    /* Hover - Activate Glowing Border */
    .custom-card:hover::before {
        opacity: 1;
    }

    /* Mouse Move - Dynamic 3D Rotation */
    .custom-card:hover {
        animation: none;
    }

    /* Smooth Text */
    .custom-card .card-body {
        text-align: center;
        font-size: 1.1rem;
        color: #ffffff;
        font-weight: bold;
    }




/* -----------------------------------------------STUDENT RESULT.PHP----------------------------------------------------     */

/* body {
    background-color: #f8f9fa;
    color: #333;
    font-family: Arial, sans-serif;
} */
.card {
    background-color: #ffffff;
    border: 1px solid #ddd;
    border-radius: 10px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
}
.card-header {
    background-color: #007bff;
    color: white;
    font-size: 1.5rem;
    font-weight: bold;
    text-align: center;
    padding: 10px;
    border-radius: 10px 10px 0 0;
}
.accordion-button {
    background-color: #e9ecef;
    color: #007bff;
    font-weight: bold;
}
.accordion-button:not(.collapsed) {
    background-color: #007bff;
    color: white;
}
.table {
    background-color: white;
    color: #333;
}
.table thead {
    background-color: #007bff;
    color: white;
}
.table th, .table td {
    border-color: #ddd;
}
.btn-info {
    background-color: #17a2b8;
    border: none;
    color: white;
}
.btn-danger {
    background-color: #dc3545;
    border: none;
    color: white;
}
.search-box {
    margin-bottom: 15px;
}




/* ----------------------------------TEACHER VIWE.PHP------------------------------------------------------------------ */


    .content-container {
        margin-left: 250px;
        padding: 20px;
    }
    /* body {
        background-color: #f8f9fa;
        color: #333;
        font-family: Arial, sans-serif;
    } */
    .card {
        background-color: #ffffff;
        border: 1px solid #ddd;
        border-radius: 10px;
        box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
    }
    .card-header {
        background-color: #007bff;
        color: white;
        font-size: 1.5rem;
        font-weight: bold;
        text-align: center;
        padding: 10px;
        border-radius: 10px 10px 0 0;
    }
    .accordion-button {
        background-color: #e9ecef;
        color: #007bff;
        font-weight: bold;
    }
    .accordion-button:not(.collapsed) {
        background-color: #007bff;
        color: white;
    }
    .table {
        background-color: white;
        color: #333;
    }
    .table thead {
        background-color: #007bff;
        color: white;
    }
    .table th, .table td {
        border-color: #ddd;
    }
    .btn-info {
        background-color: #17a2b8;
        border: none;
        color: white;
    }
    .btn-danger {
        background-color: #dc3545;
        border: none;
        color: white;
    }
    .search-box {
        margin-bottom: 15px;
    }
    .profile-bg-overlay {
        background: linear-gradient(135deg, #4e54c8 0%, #8f94fb 100%);
        height: 80px; /* Reduced height */
        border-radius: 0 0 40% 40%;
    }
    
    .avatar-wrapper {
        transition: transform 0.3s ease;
    }
    
    .avatar-wrapper:hover {
        transform: scale(1.05);
    }
    
    .detail-card {
        transition: all 0.2s ease;
        border: 1px solid rgba(78, 84, 200, 0.1);
    }
    
    .detail-card:hover {
        transform: translateY(-2px);
        box-shadow: 0 4px 15px rgba(78, 84, 200, 0.1);
    }
    
    .bg-primary-soft {
        background-color: rgba(78, 84, 200, 0.08);
    }
    
    .bg-gradient-primary {
        background: linear-gradient(135deg, #4e54c8 0%, #8f94fb 100%) !important;
    }
/* ------------------------------------UPLOAD STUDENT.PHP----------------------------------------------------- */
    /* body {
        background-color: #f8f9fa;
        color: #333;
        font-family: Arial, sans-serif;
    } */
    .card {
        background-color: #ffffff;
        border: 1px solid #ddd;
        border-radius: 10px;
        box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
    }
    .card-header {
        background-color: #007bff;
        color: white;
        font-size: 1.5rem;
        font-weight: bold;
        text-align: center;
        padding: 10px;
        border-radius: 10px 10px 0 0;
    }
    .accordion-button {
        background-color: #e9ecef;
        color: #007bff;
        font-weight: bold;
    }
    .accordion-button:not(.collapsed) {
        background-color: #007bff;
        color: white;
    }
    .table {
        background-color: white;
        color: #333;
    }
    .table thead {
        background-color: #007bff;
        color: white;
    }
    .table th, .table td {
        border-color: #ddd;
    }
    .btn-info {
        background-color: #17a2b8;
        border: none;
        color: white;
    }
    .btn-danger {
        background-color: #dc3545;
        border: none;
        color: white;
    }
    .search-box {
        margin-bottom: 15px;
    }
