﻿body {
/*    background-color: #f8f9fa;*/
    width: 100%;
    height: 100%;
    background-image: url("https://www.transparenttextures.com/patterns/cubes.png");
    background-color:var(--baseColor) !important;
}

.shadow-lg {
    max-width: 950px;
    width: 100%;
}

h2, h3 {
    font-weight: bold;
}

p {
    font-size: 16px;
}


.btn-warning {
    border-radius: 10px;
    font-weight: bold;
}
.baseColor {
    background: #EFB034FF
}


/*------------Login------------------*/
.password-input {
    padding-left: 40px; /* Space for the icon */
}

.password-icon {
    position: absolute;
    right: 10px; /* Adjust as needed */
    top: 50%;
    transform: translateY(-50%);
}

body {
    background-color: #f8f9fa; /* Light gray background */
    position: relative;
    height: 100vh;
    overflow: auto;
}

/* Background Icons */
.icon-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    align-items: center;
    z-index: -1;
}

    .icon-background i {
        font-size: 45px; /* Adjust icon size */
        color: rgba(0, 0, 0, 0.1); /* Light faded color */
        position: absolute;
        animation: floating 3s infinite alternate ease-in-out;
    }

        /* Randomized positions for icons */
        .icon-background i:nth-child(1) {
            top: 10%;
            left: 5%;
        }

        .icon-background i:nth-child(2) {
            top: 20%;
            left: 20%;
        }

        .icon-background i:nth-child(3) {
            top: 85%;
            left: 5%;
        }

        .icon-background i:nth-child(4) {
            top: 88%;
            left: 48%;
        }

        .icon-background i:nth-child(5) {
            top: 20%;
            left: 77%;
        }

        .icon-background i:nth-child(6) {
            top: 50%;
            left: 10%;
        }

        .icon-background i:nth-child(7) {
            top: 70%;
            left: 20%;
        }

        .icon-background i:nth-child(8) {
            top: 80%;
            left: 90%;
        }

        .icon-background i:nth-child(9) {
            top: 10%;
            left: 90%;
        }

        .icon-background i:nth-child(10) {
            top: 50%;
            left: 86%;
        }

        .icon-background i:nth-child(11) {
            top: 70%;
            left: 77%;
        }

        .icon-background i:nth-child(12) {
            top: 8%;
            left: 47%;
        }

/* Floating Animation */
@keyframes floating {
    0% {
        transform: translateY(0);
    }

    100% {
        transform: translateY(20px);
    }
}

.title {
    font-family: Verdana;
    font-size: 2rem;
    margin-top: 1rem;
    color: #9095A1FF;
    /*231550*/ position: relative;
}

.title-border {
    width: 7rem;
    background: var(--accentColor);
    padding: 1.5px;
    margin-top: 2px;
    margin-bottom:50px;
}

.form-label {
    font-size: 16px;
    line-height: 26px;
    font-weight: 700;
    color: #171A1FFF;
}

.form-control, .form-select {
    border-radius: 6px;
    border-width: 1px;
    border-color:var(--accentColor);/* #EFB034FF;*/
    background: transparent;
    border: none;
    border-bottom: 2px solid var(--accentColor);
    color: black !important;
    background-color: white !important;
}
input[type=file] {
 /*   border-right: 2px solid #EFB034FF;*/
}

 
select {
    padding: 10px;
    font-size: 16px;
}
.imp{
    color:red;
}
/* Style each option with background color */


/*option.darkdesaturatedblue {
    background-color: #0C3C61FF;
    color: black;
}*/

.btn {
    padding: 12px 24px;
    font-size: 16px;
    font-weight: 400;
    border: none;
    color: white;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.4s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}
    .btn:hover {
        color: white;
        transform: translateY(-4px);
    }
.save-btn {
    background: linear-gradient(45deg, #00C000, #004000); /* Light to dark green */
    width:auto;
} 
.save-btn:hover .icon {
        animation: checkPulse 0.6s ease-in-out;
    }

        @keyframes checkPulse {
            0% {
                transform: scale(1);
                opacity: 1;
            }

            50% {
                transform: scale(1.4);
                opacity: 0.8;
            }

            100% {
                transform: scale(1);
                opacity: 1;
            }
        }
.reset-btn {
    background: linear-gradient(45deg, #facc15, #f59e0b);
    width:auto;
}


    /* Icon spin on hover */
    .reset-btn:hover .icon {
        animation: spin 0.6s linear;        
    }

.icon {
    font-size: 18px;
    display: inline-block;
}

/* Keyframes for icon spin */
@keyframes spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.containerDiv {
    margin: 20px 0px 0px 0px;
    background: #EDEEEF; /*FAFBFB*/
    /*background-color: rgba(255, 255, 255, 0.3);*/ /* white, 30% opacity */
    /* background: #F5F6F7;*/
    /*  border-radius: 15px;*/
    padding: 25px;
}

/*.table thead tr {
    background: #EFB034FF;
    border-left: 10px solid #EFB034FF;
    color: #6B788E;
    margin-bottom: 20px;
}*/


.table-container {
    width: 100%; /* or set a fixed width */
    max-height: auto; /* Set height for vertical scroll */
    overflow: auto; /* Enables scrollbars */
}

/*table {
    width: 100%;
    border-collapse: collapse;
}*/
/*.table tbody tr:hover {
    background-color: #f8f9fa;
}*/
.table tbody{
    background:#fff;
}
.table thead tr td {
    background-color: var(--accentColor);
    color: white;
    text-align: center;
    letter-spacing: 0.03em;
    vertical-align: middle;
}

caption {
    caption-side: top;
    font-size: 1.5rem;
    padding: 10px;
    color: var(--accentColor);
    font-weight: 500;
}
.table-textNoWrap thead td, .table-textNoWrap tbody td {
    white-space: nowrap !important;
/*    padding: 5px !important;*/
    border-spacing: 0 !important; /* Remove cell spacing */
    border-collapse: collapse !important; /* Ensure borders collapse into a single border */
}
table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0 15px;
}
table>tbody>tr{
    text-align:center;
}
.school-border {
    width: 14rem;
    background: var(--baseColor);
    padding: 1.5px;
    margin-top: 2px;
    margin-bottom: 20px;
}

.dashboard-card {
    display: flex;
    align-items: center;
    padding: 2rem;
    background-color: var(--baseColor);
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease;
    max-width: 280px;
    margin: 20px 10px 0px 0px;
    width: auto;
    border-left: 6px solid var(--accentColor);
}



    .dashboard-card:hover {
        transform: translateY(-4px);
    }

.card-icon {
    font-size: 32px;
    color: var(--accentColor);
    margin-right: 16px;
}

.card-content h4 {
    margin: 0;
    font-size: 24px;
    font-weight: bold;
    color: #333;
}

.card-content .label {
    margin: 0;
    font-size: 14px;
    color: #888;
}