@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');
@import url("https://fonts.googleapis.com/css2?family=Montserrat&display=swap");

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Poppins", sans-serif;
}

.toggleDark {
  opacity: 0;
  position: absolute;
}

.toggleDark-label {
  background-color: #111;
  width: 50px;
  height: 26px;
  border-radius: 50px;
  position: relative;
  padding: 5px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.fa-moon {color: #f1c40f;}

.fa-sun {color: #f39c12;}

.toggleDark-label .ball {
  background-color: #fff;
  width: 22px;
  height: 22px;
  position: absolute;
  left: 2px;
  top: 2px;
  border-radius: 50%;
  transition: transform 0.2s linear;
}

.toggleDark:checked + .toggleDark-label .ball {
  transform: translateX(24px);
}

.dashboard_heading {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.dashboard_heading h3 {
    font-size: 27px;
    font-weight: 600;
    margin-bottom: 0px;
    text-transform: uppercase;
}

.left_days {
    background-color: #FFFFFF;
    border: 1px solid #FB9F9E;
    box-shadow: 0px 3px 6px 0px #00000014;
    border-radius: 50px;
    padding: 2px 10px 0px 0px;
    color: #475569;
    font-size: 16px;
    font-weight: 500;
}

.left_days img {
    cursor: pointer;
}

#closeModal {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 24px;
    font-weight: bold;
    cursor: pointer;
  }
  

  #login-btn {
    width: 200px !important;
  }

.dashboard_images {
    width: 100%;
    margin: 20px 0px;
    position: relative;
}

.dashboard_img img {
    width: 100%;
    position: relative;
}

.dashboard_content {
    position: absolute;
    top: 30px;
    left: 100px;
}

.dashboard_content h3 {
    font-size: 38px;
    font-weight: 600;
    color: #1F2869;
}

.dashboard_content p {
    font-size: 23px;
    font-weight: 500;
    color: #232323;
    margin-bottom: 0px;
    margin-top: 10px;
    width: 86%;
    line-height: 31px;
}

.cards_new {
    background-color: #FB9F9E;
    box-shadow: 0px 5px 20px 0px #BA1A0033;
    width: 24%;
    padding: 20px 25px;
    border-radius: 25px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.cards_contents h3 {
    font-size: 22px;
    line-height: 32px;
    font-weight: 700;
    color: #232323;
}

.cards-button button {
    background-color: #FCC1C0;
    color: #3D3D3D;
    font-size: 16px;
    font-weight: 500;
    border: none;
    padding: 10px 22px;
    border-radius: 50px;
    cursor: pointer;
}

.card-top-image img {
    padding: 15px;
    width: fit-content;
    border-radius: 15px;
}

.cards-button button:hover {
    background-color: #FFFFFF !important;
}

.all-subjects {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.cards-button {
    /*margin-top: 28px !important;*/
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.new_mcq {
    margin-top: 8px !important;
}

.main-recalls {
    font-size: 20px !important;
}

.cards_news {
    padding: 18px 15px !important;
    position: relative;
}

.cards_news a {
    gap: 8px !important;
    display: flex;
    flex-direction: column;
}

.cards_contents {
    position: relative;
}

.cards_contents img {
    width: 100%;
}

.cards-button h3 {
    font-size: 22px;
    padding-left: 5px;
    color: #111827;
    font-weight: 600;
}


.video_icon {
    width: 20px;
}

.counting_video span {
    font-size: 16px;
    font-weight: 500;
    margin: 10px 0px 0px 0px;
    background-color: #F8F9FF;
    padding: 10px 20px;
    width: fit-content;
    border-radius: 50px;
    color: #3D3D3D;
}

.cards_video_image {
    position: absolute;
    top: 26%;
    left: 40%;
}

.cards_video_image img {
    cursor: pointer;
}

.video_obs {
    font-size: 17px !important;
}

.subscribed-user {
    width: 100%;
    background-color: #FFFFFF;
    border-radius: 50px 50px 0px 0px;
}

.hedings_users {
    border-radius: 30px 30px 0px 0px;
}

.tables_user {
    overflow-x: auto;
    max-width: 100%;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin: 0 auto;
}

th {
    background-color: #F8FAFC;
    color: #1E293B;
    font-size: 16px;
    font-weight: 600;
    border-bottom: 1px solid #CBD5E1;
    padding: 18px 15px;
    text-align: left;
}

td {
    background-color: #FFFFFF;
    padding: 16px 15px;
    color: #475569;
    font-weight: 500;
}

tr td {
    border-bottom: 1.5px solid #E2E8F0;
}

.table_imgs {
    display: flex;
    align-items: center;
    gap: 10px;
}

.table_imgs img {
    width: 40px;
    height: 40px;
}

.table_imgs p {
    font-size: 14px;
    margin: 0;
}
.table_buttons a{
    width: 100%;
    white-space: nowrap;
    font-size: 16px;
    font-weight: 500;
}
table p {
    font-size: 14px;
    margin: 0;
    color: #475569;
    font-weight: 500;
}

td span {
    display: block;
    font-size: 14px;
    color: #475569;
    font-weight: 500;
}

td .days-left {
    font-weight: bold;
    color: #FF5733;
}

table .duration {
    font-weight: bold;
    color: #2C3E50;
}

.users_row {
    border-bottom: 1px solid #E2E8F0;
}

thead th:first-child {
    border-top-left-radius: 35px;
}

thead th:last-child {
    border-top-right-radius: 35px;
}

.subjects_new {
    display: flex;
    gap: 10px;
    align-items: center;
    width: 100%;
    font-size: 16px;
}

.subject-bar {
    border-radius: 25px;
    margin: 5px 0;
    position: relative;
    height: 10px;
    background-color: #F1F5F9;
    width: 80%;
}

.progress-bar {
    height: 100%;
    border-radius: 25px;
    position: relative;
    border: 1px solid transparent;
    transition: width 1s ease-in-out;
    background-color: #FF9100;
}

.progress-bar.low {
    background-color: #FF9100;
}

.progress-bar.medium {
    background-color: #FF9100;
}

.progress-bar.high {
    background-color: #F43F5E;
}

.video-view {
    width: 100%;
    margin: 25px 0px;
    display: flex;
    gap: 20px;
}

.video-view-left {
    width: 70%;
    background-color: #FFFFFF;
    padding: 20px;
    height: fit-content;
    border-radius: 45px;
}

.video_view_right {
    width: 30%;
    background-color: #FFFFFF;
    padding: 20px 0px 20px 20px;
    border-radius: 45px;
}

.new_video_image img {
    width: 100%;
}

.video_user_name {
    display: flex;
    align-items: center;
    gap: 15px;
    margin: 20px 10px;
    border-bottom: 1.6px solid #D9DDEC;
    padding-bottom: 18px;
}

.video-view-left h3 {
    font-size: 24px;
    font-weight: 600;
    color: #111827;
}

.video-view-left span {
    font-size: 17px;
    font-weight: 500;
    color: #1CDDDA;
}

.dr_imagess {
    border: 2px solid #8F95B2;
    padding: 2px;
    border-radius: 50px;
}

.video-view-left p {
    font-size: 16px;
    font-weight: 400;
    color: #475569;
    padding: 0px 10px;
}

.video_buttons {
    display: flex;
    gap: 15px;
    margin-top: 15px;
}

.prev_button {
    background-color: #6C757D;
    color: #FFFFFF;
    padding: 10px 20px;
    border-radius: 50px;
    border: none;
    font-size: 16px;
    font-family: "Poppins", sans-serif !important;
}

#prev_icon {
    padding: 2px;
    border: 1px solid #FFFFFF;
    border-radius: 50px;
    box-shadow: 0px 2px 4px 0px #0000001A;
    margin-right: 5px;
}

.next_button {
    background-color: #FF9100;
    color: #FFFFFF;
    padding: 10px 20px;
    border-radius: 50px;
    border: none;
    box-shadow: 0px 2px 4px 0px #0000001A;
    font-size: 16px;
    /*width: 130px;*/
    font-family: "Poppins", sans-serif !important;
}

#next_icon {
    padding: 2px;
    border: 1px solid #FFFFFF;
    border-radius: 50px;
    box-shadow: 0px 2px 4px 0px #0000001A;
    margin-left: 8px;
}

.right_lessons {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 2px solid #BFC7D9;
    padding-bottom: 8px;
    margin-bottom: 10px;
    margin-right: 20px;
}

.right_lessons h3 {
    font-size: 24px;
    font-weight: 600;
    color: #1D222C;
}

.right_lessons h5 {
    font-size: 15px;
    font-weight: 500;
    background-color: #81DEF3;
    color: #FFFFFF;
    padding: 8px 12px;
    border-radius: 30px;
}

.lessons {
    padding: 12px 15px;
    border-radius: 10px;
    background-color: #FFFFFF;
    border: 2px solid #EEEEFE;
    cursor: pointer;
    width: 96%;
}

.lesson_image {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.lesson-content span {
    font-size: 20px;
    color: #64748B;
    font-weight: 600;
}

.lesson-content {
    display: flex;
    gap: 10px;
    align-items: center;
}

.lessons .lesson_image {
    position: relative;
}

.lesson-radio {
    display: none;
}

.radio-label {
    position: absolute;
    top: 5px;
    right: 0;
    width: 20px;
    height: 20px;
    background-color: white;
    border: 2px solid #ccc;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

.lesson-radio:checked+.radio-label {
    background-color: green;
    border-color: green;
}

.lesson-radio:checked+.radio-label::after {
    content: "✔";
    color: white;
    font-size: 14px;
}

.all_lessons {
    height: 380px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    overflow-y: scroll;
}

.bottom_image {
    width: 100%;
    padding-right: 20px;
    margin-top: 30px;
}

.bottom_image img {
    width: 100%;
}

.all_lessons::-webkit-scrollbar {
    width: 10px;
    height: 30px;
}

.all_lessons::-webkit-scrollbar-thumb {
    background-color: #FF9100;
    box-shadow: 0px 3px 6px 0px #00000029;
    border-radius: 10px;
}

.all_lessons::-webkit-scrollbar:horizontal {
    height: 50px;
}

.lessons.active {
    background-color: #EEEEFE;
}

.headerquestion {
    display: flex;
    justify-content: space-between;
    width: 100%;
    align-items: center;
    background-color: #FFFFFF;
    padding: 15px 30px;
}

#prev_back {
    background-color: #72CCCB;
    color: #FFFFFF;
    padding: 10px;
    border-radius: 50px;
    font-size: 18px;
    cursor: pointer;
}

.question_names {
    padding-right: 5px !important;
}

.question_section {
    display: flex;
    flex-direction: column;
    /*background-color: #EEEEEE;*/
    /*border-radius: 10px;*/
}

.question_content {
    background-color: #FFFFFF;
    width: 100%;
    padding: 30px 25px;
    border-radius: 20px;
    margin: 10px auto;
    margin-bottom: 30px;
}

.questions_headers {
    display: flex;
    justify-content: space-between;
    width: 100%;
    margin: 20px auto;
    align-items: center;
}

.heads_left {
    display: flex;
    gap: 10px;
    align-items: end;
}

.heads_left h2 {
    font-size: 26px;
    font-weight: 600;
    color: #333539;
}

.heads_left span {
    color: #FF8482;
    font-size: 16px;
    font-weight: 500;
}

.choose_question {
    background-color: #FFFFFF;
    border: 1px solid #1CDDDA;
    box-shadow: 0px 3px 6px 0px #00000014;
    padding: 12px 20px;
    color: #1CDDDA;
    border-radius: 50px;
}

.choose_question:hover {
    background-color: #1CDDDA;
    color: #FFFFFF;
}

.choose_question:hover img {
    filter: brightness(0) invert(1);
}

.explanation_button {
    background-color: #FE7372;
    border: 1px solid #FE7372;
    padding: 10px 20px;
    border-radius: 50px;
    color: #FFFFFF;
    box-shadow: 0px 3px 6px 0px #00000014;
}

/*.explanation_button:hover {*/
/*    background-color: #FF9100;*/
/*    color: #FFFFFF;*/
/*}*/

.explanation_button:hover img {
    filter: brightness(0) invert(1);
}
.explanation-icon {
  filter: brightness(0) invert(1); 
}

.butons {
    display: flex;
    gap: 10px;
}

.questions_heading {
    background-color: #F2F4FF;
    color: #1F2869;
    padding: 25px;
    border-radius: 20px;
}

.questions_heading h3 {
    font-size: 20px;
    font-weight: 600;
    color: #1F2869;
    line-height: 32px;
}

.option_answer {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin: 30px 0px;
    padding: 0px 12px;
}

.option_label label {
    font-size: 18px;
    font-weight: 600;
    color: #1F2869;
}

.option_sections {

    display: flex;
    gap: 10px;
    flex-direction: column;
    width: 100%;
}

.main_options {
    background-color: #F8F9FF;
    padding: 16px 10px;
    border-radius: 10px;
    display: flex;
    font-size: 16px;
    color: #484848;
    gap: 10px;
    font-weight: 500;
    text-transform: capitalize;
}

.main_options input[type="radio"] {
    transform: scale(1.5);
    margin: 0px 10px;
}

.option_column {
    display: flex;
    width: 100%;
    gap: 30px;
}

.options_mains {
    width: 49%;
}

.questions_button {
    display: flex;
    margin-top: 20px;
    padding: 0px 15px;
}

.explanations_content h5 {
    font-size: 18px;
    font-weight: 600;
    color: #009229;
    margin-bottom: 2px;
}

.explanations_content span {
    font-size: 18px;
    font-weight: 600;
    color: #181d21;
}

.explanations_content p {
    font-size: 16.8px;
    color: #181d21;
    font-weight: 450;
    margin: 5px 0px;
}

.explanations_content {
    background-color: #D8FFE3;
    padding: 20px 25px;
    border-radius: 20px;
    margin-top: 10px;
}

.explanations {
    width: 98%;
    margin: 0px auto;
}

.exam_result {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.close_explanation {
    background-color: #009229;
    color: #D8FFE3;
    width: 35px;
    height: 35px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50px;
}

#closes {
    font-size: 26px;
    cursor: pointer;
}

.modal {
    display: none;
    /* Hidden by default */
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.4);
}

.modal-content {
    background-color: #fff;
    margin: 6% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 78%;
    /* max-width: fit-content; */
}

.modal_header h5 {
    font-size: 24px;
    font-weight: 500;
}

.close {
    color: #aaa;
    font-size: 28px;
    font-weight: bold;
    float: right;
}

img.adminimg {
    border-radius: 50%;
}

.all_buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

.modal_header {
    display: flex;
    align-items: center;
    width: 100%;
    justify-content: space-between;
    margin-bottom: 10px;
}

.btn {
    padding: 8px 16px;
    background-color: #FFFFFF;
    color: #1CDDDA;
    border: 1px solid #1CDDDA;
    box-shadow: 0px 3px 4px 0px #00000014;
    cursor: pointer;
    font-size: 17px;
    width: fit-content;
    border-radius: 5px;
}

.btn.active {
    background-color: #1CDDDA;
    color: #FFFFFF;
}

.btn:hover {
    background-color: #1CDDDA;
    color: #FFFFFF;
}

.timer {
    background-color: #FB9F9E;
    border: 1px solid #FB9F9E;
    color: #FFFFFF;
    box-shadow: 0px 3px 6px 0px #00000014;
    padding: 8px 30px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    text-align: center;
    font-size: 18px;
}

.main_picturemcq {
    display: flex;
    gap: 20px;
    margin: 30px 0px;
}

.main_picture_left {
    width: 40%;
}

.main_picture_right {
    width: 60%;
}

.results_buttons {
    background-color: #1CDDDA !important;
    color: #FFFFFF !important;
    font-size: 17px !important;
}

.result_calendar {
    background-color: #FF9100 !important;
    color: #FFFFFF !important;
    font-size: 17px !important;
}

.results_header {
    flex-direction: column;
    justify-content: start;
    align-items: start;
    gap: 0px;
}

.results_header span {
    font-size: 22px;
    font-weight: 500;
}

.results_header h2 {
    font-size: 28px;
    font-weight: 600;
    color: #333539;
}

.result_bg_image {
    width: 95%;
    margin: 20px auto;
}

.result_mains {
    position: relative;
}

.images_congrats img {
    width: 100%;
}

.results_tab_new {
    background-color: #FFFFFF;
    display: flex;
    width: fit-content;
    padding: 15px 40px 15px 20px;
    gap: 10px;
    border-radius: 15px;
    align-items: center;
    width: 300px;
}

.tab_texts h3 {
    font-size: 26px;
    font-weight: 700;
    color: #484848;
}

.tab_texts p {
    font-size: 16px;
    font-weight: 500;
    color: #8F95B2;
}

.results_tab {
    display: flex;
    flex-wrap: wrap;
    width: 71%;
    margin: 10px auto;
    gap: 16px;
    position: absolute;
    bottom: 10%;
    left: 17%;
}

.images_congrats {
    position: relative;
}

.all-subjects {
    margin-bottom: 20px;
}

.flashcards_view {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 25px 0px;
}

.flashcards_images {
    display: flex;
    flex-wrap: wrap;
    margin: 20px auto;
    max-width: 100%;
}

.flashcards_img {
    width: 100%;
    box-sizing: border-box;
    display: flex;
    gap: 18px;
    margin: 0px auto;
    flex-wrap: wrap;
    margin-left: 5px;
}

.flashcards_img img {
    width: 49%;
    height: auto;
    cursor: pointer;
    border-radius: 10px;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1), 0px 1px 3px rgba(0, 0, 0, 0.1);
}


.flashcards_modal {
    display: none;
    position: fixed;
    z-index: 1100;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.8);
    padding-top: 60px;
}

.flashcards_modal img {
    margin: auto;
    display: block;
    width: 72%;
    max-height: 90%;
    padding: 20px;
    border-radius: 28px;
}

.flashcards_modal .close {
    color: #FFFFFF;
    background-color: red;
    padding: 2px 13px;
    border-radius: 50px;
    font-weight: 600;
    position: absolute;
    top: 30px;
    right: 15%;
    cursor: pointer;
}

.flashcards_modal .close:hover,
.flashcards_modal .close:focus {
    color: #FFFFFF;
    text-decoration: none;
    cursor: pointer;
}

.flashcards_img img:hover {
    transform: scale(1.02);
}
    
.action-buttons:hover a{
    border: none !important;
}
.actionss{
    text-align: center !important;
}
.counting_videos a{
    background-color: aliceblue;
    color: #475569;
    padding: 10px 20px;
    border-radius: 50px;
    text-decoration: none;
}
.counting_videos a:hover{
    background-color: #475569;
    color: #FFFFFF;
}
.flashcards_modal .prev,
.flashcards_modal .next {
    position: absolute;
    top: 20px;
    color: white;
    font-size: 30px;
    font-weight: bold;
    cursor: pointer;
    user-select: none;
}

.flashcards_modal .prev {
    left: 30px;
    top: 50%;
    transform: translateY(-50%);
}

.flashcards_modal .next {
    right: 30px;
    top: 50%;
    transform: translateY(-50%);
}

.green-border {
    background-color: #c3ffc3;
    color: green;
    border-radius: 5px;
}

.red-border {
    background-color: #ffe0e0;
    color: #FE7372;
    border-radius: 5px;
}