body {
    font-family: "Comic Neue", cursive !important;
}

/* .nav-bar {
    display: flex;
    justify-content: space-around;
    align-items: center;
    background-color: #fff;
    padding: 5px 0;
    border-bottom: 1px solid #021316;
  }

  .nav-item {
    text-align: center;
    padding: 10px 15px;
    cursor: pointer;
    transition: background-color 0.3s ease;
  }

  .nav-item img {
    display: block;
    width: 30px;
    height: 30px;
    margin: 0 auto 5px;
  }

  .nav-item span {
    font-size: 24px;
    color: #021316;
    font-weight: 500;
    white-space: nowrap;
  }
  .pr-5{padding-right: 3rem !important;}

  .nav-item:hover {
    background-color: #c4f4fe;
    border-radius: 5px;
  }

  .nav-item.active {
    background-color: #c4f4fe;
    border-radius: 5px;
  } */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box; /* Ensures padding & border don’t increase element size */
}

body {
    overflow-x: hidden; /* Prevents horizontal scroll */
    width: 100%; /* Ensures it fits the viewport */
}

.nav-bar {
    display: flex;
    justify-content: space-around;
    align-items: center;
    background-color: #fff;
    padding: 10px 0;
    border-bottom: 1px solid #021316;
    max-width: 1368px;
    width: 100%;
    margin: 0 auto;
}
@media only screen and (min-width: 768px) and (max-width: 1024px) {
    .nav-item span {
        font-size: 16px !important;
    }
}
.nav-item {
    flex: 1;
    text-align: center;
    padding: 10px 15px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.nav-item img {
    display: block;
    width: 35px;
    height: 35px;
    margin: 0 auto 5px;
}

.nav-item span {
    font-size: 26px;
    color: #021316;
    font-weight: 600;
    white-space: nowrap;
}

.nav-item:hover,
.nav-item.active {
    background-color: #c4f4fe;
    border-radius: 5px;
}

@media (max-width: 1368px) {
    .nav-bar {
        width: 100%; /* Prevents extra width */
        padding: 10px;
        flex-wrap: wrap; /* Ensures wrapping if needed */
    }

    .nav-item {
        padding: 8px 10px;
    }

    .nav-item img {
        width: 30px;
        height: 30px;
    }

    .nav-item span {
        font-size: 25px;
    }
}

.custom-col {
    flex: 0 0 calc(33.333% - 16px);
    max-width: calc(33.333% - 16px);
}

.practice-container {
    display: flex;
    gap: 20px; /* Gap between columns */
}
.performance-view {
    background-color: #c5f5ff;
    border-radius: 20px;
    border: 2px solid #d2d2d2;
    padding: 30px 40px !important;
}

.performance-view p {
    color: #021316;
    font-size: 22px;
}
.performance-section {
    border: 2px solid #d2d2d2;
    border-radius: 20px;
    background-color: #fff;
    padding: 20px;
    width: 100%;
}
.performance-section h2 {
    color: #228da1;
    font-size: 30px;
}
.practice-by-sub {
    flex: 0 0 40%;
    background-color: #fff3d9;
    border: 2px solid #d2d2d2;
    border-radius: 20px;
    padding: 20px;
}
.practice-by-sub2 {
    flex: 0 0 40%;
    background-color: #fff;
    border: 2px solid #d2d2d2;
    border-radius: 20px;
    padding: 20px;
}
.practice-chart-sub-heading {
    font-weight: 600;
    font-size: 25px;
    text-transform: uppercase;
    color: #021316;
}
.performance-percent-1 {
    margin: 20px 0px;
    margin-top: 0px;
    background-color: #93c75b;
    border-radius: 10px;
}
.performance-percent-2 {
    margin: 20px 0px;
    margin-top: 0px;
    background-color: #3fb4f7;
    border-radius: 10px;
}
.performance-percent-3 {
    margin: 20px 0px;
    margin-top: 0px;
    background-color: #cb6be6;
    border-radius: 10px;
}
.performance-percent-4 {
    margin: 20px 0px;
    margin-top: 0px;
    background-color: #5070fe;
    border-radius: 10px;
}
.performance-percent-5 {
    margin: 20px 0px;
    margin-top: 0px;
    background-color: #fec750;
    border-radius: 10px;
}
.performance-percent-6 {
    margin: 20px 0px;
    margin-top: 0px;
    background-color: #8b53ff;
    border-radius: 10px;
}
.performance-percent-1 span {
    color: #fff;
    font-weight: 600;
    font-size: 13px;
    margin-left: -3px;
    margin-top: 10px !important;
}
.performance-percent-2 span {
    color: #fff;
    font-weight: 600;
    font-size: 13px;
    margin-left: -3px;
    margin-top: 10px !important;
}
.performance-percent-3 span {
    color: #fff;
    font-weight: 600;
    font-size: 13px;
    margin-left: -3px;
    margin-top: 10px !important;
}
.performance-percent-4 span {
    color: #fff;
    font-weight: 600;
    font-size: 13px;
    margin-left: -3px;
    margin-top: 10px !important;
}
.performance-percent-5 span {
    color: #fff;
    font-weight: 600;
    font-size: 13px;
    margin-left: -3px;
    margin-top: 10px !important;
}
.performance-percent-6 span {
    color: #fff;
    font-weight: 600;
    font-size: 13px;
    margin-left: -3px;
    margin-top: 10px !important;
}
.practice-by-sub .sub-name {
    font-size: 13px;
    color: #021316;
    font-weight: 900;
}
.practice-by-day {
    flex: 0 0 60%;
    background-color: #fff3d9;
    border: 2px solid #d2d2d2;
    border-radius: 20px;
    padding: 20px;
}
.practice-by-day div,
.practice-by-day canvas {
    font-family: "Comic Neue", cursive !important;
}

.session-skills .heading {
    font-weight: 500;
    font-size: 30px;
    color: #021316;
}
.session-skills span {
    font-size: 22px;
    color: #6c685f;
}
.accordion {
    width: 100%;
    margin: 20px auto;
}

.accordion-item {
    background-color: #e7faff;
    border: 2px solid #d2d2d2;
    border-radius: 15px !important;
    margin-bottom: 10px;
    overflow: hidden;
}

.accordion-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
    cursor: pointer;
    background-color: #c5f5ff;
}

.header-left {
    display: flex;
    align-items: center;
}

.header-left .icon {
    width: 30px;
    height: 30px;
    margin-right: 10px;
}

.skill-button {
    background-color: #fff3d9;
    border: none;
    border-radius: 20px;
    padding: 7px 15px;
    font-size: 16px;
    color: #856404;
    font-weight: bold;
    cursor: pointer;
}

.accordion-content {
    display: none;
    padding: 15px;
    background-color: #fff;
}

.question-section {
    margin-bottom: 15px;
}

.question {
    font-weight: bold;
    color: #021316;
    margin-left: 30px;
    font-size: 25px;
    margin-bottom: 10px;
}

.options {
    display: flex;
    justify-content: space-between;
}

.option {
    width: 30%;
    padding: 10px;
    border: 1px solid #ddd;
    text-align: center;
    border-radius: 5px;
    background-color: #f9f9f9;
}
.stats-section {
    background-color: #c4f4fe;
    border-radius: 20px;
    padding: 30px;
    margin-top: 30px;
}
.stats-section p {
    margin: 5px 0;
    color: #6c685f;
    font-weight: bold;
}

.stats-section span {
    font-weight: 500;
}
.trouble-sports {
    background-color: #fff3d9;
    padding: 20px;
    border: 1px solid gray;
    border-radius: 20px;
}

.trouble-sports .heading {
    font-weight: bold;
    font-size: 35px;
    margin-top: 50px;
    margin-bottom: 50px;
    text-transform: uppercase;
    color: #021316;
}

.trouble-sports span {
    font-size: 22px;
}

.no-padding {
    padding: 0px !important;
}

.skill-summary-info {
    height: 100%;
    background-color: #fff3cd;
    border: 2px solid #d2d2d2;
    border-radius: 20px;
    padding: 20px;
}
.skill-summary-info h4 {
    font-size: 35px;
}

/* .progress-improvement {
  border-radius: 5px;
  margin-bottom: 10px;
} */

.progress-item {
    /* margin-top: 5px; */
}

.progress-header {
    padding: 20px;
    cursor: pointer;
    font-size: 20px;
    font-weight: 300;
    color: #fff;
    border-radius: 10px;
}

.progress-content {
    display: none;
}

.last-level {
    background-color: #fff;
    border: 2px solid #d2d2d2;
    border-top: none;
    border-bottom-left-radius: 15px;
    border-bottom-right-radius: 15px;
    margin-bottom: 10px;
}
.last-level .col-md-5 {
    border-bottom: 2px solid #d2d2d2;
}
.last-level .col-md-3 {
    border-bottom: 2px solid #d2d2d2;
}
.last-level .col-md-2 {
    border-bottom: 2px solid #d2d2d2;
}
.last-level p {
    color: #2a89a9;
    font-weight: 600;
}

.percentage-bar {
    display: flex;
    margin-top: -8px !important;
}
.left-bar {
    width: 30%;
    background-color: #228da1;
    border-radius: 20px;
    height: 10px;
}
.right-bar {
    width: 70%;
    background-color: #c4f4fe;
    border-radius: 20px;
    height: 10px;
}
.rewards {
    display: flex;
    justify-content: flex-start !important;
    flex-wrap: wrap;
    gap: 20px;
    /* padding: 20px; */
}

.reward {
    border: 2px solid #228da1;
    border-radius: 20px;
    text-align: center;
    padding: 15px;
    max-width: 405px;
}

.reward .main-image {
    width: 100%;
}

.reward h4 {
    font-size: 25px;
    color: #228da1;
    margin: 10px 0 5px;
}

.reward p {
    font-size: 20px;
    color: #021316;
}

.reward.locked {
    background: #ccc;
    color: #fff;
}
.reward.locked .main-image {
    filter: grayscale(30%);
    opacity: 0.7;
}
.reward.locked .lock-icon {
    filter: grayscale(0%);
    opacity: 1;
}
.reward.locked h4 {
    font-size: 25px;
    font-weight: bold;
    color: #228da1;
}
.reward.locked p {
    color: #fff;
}
.lock-icon {
    position: relative;
    margin-top: -150%;
    height: 100px;
    width: 100px;
}

.unique-trial-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #ffe6cc;
    border: 1px solid #f39433;
    border-radius: 12px;
    padding: 7px 10px;
    font-family: "Comic Sans MS", cursive, sans-serif;
    max-width: 520px;
    float: right;
    min-width: 450px;
    margin-bottom: 20px;
}

.unique-trial-banner .icon {
    width: 32px;
    height: 32px;
    margin-right: 12px;
}

.unique-trial-banner .text {
    flex-grow: 1;
}

.unique-trial-banner .text h4 {
    margin: 0;
    font-size: 16px;
    font-weight: bold;
    color: #000;
    font-family: "Comic Sans MS", "Comic Neue", sans-serif;
}

.unique-trial-banner .text p {
    margin: 2px 0 0;
    font-size: 14px;
    color: #000;
    font-family: "Comic Neue", sans-serif;
    line-height: 20px !important;
}

.unique-trial-banner .upgrade-btn {
    background-color: #f39433;
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 4px 20px;
    font-size: 14px;
    font-weight: bold;
    font-family: "Comic Sans MS", "Comic Neue", sans-serif;
    cursor: pointer;
    transition: background 0.3s ease;
}

.unique-trial-banner .upgrade-btn:hover {
    background-color: #e07f1e;
}

/* Mobile Responsive */
@media (max-width: 576px) {

    .rewards{
        padding: 10px;
    }

    .unique-trial-banner {
        flex-direction: column;
        align-items: flex-start;
        text-align: center;
        padding: 12px;
    }

    .unique-trial-banner .icon {
        margin: 0 auto 10px;
    }

    .unique-trial-banner .text {
        width: 100%;
        margin-bottom: 10px;
    }

    .unique-trial-banner .upgrade-btn {
        width: 100%;
        text-align: center;
    }
}

@media (min-width: 1400px) {
    .rewards {
        justify-content: space-between;
    }

    .reward {
        width: 33%;
        max-width: 405px;
    }

    .reward h4 {
        font-size: 28px;
    }

    .reward p {
        font-size: 18px;
    }

    .lock-icon {
        width: 80px;
        height: 80px;
    }
}

@media (max-width: 1000px) {
    .reward h4 {
        font-size: 20px;
    }
    .reward p {
        font-size: 15px;
    }
    .reward.locked h4 {
        font-size: 20px;
    }
    .reward.locked p {
        font-size: 14px;
    }
    .lock-icon {
        position: relative;
        margin-top: -160%;
        height: 100px;
        width: 100px;
    }
    .progress-header {
        font-size: 12px;
        padding: 10px 15px;
    }

    .progress-header .row > div {
        flex: 1;
        padding: 0 5px;
    }
    .last-level p {
        font-size: 12px;
    }
    .last-level .row > div {
        flex: 1;
        padding: 0 3px;
    }
    .nav-bar {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 5px;
    }

    .nav-item {
        display: flex;
        align-items: center;
        padding: 10px;
        text-align: left;
        background-color: #fff;
        border-radius: 5px;
        box-sizing: border-box;
        width: 100%;
        border: 1px solid lightblue;
    }

    .nav-item img {
        width: 25px;
        height: 25px;
        margin-right: 10px;
    }

    .nav-item span {
        font-size: 14px;
        line-height: 25px;
    }

    .nav-item:hover,
    .nav-item.active {
        background-color: #c4f4fe;
    }

    .custom-col {
        flex: 0 0 100%;
        max-width: 100%;
        margin-bottom: 20px;
    }

    .postbox__select2 .nice-select span{font-size: 15px !important;}
}

@media (max-width: 800px) {
    .postbox__select2 .nice-select span{font-size: 18px  !important;}
}

@media (max-width: 1000px) {
    .performance-view {
        padding: 20px;
    }

    .performance-view .row {
        display: block;
    }
    .performance-section .row {
        display: flex;
    }

    .performance-view p {
        font-size: 18px;
    }

    .performance-section {
        padding: 15px;
    }

    .performance-section .col-md-6 {
        width: 50%;
    }

    .performance-section h2 {
        font-size: 24px;
    }

    .performance-section img {
        height: auto;
    }

    .practice-container {
        flex-direction: column;
        gap: 20px;
    }

    .practice-by-sub,
    .practice-by-day {
        flex: 0 0 100%;
        max-width: 100%;
        padding: 5px;
        overflow-x: auto;
    }

    .practice-chart-sub-heading {
        font-size: 20px;
        margin-left: 20px;
    }

    .performance-percent-1,
    .performance-percent-2,
    .performance-percent-3,
    .performance-percent-4,
    .performance-percent-5,
    .performance-percent-6 {
        margin: 15px 0px;
    }

    .performance-percent-1 span,
    .performance-percent-2 span,
    .performance-percent-3 span,
    .performance-percent-4 span,
    .performance-percent-5 span,
    .performance-percent-6 span {
        font-size: 12px;
    }

    .practice-by-sub .sub-name {
        font-size: 12px;
    }

    .skill-summary-info {
        text-align: center;
    }
    .skill-summary-info img {
        height: 100px;
        width: 100px;
        padding-bottom: 10px;
    }
}

@media (max-width: 450px) {
    .dropdown-holder .col-3 {
        width: 100%;
    }

    .dropdown-holder .col-6 {
        width: 100%;
    }

    .nav-bar .nav-item {
        width: 100%;
        border: 1px solid lightblue;
    }
}

@media (max-width: 350px) {
    .reward {
        width: 100%;
    }
}

@media (max-width: 1450px) {
    .student-dashboard-section .justify-content-between {
        display: block !important;
        justify-content: normal !important;
    }
    .student-dashboard-section .col {
        flex: 1;
        width: 33%;
        float: left;
        height: 300px;
        margin-bottom: 20px;
    }
}

@media (max-width: 900px) {
    .student-dashboard-section .justify-content-between {
        display: block !important;
        justify-content: normal !important;
    }
    .student-dashboard-section .col {
        flex: 1;
        width: 33%;
        float: left;
        height: 340px;
        margin-bottom: 20px;
    }

    .studentadd-modal-content .col-md-6 {
        width: 100% !important;
    }
    .studentadd-modal-content .row {
        display: block !important; 
    }
}

@media (max-width: 760px) {
    .student-dashboard-section .justify-content-between {
        display: block !important;
        justify-content: normal !important;
    }
    .student-dashboard-section .col {
        flex: 1;
        width: 45%;
        float: left;
        height: 340px;
        margin-bottom: 20px;
    }

    .troublespot-container .header-left {
        width: 55%;
    }
    .troublespot-container .header-right {
        width: 45%;
    }
}

@media (max-width: 500px) {
    .student-dashboard-section .justify-content-between {
        display: block !important;
        justify-content: normal !important;
    }
    .troublespot-container .header-left {
        width: 48%;
    }
    .troublespot-container .header-right {
        width: 52%;
    }
}
