/* imports */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');


/* global Styling  */
*{
    padding: 0px;
    margin: 0px;
    box-sizing: border-box;
    font-family: "Montserrat", sans-serif;
    scroll-behavior: smooth;
}
html{
    font-size: 10px;
}
:root {
    --primary-color: #006A4E;
    --secondary-color: #A60029;
    --text-color: #696969af;
    --border-color: rgb(233, 233, 233);
    --hover-color: rgb(255, 174, 0);
    --field-background: #006a4e13;
}
body{
    background-color: white;
    scrollbar-width: auto;
    scrollbar-color: var(--primary-color) transparent;
}
::-webkit-scrollbar {
    width: 13px;  /* Width of the scrollbar */
    height: 12px; /* Height of the scrollbar */
}
::-webkit-scrollbar-track {
    background-color: #f0f0f0; /* Background color of the track */
    border-radius: 10px; /* Rounded corners for the track */
    box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.2); /* Inner shadow */
}
::-webkit-scrollbar-thumb {
    background-color: var(--primary-color); /* Primary color for the thumb */
    border-radius: 10px; /* Rounded corners for the thumb */
    border: 0.1px solid var(--border-color);
}
/* media classes  */
/* @media print {
    body * {
        visibility: hidden;
    }
    #challanResponse {
        visibility: visible;
        margin: 0;
        padding: 0;
        width: 100%;
    }
} */

/* KeyFrames  */
@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

/* Utility Classes */
.mainWidth{
    width: 100%;
}
.innerWidth{
    width: 95%;
    margin: auto;
}
.headingBottom{
    margin-top: 1rem;
    width: 8rem;
    height: 6px;
    border-radius: 400rem;
    background-color: var(--border-color);
}
.headingBottomLine{
    width: 12px;
    height: 12px;
    border-radius: 400rem;
    margin-left: 2rem;
    transform: translateY(-3px);
    background-color: var(--primary-color);
}
.icon{
    font-size: 3rem;
    margin: 0rem 0.6rem;
}
.facebook {
    color: #1877F2; /* Facebook color */
}
.instagram {
    background: -webkit-linear-gradient(#f09433, #e6683c, #dc2743, #cc2366, #bc1888);
    background: linear-gradient(#f09433, #e6683c, #dc2743, #cc2366, #bc1888);
    -webkit-text-fill-color: transparent;
}
.whatsapp {
    color: #25D366; /* WhatsApp color */
}
.heading{
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary-color);
}
.TopperClass{
    margin: 3rem auto;
}
.shadow{
    box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
}

/* Additional Styling for Login Module */

/* Login Container */
.login-container {
    width: 100%;
    max-width: 400px;
    padding: 20px;
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100vh;
}

/* Login Card */
.login-card {
    background: white;
    border-radius: 10px;
    padding: 2.5rem;
    text-align: center;
    box-shadow: rgba(0, 0, 0, 0.1) 0px 4px 10px;
}

/* Logo Section */
.logo-section {
    margin-bottom: 2rem;
}
.school-logo {
    width: 80px;
    height: 80px;
    margin: 0 auto 1rem;
    border-radius: 50%;
    object-fit: contain;
    background-color: var(--field-background);
}
.welcome-text {
    font-size: 2rem;
    color: var(--secondary-color);
    font-weight: 700;
    text-transform: uppercase;
}

/* Input Section */
.input-section {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}
.input-field {
    padding: 1rem;
    font-size: 1.5rem;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    background-color: var(--field-background);
    outline: none;
    transition: border 0.3s, box-shadow 0.3s;
}
.input-field:focus {
    border: 1px solid var(--primary-color);
    box-shadow: 0 0 5px var(--primary-color);
}

/* Buttons */
.login-button, .forgot-button {
    padding: 1rem;
    font-size: 1.4rem;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 700;
    transition: background-color 0.3s, color 0.3s;
}
.login-button {
    background-color: var(--primary-color);
    color: white;
}
.login-button:hover {
    background-color: var(--hover-color);
    color: black;
}
.forgot-button {
    color: var(--primary-color);
}
.forgot-button:hover{
    color: var(--secondary-color);
}

/* Dashboard Container */
.dashboard-container {
    width: 100%;
    min-height: 100vh;
    text-align: center;
    padding: 2rem 1rem;
    background-color: #f9f9f9;
}

/* Logo Section */
.logo-section {
    margin-bottom: 3rem;
}

.school-logo {
    max-width: 150px;
    margin-bottom: 1.5rem;
}

.welcome-message {
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 2rem;
}

/* Options Container */
.options-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    padding: 0 1rem;
}

/* Option Card */
.option-card {
    background-color: white;
    padding: 2rem 1.5rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.option-card:hover {
    
    cursor: pointer;
    transform: translateY(-5px);
    box-shadow: rgba(0, 0, 0, 0.3) 0px 4px 12px;
    background-color: var(--field-background);
}

/* Icons */
.icon {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
    transition: color 0.3s;
}

.option-card:hover .icon {
    color: var(--hover-color);
}

/* Option Title */
.option-card h2 {
    font-size: 1.8rem;
    color: var(--text-color);
    margin-top: 0.5rem;
}

/* Logout Button */
.logout-button {
    position: absolute;
    top: 20px;
    left: 20px;
    padding: 10px 20px;
    background-color: var(--primary-color);
    color: white;
    font-size: 1.4rem;
    font-weight: 600;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
    box-shadow: rgba(0, 0, 0, 0.2) 0px 3px 6px;
}

.logout-button:hover {
    background-color: var(--hover-color);
    transform: scale(1.05);
}
.container {
    width: 80%;
    margin: 50px auto;
    padding: 20px;
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.1);
}

.header {
    text-align: center;
    margin-bottom: 40px;
}

.logo {
    max-width: 150px;
}

h1 {
    font-size: 30px;
    color: var(--primary-color);
}

.form-section {
    margin-top: 20px;
}

.row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
}

.form-group {
    flex: 1;
    margin-right: 20px;
    margin-left: 20px;
}

.form-group:last-child {
    margin-right: 0;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    background-color: var(--field-background);
    font-size: 16px;
    margin-bottom: 10px;
    box-sizing: border-box;
}

.form-group select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-color: var(--field-background);
    border-radius: 8px;
    padding: 12px;
    font-size: 16px;
    border: 1px solid var(--border-color);
    width: 100%;
    box-sizing: border-box;
}

.form-group input[type="checkbox"] {
    width: auto;
}

.checkbox-container {
    display: flex;
    align-items: center;
    gap: 20px;
}

.checkbox-container input[type="checkbox"] {
    width: auto;
}

.checkbox-container label {
    margin-left: 8px;
}

.button-container {
    text-align: center;
    margin-top: 30px;
}

.button-container button {
    background-color: var(--primary-color);
    color: #fff;
    font-size: 18px;
    padding: 12px 20px;
    margin: 10px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.button-container button:hover {
    background-color: var(--hover-color);
}

@media (max-width: 768px) {
    .row {
        flex-direction: column;
    }

    .form-group {
        margin-right: 0;
        margin-left: 0;
    }
}
.BBBody{
    font-family: Arial, sans-serif;
    background-color: #f7f7f7;
    color: var(--text-color);
    margin: 0;
    padding: 0;
}
.row-cell:hover{
    background-color: var(--field-background);
}



.portal-container {
    width: 80%;
    margin: 2rem auto;
    text-align: center;
}

.logo {
    width: 120px;
    height: auto;
    margin: 0 auto 1.5rem;
}

.portal-heading {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 2rem;
}

.content {
    display: flex;
    gap: 2rem;
}

.left-section {
    width: 30%;
    height: 400px;
    overflow-y: auto;
    padding: 1rem;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.right-section {
    width: 70%;
    min-height: 50vh;
    height: fit-content;
    padding: 1.5rem;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.button {
    width: 100%;
    padding: 1rem;
    margin-bottom: 1rem;
    font-size: 1.8rem;
    font-weight: normal;
    color: white;
    background-color: var(--primary-color);
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.button:hover {
    background-color: var(--hover-color);
}

.content-div {
    display: none;
    font-size: 1.6rem;
    color: var(--text-color);
}

.content-div.active {
    display: block;
}

#classFee.active {
    display: block;
}


/* Fee Challan Styling  */
body .challanCard{
    padding: 0.2in !important;
    height: 8.2in !important;
    width: 11.5in !important;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}
.ChallanCopy{
    height: 100%;
    width: 3.48in;
}
.breaker{
    height: 80%;
    width: 0px;
    border-left: 2px dashed var(--border-color);
}
.challanHeader{
    height: 0.5in !important;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(0, 0, 0, 0.06);
}
.challanHeader p{
    text-align: center;
    font-size: 16px;
    font-weight: 600;
}
.logos{
    width: 100%;
    height: 0.5in;
    display: flex;
    margin-top: 0.1in;
    margin-bottom: 0.1in;
    padding-left: 0.1in;
    padding-right: 0.1in;
    justify-content: space-between;
    align-items: center;
}
.logos img{
    height: 100%;
    width: auto;
}
.logos p{
    text-align: center;
    font-size: 18px;
    font-weight: 900;
}
.logos p span{
    font-size: 14px;
    font-style: italic;
    font-weight: 400;
}
.schoolName{
    width: 100%;
    height: fit-content;
}
.schoolName p{
    font-size: 13px;
    font-weight: 400;
    text-align: center;
}
.accountNumber, .voucherId{
    margin-top: 0.1in;
    border: 1.5px solid black;
    width: 100%;
    height: 0.4in;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    font-weight: 600;
    color: black;
}
.dates, .feePriod{
    margin-top: 0.1in;
    width: 100%;
    height: fit-content;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-left: 0.05in;
    padding-right: 0.05in;
    font-size: 12px;
    font-weight: 700;
}
.feePriod{
    text-align: center;
}
.dates span, .feePriod span{
    font-weight: 400;
    padding-left: 0.1in;
    padding-right: 0.1in;
    border-bottom: 1px solid black;
}
.voucherId{
    margin-top: 0.1in !important;
    border: none !important;
    background-color: rgba(0, 0, 0, 0.06);
}
.voucherId span{
    font-weight: 400;
}
.names{
    margin-top: 0.1in;
}
.names .nameheading{
    font-size: 14px;
    font-weight: 600;
    border: none !important;
}
.names p{
    margin-top: 0.1in;
    font-size: 13px;
    font-weight: 400;
    border-bottom: 1px solid black;
}
.feeses{
    margin-top: 0.2in;
    width: 100%;
    height: auto;
    border: 1.5px solid black;
}
.feeses div{
    display: flex;
    border-bottom: 1px solid black;
    justify-content: flex-start;
    align-items: center;
}
.feeses div h3{
    width: 40%;
    font-size: 12px;
    font-weight: 600;
    padding: 0.06in;
}
.feeses div p{
    font-size: 12px;
    width: 60%;
    padding: 0.06in;
    border-left: 1px solid black;
}
.bankStamp{
    width: 100%;
    height: 0.85in;
    margin-top: 0.06in;
    color: rgba(0, 0, 0, 0.2);
    font-size: 20px;
    font-weight: 900;
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 1px solid rgba(0, 0, 0, 0.2);
}

/* Reciept model styling */
.receipt-modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(3px);
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.receipt-modal.show {
  display: flex;
  opacity: 1;
}

.receipt-modal-content {
  background-color: #fff;
  border-radius: 8px;
  width: 450px;
  max-width: 90%;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  transform: translateY(-20px);
  transition: transform 0.3s ease;
}

.receipt-modal.show .receipt-modal-content {
  transform: translateY(0);
}

.modal-header {
  padding: 20px;
  border-bottom: 1px solid #eee;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.modal-header h3 {
  margin: 0;
  color: #2e7d32;
  font-size: 1.5rem;
  font-weight: 600;
}

.close-modal {
  font-size: 2rem;
  cursor: pointer;
  color: #777;
  line-height: 1;
}

.close-modal:hover {
  color: #333;
}

.modal-body {
  padding: 25px 20px;
}

.modal-body p {
  margin: 0;
  font-size: 1.25rem;
  color: #333;
  line-height: 1.4;
}

.modal-footer {
  padding: 20px;
  border-top: 1px solid #eee;
  display: flex;
  justify-content: flex-end;
  gap: 15px;
}

.btn-primary {
  background-color: #2e7d32;
  color: white;
  border: none;
  padding: 12px 24px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 1.1rem;
  transition: background-color 0.2s;
}

.btn-primary:hover {
  background-color: #1b5e20;
}

.btn-secondary {
  background-color: #f5f5f5;
  color: #333;
  border: 1px solid #ddd;
  padding: 12px 24px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 1.1rem;
  transition: background-color 0.2s;
}

.btn-secondary:hover {
  background-color: #e0e0e0;
}