/* Import the Jua font */
@import url('https://fonts.googleapis.com/css2?family=Jua&display=swap');
/* Import League Spartan font from Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=League+Spartan:wght@400;700&display=swap');
/* Import DM Sans from Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;700&display=swap');

.tbtp-red{
    color: #FF3131 !important
}
.gray{
    color: #737373 !important;
}
/* Apply Jua font to the entire body */
body  {
    font-family: 'Jua', sans-serif!important;
}
.font-league-spartan{
    font-family: 'League Spartan', sans-serif !important;;
}

.font-inter {
    font-family: 'Inter', sans-serif !important;
}





/* DSWD Blue Background */
.dswd-blue-bg {
    background-color: #2E3192 !important;
}

.dswd-light-blue-bg{
    background-color: #004AAD !important;
}

.dswd-blue-font{
    color: #2E3192 !important;
}


.dswd-red-bg{
    background-color: #BD2727 !important;
}

.dswd-light-red-bg{
    background-color: #EE1C25 !important;
}

.dswd-red-font{
    color: #BD2727 !important;
}

.dswd-light-red-font{
    color: #EE1C25 !important;
}


/* Button styles */
.btn-tutor {
    background-color: #004AAD !important;
    color: white !important;
    width: 180px;
    height: 40px;
    font-size: 15px !important;
    font-family: 'Jua', sans-serif!important;
    border-radius: 15px !important;
}

.btn-ydw {
    background-color: #B92B2A !important;
    color: white !important;
    width: 300px;
    height: 40px;
    font-size: 15px !important;
    font-family: 'Jua', sans-serif!important;
    border-radius: 15px !important
}

.btn-parent {
    background-color: #FFBD59 !important;
    color: white !important;
    width: 180px;
    height: 40px;
    font-size: 15px !important;
    font-family: 'Jua', sans-serif!important;
    border-radius: 15px !important
}



.w-90{
    width: 90% !important;
}
.span-tutor-label {
    background-color: #004AAD !important;
    color: white !important;
    padding: 5px 10px;
    border-radius:8px !important;
    width: 130px;
    display: inline-flex; /* Use flexbox for centering */
    justify-content: center; /* Horizontally centers the text */
    align-items: center; /* Vertically centers the text */
    height: 45px;
    z-index:1;

}

.placeholder-label-profile{

    color: white !important;
    padding: 5px 10px;
    width: 25%;
    display: inline-flex; /* Use flexbox for centering */

    height: 45px;
    z-index:1;

}

.textbox-gray{
    background-color: #EBEAE9 !important;
    color: black !important;
    width: 75% !important;
    padding-top: 3px;
    padding-bottom: 3px;
    margin-left: -10px !important; /* Moves the textbox to the left */

}


.top-label{
    color: #737373;
}

.lets-start-btn{
    background-color: #FF3131;
    color: white;
    width: 125px;
    height:35px;
    border-radius: 12px;
    border:0;
    font-family: 'DM Sans', sans-serif;
}

.box-day-of-session{
    background-color: #004AAD!important;
    color: white !important;
    width: 30px;
    text-align: center;
    border-radius:  8px;
}

/* label for the Tutor's assigned ES */
.tutor-elem-label {
    background-color: #004AAD !important;
    color: white;
    border-radius: 8px;
    height: 25px;
    width: 90%;
    text-align: center;
    margin-bottom: 5px; /* Adds a gap between each div */
}

/* Blue box with a number on the Tutor profile - Attendance */
.span-tutor-number-label{
    background-color: #004AAD !important;
    color: white !important;
}
.textbox-tutor-date-label{
    background-color: #EBEAE9 !important;
    color: black !important;
    z-index: 0;

}

/* Blue box with a number on the YDW profile - Attendance */
.span-ydw-number-label{
    background-color:  #B92B2A !important;
    color: white !important;
}
.textbox-ydw-date-label{
    background-color: #EBEAE9 !important;
    color: black !important;
    z-index: 0;

}

/* ES label*/
.textbox-tutor-es-label{
    background-color: #004AAD !important;
    color: white !important;
}
.textbox-ydw-es-label{
    background-color: #B92B2A !important;
    color:
    white !important;
}

/* Tutor Attendance profile */
.top-tutor-label{
    background-color: #004AAD !important;
    color: white !important;
    display: inline-block;
    height: 35px;
    width: 100px;
    text-align: center;
    vertical-align: middle;
    border-radius: 8px;
    position: relative;
    z-index: 1;
    line-height: 35px;
}
.textbox-tutor-name-placer{
    background-color: #EBEAE9;
    height: 35px;
    display: inline-block;
    width: 250px;
    text-align: center;
    margin-left: -15px;
    position: relative;
    z-index: 0;
    top: 1px;
}


/* YDW Attendance Profile */

.top-ydw-label{
    background-color: #B92B2A !important;
    color: white !important;
    display: inline-block;
    height: 35px;
    width: 100px;
    text-align: center;
    vertical-align: middle;
    border-radius: 8px;
    position: relative;
    z-index: 1;
    line-height: 35px;
}
.textbox-tutor-name-placer{
    background-color: #EBEAE9;
    height: 35px;
    display: inline-block;
    width: 250px;
    text-align: center;
    margin-left: -15px;
    position: relative;
    z-index: 0;
    top: 1px;
}


/* TD on attendance page */
.td-attendance {
    width: 2.5%;
    /*border: 1px solid black; */
    font-size: min(2vw, 12px); /* Adjust font size based on viewport width */
    text-align: center;
    vertical-align: middle; /* Vertically align content if needed */
    padding:0;
}

/* blue box on the day 1-20 of attendance*/
.blue-box{
    background-color: #004AAD;
    color: white;
    padding: 10px;
    border-radius: 8px;
}


/* Make background transparent on small devices (screen width <= 600px) */
@media (max-width: 600px) {
    .td-attendance {
        background-color: transparent;
        color: black;
    }
    .blue-box{
        background-color: transparent;
        color: black;
        padding: 0px;
        border-radius:0px;
        font-size: 10px;
    }
}

/* number list at the list-of-tutors*/
.tutor-number-label{
    background-color: #004AAD !important;
    color: white !important;
    display: inline-block;
    width: 10%;
    text-align: center;
    vertical-align: middle;
    border-radius: 8px;
    position: relative;
    z-index: 1;
    line-height: 33px;
}
@media (max-width: 600px) {
    .tutor-number-label{
        line-height: 10px;
        font-size: 10px;
        padding:1px;
        border-radius: 2px;;
        top: 6px;
    }

}


/*names of learner */
.textbox-learners-list {
    background-color: #EBEAE9;
    height: 95%;
    display: inline-block;
    width: 90%;
    text-align: center;
    margin-left: -10%;
    position: relative;
    z-index: 0;
    top: 5px;
    border-radius: 13px;
    font-size: 2vw;  /* Smaller value than before */
}

.textbox-elem-name-placer{
    background-color: #EBEAE9;
    height: 35px;

    width: 100px;
    text-align: center;
    margin-left: -15px;
    position: relative;
    z-index: 0;

}



/*   ******* FOR TUTORS - LIST OF LEARNERS ******  */
/* Mobile Layout */
@media (max-width: 768px) {
    /* Hide all the TD elements initially except the first one */
    .learner-row td:nth-child(n+2) {
        display: none;
    }

    /* Make each row take full width */
    .learner-row {
        display: block;
    }

    /* Ensure each "Next" and "Previous" button is centered */
    #prevBtn, #nextBtn {
        margin: 0 5px;
    }

    /* Style for the table for mobile */
    table {
        width: 100%;
    }
}






.prev-next-btn{
    width: 80px;
    background-color: #004AAD !important;
    color: white;
    height: 35px;
    border-radius: 8px;
    border: 1px solid ;
}
 /* Hide all td elements in small view, except the active one */
 .td-item {
    display: table-cell;
  }
  .td-item.hidden {
    display: none;
  }
  /* Hide the headers on small screens */
  @media (max-width: 767px) {
    th {
      display: none;
    }
  }


  /********************************************/


  @media (max-width: 767px) {
    .img-check {
     width: 50px;
    }
  }




  .btn-create-account{
    background-color: #004AAD !important;
    color: white;
    width: 150px;
    height: 40px;
    border-radius: 8px;
    padding: 3px;
    border: 1px solid blue;

  }





  .span-ydw-label{
    background-color: #B92B2A !important;
    color: white !important;
    padding: 5px 10px;
    border-radius:8px !important;
    width: 130px;
    display: inline-flex; /* Use flexbox for centering */
    justify-content: center; /* Horizontally centers the text */
    align-items: center; /* Vertically centers the text */
    height: 45px;
    z-index:1;
  }

  .ydw-color{
    color:  #B92B2A !important;
  }
  .tutor-color{
    color:  #004AAD !important;
  }

  .ydw-bg-color{
    background-color:  #B92B2A !important;
  }
  .tutor-bg-color{
    background-color: #004AAD !important;
  }
  .btn-login{
    height: 30px;
    width: 200px;
    margin: 3px;
    color: white;
    border: 0;
    border-radius: 8px;
  }

  .textbox-password, .textbox-username{
    background-color:#EBEAE9 !important;
    border: 1px solid black !important;
  }

  .btn-tri{
    width: 65%;
    height: 40px;
    color: white  !important;
    margin: 3px;
    border: 0;
    border-radius: 8px;
  }

  .btn-single-home{
    width: 200px;
    height: 40px;
    color: white  !important;
    margin: 3px;
    border: 0;
    border-radius: 8px;
  }


  .bordered-table{
    border: 2px solid #FF9999;
  }

.unselectable{
    user-select:none;
}



/** /tutor/check-attendance ***/
.checkbox-learners-attendance{
    accent-color: green;
    transform: scale(2); /* Makes it larger */
}
.btn-view-learner-attendance{
    color:white !important;
    border:0;
    padding: 3px 35px 3px;  /*top right/left bottom **/
    border-radius: 5px;
}



/* adjusting font sizes based on different device*/
.responsive-text {
    font-size: clamp(12px, 4vw, 40px); /* Min, Preferred, Max */
}


.btn-transparent{
    background-color: transparent !important;
    border: 0;
    color: #FFF;
}



.borderless{
    border:0px;
}




.paper-texture {
    background-image: url('https://www.transparenttextures.com/patterns/paper-fibers.png');
    background-color: #fff; /* fallback color */
    background-repeat: repeat;
    background-size: auto;
    border: 1px solid #ccc;
    padding: 1rem;
    box-shadow: 2px 2px 6px rgba(0,0,0,0.1);
}
 