/* Import Google Font */


/* Reset Default Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;


}




/* Form Labels */
label {
    display: block;
    text-align: left;
    margin-top: 10px;
    color: #000000;
    font-size: 14px;
}


/* Login Button */
button {
    width: 100%;
    margin-top: 20px;
    padding: 12px;
    border: none;
    border-radius: 6px;
    background-color: #4CAF50;
    color: rgb(0, 2, 136);
    font-size: 16px;
    cursor: pointer;
    transition: 0.3s;
}

/* Button Hover Effect */
button:hover {
    background-color: #45a049;
}

/* Error Message */
.error {
    color: red;
    font-size: 14px;
    margin-bottom: 10px;
}

/* Register Link */
p {

    font-size: 14px;
    color: #ffffff;
}

p a {
    color: #010148;
    text-decoration: none;
    font-weight: 600;
}

p a:hover {
    text-decoration: underline;
}

/* Full-screen blurred background */
.login-bg {
    position: fixed;
    width: 100%;
    height: 100%;
    background: url("../images/calsar1\ \(1\).jpeg") no-repeat center center/cover;

    backdrop-filter: blur(15px); /* Adds a slight blur to enhance readability */
}

    

/* Ensure the login container is not affected by the blur */
.login-container {
    padding-top: 200px;
    position: relative; /* Ensures it stays above the blurred background */
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100vh;
}

/* Glassmorphism Login Box */
.login-box {
    background: rgba(255, 255, 255, 0.2); /* Semi-transparent Glass Effect */
    backdrop-filter: blur(15px); /* Adds a slight blur to enhance readability */
    padding: 30px;
    width: 350px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.login-box-dash {
    background: rgba(255, 255, 255, 0.427); /* Semi-transparent Glass Effect */
    backdrop-filter: blur(10px); /* Adds a slight blur to enhance readability */

    width: 400px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.656);
    border: 2px solid rgba(255, 255, 255, 0.74);
    color: #a80000;
}
.login-box-dash p{
    color: #080044;
    font-weight: 500;
}
.login-box-dash a{
    color: #ffea00;
   
    text-decoration: none;
}
.login-box-dash a:hover{
    color: #a80000;
    text-decoration: none;
}
/* Styling for input fields */
input {
    width: 100%;
    padding: 10px;
    margin-top: 5px;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    background: rgba(255, 255, 255, 0.507);
    color: #000000;
    outline: none;
    transition: 0.3s;
cursor: pointer;
}
/* Login Button */
button {
    width: 300px;
    margin-top: 20px;
    padding: 12px;
    border: none;
    border-radius: 6px;
    background-color: #4CAF50;
    color: rgb(255, 255, 255);
    font-size: 16px;
    cursor: pointer;
    transition: 0.3s;
    justify-content: center;
}
/* Navbar Container */
.admin-header .navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #00027d;
    padding: 20px 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    z-index: 10;
}

/* Logo */
.admin-header .navbar .logo img {
    height: 50px;
    max-width:200px;
}

/* Menu Styling */
.admin-header  .navbar .menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

.admin-header  .navbar .menu li {
    margin-left: 20px;
}

.admin-header  .navbar .menu a {
    text-decoration: none;
    color: white;
    font-size: 16px;
    padding: 8px 15px;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

.admin-header .navbar .menu a:hover {
    background-color: #ffffff;
    color: #550303;
}

/* Menu Toggle Button (For Mobile View) */
.navbar .menu-toggle {
    display: none; /* Hidden by default */
    flex-direction: column;
    cursor: pointer;
}

.navbar .menu-toggle span {
    background-color: white;
    height: 3px;
    width: 25px;
    margin: 4px 0;
    border-radius: 2px;
}

/* Responsive Design */
@media (max-width: 768px) {
    /* Hide menu and show toggle */
    .admin-header .navbar .menu {
        display: none;
        flex-direction: column;
        background-color: #000000;
        position: absolute;
        top: 80px;
        right: 0;
        width: 100%;
        height: 100vh;
        text-align: center;
    }

    .navbar .menu li {
        margin: 10px 0;
        padding-top: 20px;
    }

    .navbar .menu-toggle {
        display: flex;
    }

    /* Show menu when active */
    .navbar .menu.active {
        display: flex;
    }
}/* Dropdown Styling */
.dropdown {
    position: relative;
}

.dropdown-toggle {
    cursor: pointer;
    text-decoration: none;
    color: white;
    padding: 8px 15px;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

.dropdown-toggle:hover {
    background-color: #45a049;
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: rgb(15, 0, 180);
    border-radius: 4px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    list-style: none;
    padding: 10px 0;
    min-width: 150px;
    z-index: 1000;
}

.dropdown-menu li {
    margin: 0;
    padding: 0;
}

.dropdown-menu a {
    display: block;
    padding: 8px 15px;
    text-decoration: none;
    color: #ffffff;
    font-size: 14px;
    transition: background-color 0.3s ease;
}

.dropdown-menu a:hover {
    background-color: #300202;
}

/* Show Dropdown on Hover for Desktop */
.dropdown:hover .dropdown-menu {
    display: block;
}

/* Responsive Dropdown Handling */
@media (max-width: 768px) {
    .dropdown-menu {
        position: static; /* Remove absolute positioning for mobile */
        text-align: center;
    }

    .dropdown-menu.active {
        display: block;
    }
}
/* Media Queries for Mobile */
@media (max-width: 768px) {
    .nav {
        display: none; /* Hide desktop menu on mobile */
    }

    .menu-toggle {
        display: flex; /* Show hamburger icon on mobile */
    }

    .mobile-nav {
        display: block; /* Show mobile menu */
    }
}
table {
    margin-top: 30px;
    width: 100%;
    overflow-x: scroll;
}
th, td {
    text-align: center;
    padding: 10px;
}
th {
    background-color: #007bff;
    color: white;
}
tr:nth-child(even) {
    background-color: #f2f2f2;
}
.btn {
    margin: 0 5px;
}
.btn-primary {
    background-color: #007bff;
    border-color: #007bff;
}
.btn-danger {
    background-color: #dc3545;
    border-color: #dc3545;
}

.admin-reg{
    background-color: #ffffff;
    border: 5px solid rgb(0, 0, 96);
    border-radius: 25px;
}

.logo{
    width: 200px;
}


    
.card-body p{
    color: #000000;
}

.dashboard-bg {
    width: 100%;
    height: 100vh; /* Ensure it covers the full viewport */
   /* Required for positioning the pseudo-element */
    overflow: hidden; /* Prevent any overflow from the content */
}

.dashboard-bg::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../images/calsar1\ \(3\).jpeg'); /* Apply the background image here */
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    filter: blur(3px) brightness(80%); /* Apply blur and brightness */
    z-index: -1; /* Keep the blurred background behind content */
}
