:root {
    --primary-color : #321A62;
    --secondary-color : #F1EFF5;
    --tertiary-color : #462D78;
    --warning-color : #FFA135;
    --error-color : #FF0000;
}
body{
    margin: 0px;
    /* overflow-x: hidden; */
    box-sizing: border-box;
}

.bg-primary {
    background-color: var(--primary-color);
}
.bg-secondary {
    background-color: var(--secondary-color);
}
.bg-tertiary {
    background-color: var(--tertiary-color);
}
.bg-warning {
    background-color: var(--warning-color);
}
.bg-error {
    background-color: var(--error-color);
}
.bg-yellow {
    background-color: yellow;
}
.bg-blue {
    background-color: blue;
}
.color-primary {
    color: var(--primary-color);
}

.tr-sister {
    background-color: rgba(255, 255, 0, 0.123);
}
.tr-azeb {
    background-color: #c9ffc9;
}
a {
    text-decoration: none;
}

.body-container {
    height: 100vh;
    width: 100vw;
    display: flex;
    flex-direction: row;
}

.side-nav {
    padding: 10px;
}
.user-container{
    color: white;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}
.name-card {
    box-sizing: border-box;
    padding: 10px;
    border-radius: .5rem;
    background-color: var(--tertiary-color);
}
.name-card a {
    color: white;
    cursor: pointer;
}
.side-nav-button-container {
    box-sizing: border-box;
    color: white;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}
.side-nav-button {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: white;
    margin-right: 5px;
    justify-content: space-between;
    justify-content: space-between;
    width: 80%;
    display: flex;
    flex-direction: row;
    background: var(--tertiary-color);
    padding: 10px;
    border-radius: .5rem;
    margin-top: 10px;
    font-size: 1vw;
    font-weight: bold;
}
.side-nav-button:hover {
    opacity: .7;
}
.side-nav-button.active {
    color: var(--primary-color);
    background-color: var(--secondary-color) !important;
}



/* end of side nav */

/* start of list-container */
.context-menu {
    transform: scale(0);
    transform-origin: top left;
    display: flex;
    color: white;
    position: fixed;
    height: max-content;
    width: 200px;
    flex-direction: column;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: medium;
    box-shadow: 0px 0px 10px 0px rgba(140, 0, 255, 0.158);
}
.context-menu.active {
    transform: scale(1);
    transition: transform 200ms ease-in-out;
}
.context-item:hover {
    opacity: .7;
    cursor: pointer;
}
.context-item input {
    background-color: var(--tertiary-color);
    border: none;
    padding: 5px;
    color: white;
    font-weight: 700;
    outline: none;
    cursor: pointer;
}
.list-container {
    /* overflow: scroll; */
    box-sizing: border-box;
    color: var(--primary-color);
    /* font-weight: bold; */
    padding: 10px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}
.table-container {
    overflow: scroll; 
    background-color: white;
    box-sizing: border-box;
}
.table-hidden{
    display: none;
}
tr:hover {
    background-color: var(--secondary-color);
}
.table-container .dataTable-wrapper {
    width: 100%;
}
.tab-containers {
    box-sizing: border-box;
}
.tab-button {
    background-color: var(--warning-color);
    color: white;
    padding: 10px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: medium;
    outline: none;
    border-style: none;
}
.tab-button.active {
    background-color: var(--primary-color);
}

.payment-table-container .dataTable-wrapper {
    width: 100%;
    background-color: white;
    overflow: scroll;
}

/* end of list-container */

/* start of tools panel */
.student-info-container {
    overflow-y: scroll;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: white;
    border-radius: .5rem;
    box-shadow: 0px 1px 5px 0px rgba(36, 13, 98, 0.089);
}
.student-info-container br {
    margin: 1rem;
}
.student-info-container hr {
    margin-top: .1rem;
    margin-bottom: .1rem;
    color: var(--secondary-color);
}
.button-container {
    justify-content: space-between;
}
.student-info-container button {
    border-style: none;
    border-radius: .5rem;
    color: white;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-weight: 500;
    font-style: italic;
    font-size: medium;
}






/* cash receipt voucher card */
.receipt-container {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: cao;
}
body a {
    cursor: pointer;
}
.title-container {
    text-align: center;
}
.date-container {
    text-align: right;
}
.serial-container {
    text-align: right;
}

.remaining-row {
    justify-content: flex-end;
}

.submit-btn {
    background-color: var(--warning-color);
    color: white;
    padding: 10px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: medium;
    outline: none;
    border-style: none;
    cursor: pointer;
    font-weight: bold;
}
.submit-btn:hover {
    opacity: 0.7;
}

.extra-input {
    display: none;
}
.remaining-input {
    display: none;
}
.remaining-paid {
    display: none;
}
.extra-paid {
    display: none;
}

input[id="remaining"]:checked ~ .remaining-input {
    display: block;
}
input[id="extra"]:checked ~ .extra-input {
    display: block;
}
input[id="rem-paid"]:checked ~ .remaining-paid {
    display: block;
}input[id="ext-paid"]:checked ~ .extra-paid {
    display: block;
}

.add-btn {
    background-color: var(--primary-color);
    color: white;
    padding: 10px;
    border-radius: .2rem;
    border: none;
}



.add-student-card {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: white;
    height: 500px;
    width: 400px;
    display: flex;
    border-radius: 1rem;
    flex-direction: column;
}
.add-student-card .row {
    justify-content: space-between;
}
.add-student-card button,.add-stud-btn {
    padding: 10px;
    color: white;
    font-size: medium;
    font-weight: bold;
    border-style: none;
    border-radius: .1rem;
    cursor: pointer;
    outline: none;
}
.add-student-card button:hover  ,.add-stud-btn:hover {
    opacity: .7;
}


#modal-container {
    display: block;
    position: fixed;
    width: 100%;
    height: 100vh;
    background-color: var(--primary-color);
    z-index: 10000;
}
.modal-hidden {
    display: none !important;
}

#report-tr {
    background-color: rgba(255, 0, 0, 0.137);
    text-decoration: line-through;
}

.ptd0 {
    background-color: #ffcfcf;
    align-items: center;
    text-align: center;
}
.ptd0:hover , .ptd1:hover {
    cursor: pointer;
    opacity: 0.5;
}
.ptd1 {
    background-color: #c9ffc9;
    text-align: center;
}
td button {
    width: 100%;
}