* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    background-color: #f4f4f4;
    line-height: 1.6;
    transition: filter 0.3s ease;
}

.dropdown {
    position: relative;
    width: 300px;
}

#searchInput {
    height: 40px;
    width: 100%;
    padding: 10px;
    background-color: transparent;
    outline-color: #007BFF;
    border-radius: 5px;
}

.dropdown-list {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fdf104;
    border: 1px solid #ccc;
    border-radius: 5px;
    max-height: 150px;
    overflow-y: auto;
    display: none;
    z-index: 1000;
}

.dropdown-list div {
    padding: 10px;
    cursor: pointer;
}

.dropdown-list div:hover {
    background: #756f02;
}

.dashboard {
    display: flex;
    height: 100vh;
}

/* Navbar Styles */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 60px;
    background-color: white;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}

.navbar-logo {
    display: flex;
    align-items: center;
}

.navbar-logo img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    margin-right: 10px;
}

.search-box {
    flex-grow: 1;
    margin: 0 20px;
}

.search-box input {
    width: 100%;
    padding: 8px 15px;
    border: 1px solid #ddd;
    border-radius: 20px;
}

.profile-section {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.profile-img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
}

.profile-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    width: 200px;
    background-color: white;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    display: none;
}

.profile-dropdown.active {
    display: block;
}

.dropdown-item {
    padding: 10px 15px;
    display: flex;
    align-items: center;
    cursor: pointer;
}

.dropdown-item:hover {
    background-color: #f5f5f5;
}

.dropdown-item img {
    width: 20px;
    height: 20px;
    margin-right: 10px;
}

/* Sidebar Styles */
.sidebar {
    position: fixed;
    top: 60px;
    left: 0;
    bottom: 0;
    width: 250px;
    background-color: white;
    padding: 20px 0;
    overflow-y: auto;
    box-shadow: 2px 0 5px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    z-index: 999;
}

.sidebar-section {
    margin-bottom: 10px;
}

.sidebar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    cursor: pointer;
}

.sidebar-header:hover {
    background-color: #f5f5f5;
}

.sidebar-header img {
    width: 20px;
    height: 20px;
    margin-right: 10px;
}

.sidebar-links {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

.sidebar-links.active {
    max-height: 300px;
    transition: max-height 0.5s ease-in;
}

.sidebar-links a {
    display: block;
    padding: 8px 20px;
    color: #333;
    text-decoration: none;
}

.sidebar-links a:hover {
    color: #007bff;
}

/* Main Content Styles */
.main-content {
    margin-left: 250px;
    margin-top: 60px;
    padding: 20px;
    width: calc(100% - 250px);
    transition: all 0.3s ease;
}

.content-card {
    background-color: white;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.content-card h2 {
    font-size: 1.3rem;
    font-weight: 700;
}

.as-ink-ico {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5px;
}

.as-ink-ico i {
    font-size: 1.2rem;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    position: fixed;
    top: 15px;
    left: 15px;
    z-index: 1100;
    cursor: pointer;
    background: #f4f4f4;
    padding: 10px;
    border-radius: 5px;
}

.mobile-menu-toggle.active .bar:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.mobile-menu-toggle.active .bar:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active .bar:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

.mobile-menu-toggle .bar {
    width: 25px;
    height: 3px;
    background-color: #333;
    margin: 5px 0;
    transition: 0.4s;
}

.dash-big-box {
    height: fit-content;
    padding: 10px;
    width: 100%;
    /* background-color: #007bff; */
}

.dash-small-tick {
    height: fit-content;
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    align-items: center;
}

.small-tick {
    height: 150px;
    width: 250px;
    background-color: #f4f4f4;
    border-radius: 10px;
    /* box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); */
    overflow: hidden;
    transition: 0.4s all ease;
    display: flex;
    align-items: center;
    justify-content: start;
    position: relative;
}

.small-tick:first-child {
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.small-tick:hover {
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: 0.4s all ease;
}

.sma-ti-imgb {
    height: 100px;
    width: 120px;
    /* background-color: #007bff; */
}

.sma-ti-imgb img {
    height: 100%;
    width: 100%;
    object-fit: contain;
    filter: drop-shadow(0.5rem 0.3rem 0.15rem rgba(0, 0, 0, 0.2));
}

.small-tick h3 {
    font-size: 1.1rem;
    color: #969595;
}

.smal-bot-bor {
    position: absolute;
    bottom: 0%;
    left: 0%;
    height: 35px;
    width: 100%;
    background-color: #aaaaaa;
    display: flex;
    justify-content: space-between;
    padding: 1px 3px;
    align-items: center;
}

.smal-bot-bor h4 {
    font-size: 1rem;
    color: #e9e9e9;
}

.smal-bot-bor a {
    text-decoration: none;
}

.smal-bot-bor i {
    font-size: 1.2rem;
    color: #007bff;
    cursor: pointer;
}

.dash-chart-box {
    height: fit-content;
    width: 100%;
    margin-top: 10px;
    display: flex;
    justify-content: start;
    gap: 20px;
    flex-wrap: wrap;
}

.dash-chart {
    height: 300px;
    width: 400px;
    border-radius: 10px;
    background-color: #ddd;
}

/* --------- school/college add -------- */

.sch-col-big-box {
    height: fit-content;
    width: 100%;
    padding: 10px;
}

.sch-col-sear-box {
    height: fit-content;
    padding: 5px 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.sch-col-show-box {
    max-height: 58vh;
    padding: 5px 0;
    width: 100%;
    overflow-y: scroll;
    /* background-color: #007bff; */
}

.sch-serach {
    height: 40px;
    width: 30%;
    border-radius: 10px;
    border: 1.2px solid #6b6a6a;
    padding-top: 4px;
    padding-left: 4px;
}

.in-search {
    height: 100%;
    width: 100%;
    outline: none;
    border: none;
    background-color: transparent;
}

/* From Uiverse.io by adeladel522 */
/* .button {
    position: relative;
    transition: all 0.3s ease-in-out;
    box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.2);
    padding-block: 0.5rem;
    padding-inline: 1.25rem;
    background-color: rgb(0 107 179);
    border-radius: 9999px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #ffff;
    gap: 10px;
    font-weight: bold;
    border: 3px solid #ffffff4d;
    outline: none;
    overflow: hidden;
    font-size: 15px;
}

.icon {
    width: 24px;
    height: 24px;
    transition: all 0.3s ease-in-out;
}

.button:hover {
    transform: scale(1.05);
    border-color: #fff9;
}

.button:hover .icon {
    transform: translate(4px);
}

.button:hover::before {
    animation: shine 1.5s ease-out infinite;
}

.button::before {
    content: "";
    position: absolute;
    width: 100px;
    height: 100%;
    background-image: linear-gradient(120deg,
            rgba(255, 255, 255, 0) 30%,
            rgba(255, 255, 255, 0.8),
            rgba(255, 255, 255, 0) 70%);
    top: 0;
    left: -100px;
    opacity: 0.6;
}

@keyframes shine {
    0% {
        left: -100px;
    }

    60% {
        left: 100%;
    }

    to {
        left: 100%;
    }
} */

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.5);
    display: none;
    z-index: 1000;
    justify-content: center;
    align-items: center;
    overflow-y: scroll;
    padding-top: 10%;
}

.form-container {
    background-color: white;
    padding: 30px;
    border-radius: 10px;
    width: 620px;
    height: fit-content;
    position: relative;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.close-icon {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 24px;
    cursor: pointer;
    color: #888;
    transition: color 0.3s;
}

.close-icon:hover {
    color: #333;
}

.form-container form {
    display: flex;
    flex-direction: column;
}

/* .form-container input {
    margin-bottom: 15px;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
} */

.disabled-overlay {
    filter: blur(3px) brightness(0.7);
    pointer-events: none;
}

.page-disabled #formOverlay,
.page-disabled #formOverlay * {
    filter: none;
    pointer-events: auto;
}

.show-opt {
    height: 35px;
    width: 200px;
    border-radius: 10px;
    border: 1.3px solid;
    color: #6b6a6a;
    padding: 5px;
}

.two-butt-in {
    display: flex;
    gap: 10px;
    align-items: center;
}

.form-big-box {
    height: fit-content;
    width: 100%;
    display: flex;
    gap: 20px;
    margin-top: 25px;
}

.form-small-box {
    height: fit-content;
    width: 100%;
}

.form-small-img {
    display: flex;
    flex-direction: column;
    gap: 6px;
    justify-content: center;
    padding-left: 50px;
    width: 50%;

}

.in-inp {
    width: 100%;
    /* background-color: rgb(4, 109, 201); */
    margin-bottom: 10px;
}

.ou-inp {
    height: 45px;
    width: 100%;
    outline: none;
    border-radius: 10px;
    border: 1.3px solid;
    padding: 0px 5px;
}

.in-stu-im {
    height: 150px;
    width: 150px;
    border-radius: 10px;
    border: 1.2px solid;
}

.sub-butt {
    height: 40px;
    width: 100%;
    border-radius: 10px;
    background-color: #007bff;
}

.anal-all-dat {
    height: fit-content;
    width: 100%;
    padding: 10px 0px;
}

.anal-all-dat h3 {
    font-size: 1rem;
    color: #007bff;
    border-bottom: 1.4px solid;
}

.all-dat-in {
    height: fit-content;
    width: 100%;
    padding: 10px 0px;

}

.data-in {
    height: fit-content;
    width: 100%;
    display: flex;
    gap: 30px;
    margin-bottom: 10px;

}

.data-box-in {
    height: 100px;
    width: 40%;
    background: linear-gradient(45deg, #ff0073, #04f7ef);
    border-radius: 10px;
    display: flex;

}

.icon-box {
    height: 100%;
    width: 30%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.icon {
    height: 50px;
    width: 50px;
    background-color: #33333345;
    /* backdrop-filter: blur(17); */
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.icon i {
    font-size: 1.5rem;
    font-weight: 400;
}

.data-info {
    height: 100%;
    width: 70%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: start;
}

.data-info h4 {
    font-size: 1.3rem;
    font-weight: 400;
    color: #333;
    line-height: 1;
}

.data-info h5 {
    font-size: 0.8rem;
    font-weight: 500;
    color: #303030;
}

.year-chan-but {
    display: flex;
    justify-content: space-between;
    align-items: center;
}


.for-container {
    height: fit-content;
    width: 100%;
    /* margin: 50px auto; */
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.for-container h3 {
    text-align: start;
    margin: 0px 0px 1px 10px;
    color: dodgerblue;
    font-size: 1rem;
    font-weight: 600;
}

form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

label {
    font-size: 14px;
    color: #555;
    margin-right: 10px;
}

.input-in {
    height: 100%;
    width: 100%;
    padding: 10px;
    font-size: 14px;
    border: 1px solid #1c1c1c;
    border-radius: 5px;

    /* width: calc(100% - 22px); */
}

.ou-big-box {
    height: fit-content;
    width: 100%;
    display: flex;
    gap: 10px;
}

.inp-ou-box {
    height: 40px;
    width: 50%;
}


/* button {
    padding: 10px 15px;
    font-size: 14px;
    border: none;
    background-color: #007bff;
    color: white;
    border-radius: 5px;
    cursor: pointer;
}

button:hover {
    background-color: #0056b3;
} */

.inp-sub-box {
    height: fit-content;
    width: 100%;
    margin-top: 30px;
    margin-bottom: 20px;
}

.add-subject,
.add-course-sub {
    height: 40px;
    width: 40px;
    border-radius: 50%;
    background-color: #28a745;
}

.add-class,
.add-course,
.add-session {
    padding: 10px 15px;
    border-radius: 10px;
    background-color: #28a745;
}

.add-subject:hover,
.add-class:hover {
    background-color: #218838;
}

.subjects {
    height: fit-content;
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    padding: 3px;
}

.subjects-input {
    height: 100%;
    width: 45%;
    padding: 10px;
    font-size: 14px;
    border: 1px solid #1c1c1c;
    border-radius: 5px;

}

.class-section,
.course-section {
    height: fit-content;
    width: 100%;
    padding: 10px 0px;
}

.class-group,
.course-group {
    height: fit-content;
    border: 1px solid #ddd;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 15px;
}

.cla-set-sub {
    height: 40px;
    width: 30%;
    border-radius: 10px;
    background-color: #007bff;
}

.cla-set-sub:hover {
    background-color: #0056b3;
}

.accou-box {
    height: fit-content;
    width: 100%;
    padding: 20px 0px;
    /* background-color: #303030; */
    display: flex;
    gap: 30px;
}

.accou-info {
    height: 300px;
    width: 40%;
    /* background-color: #007bff; */

}

.accou-qr {
    height: 200px;
    width: 200px;
    overflow: hidden;
}

.accou-qr img {
    height: 100%;
    width: 100%;
    object-fit: contain;
}

.accou-info h3 {
    font-size: 1rem;
    font-weight: 400;
}

.accou-info h3 span {
    font-size: 1.1rem;
    font-weight: 600;
    padding-right: 5px;
}

.accou-form {
    height: fit-content;
    width: 50%;
    padding: 20px;
    border: 2px solid #9d9696;
    border-radius: 10px;
}

.accou-form h3 {
    font-size: 1.3rem;
    font-weight: 600;
}

.rase-in-inpu {
    height: 50px;
    width: 100%;
    margin-bottom: 5px;
}

.rese-in-inpu label {
    padding-left: 5px;
}

.ras-inp {
    height: 100%;
    width: 100%;
    border: 1px solid #6b6a6a;
    outline: none;
    border-radius: 10px;
    padding: 5px;

}

.rase-but {
    height: 40px;
    width: 100%;
    margin-top: 10px;
    border-radius: 10px;
    font-size: 1.1rem;
    background-color: #007bff;
    color: #f4f4f4;
}

.ras-for {
    border-top: 1.3px solid #555;
}

.cu-dis {
    cursor: not-allowed;
}

.templates {
    height: fit-content;
    width: 100%;
    padding: 0px 15px;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.template {
    cursor: pointer;
    height: 150px;
    width: 30%;
    /* background-color: #0056b3; */
    border-radius: 10px;
}

.template img {
    height: 100%;
    width: 100%;
    object-fit: contain;
}

.template:hover {
    cursor: pointer;
    height: 150px;
    width: 30%;

}

.template.selected {
    cursor: pointer;
    border: 1.4px solid #28a745;
}

#publishButton {
    cursor: pointer;
    height: 40px;
    width: 22%;
    display: block;
    margin: 20px 15px;
    padding: 10px 20px;
    font-size: 16px;
    color: white;
    background-color: #007BFF;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    opacity: 0.6;
}

#publishButton:enabled {
    opacity: 1;
}

#publishButton:disabled {
    cursor: not-allowed;
}

#additionalFees {
    height: 100%;
    width: 100%;
    padding-top: 10px;
    margin-top: 20px;
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}

.inp-sele-box {
    height: 40px;
    width: 49%;
    border: 1.3px solid;
    border-radius: 8px;
    outline: none;
}

#feeRowup {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    width: 100%;
}

.feerow {
    height: 40px;
    width: 49%;
    margin-bottom: 16px;
}

#addFeeBtn {
    height: 40px;
    padding: 0px 10px;
    background-color: #007bff;
    color: #e9e9e9;
    border-radius: 10px;
    margin-bottom: 10px;
}

.addFeeBtn {
    height: 40px;
    padding: 0px 10px;
    background-color: #007bff;
    color: #e9e9e9;
    border-radius: 10px;
    margin-bottom: 10px;
}

















/* Responsive Design */
@media (max-width: 1200px) {
    .sidebar {
        width: 220px;
        z-index: 9999;
    }

    .main-content {
        margin-left: 220px;
        width: calc(100% - 220px);
    }

    .accou-box {
        flex-direction: column;
    }

    .accou-info {
        height: fit-content;
        width: 100%;
    }
    .accou-form {
        height: fit-content;
        width: 100%;
    }
}

@media (max-width: 992px) {
    .sidebar {
        width: 200px;
        z-index: 9999;
    }

    .main-content {
        margin-left: 200px;
        width: calc(100% - 200px);
    }
}

@media (max-width: 768px) {
    .navbar {
        flex-wrap: wrap;
        height: auto;
        padding: 10px;
    }

    .navbar-logo {
        width: 100%;
        justify-content: center;
        margin-bottom: 10px;
    }

    .search-box {
        width: 100%;
        margin: 0 0 10px;
    }

    .sidebar {
        width: 0;
        overflow: hidden;
        padding: 0;
        opacity: 0;
        z-index: 9999;
    }

    .main-content {
        margin-left: 0;
        width: 100%;
        padding: 80px 10px 20px;
    }

    .mobile-menu-toggle {
        display: block;
    }
    .accou-box {
        flex-direction: column;
    }

    .accou-info {
        height: fit-content;
        width: 100%;
    }
    .accou-form {
        height: fit-content;
        width: 100%;
    }
}

@media (max-width: 480px) {
    .navbar {
        padding: 5px;
    }

    .navbar-logo h1 {
        font-size: 16px;
    }

    .profile-dropdown {
        width: 180px;
    }

    .dropdown-item {
        padding: 8px 12px;
    }
    .accou-box {
        flex-direction: column;
    }

    .accou-info {
        height: fit-content;
        width: 100%;
    }
    .accou-form {
        height: fit-content;
        width: 100%;
    }
}