﻿.mt-16px {
    margin-top: 16px;
}

.mt-15px {
    margin-top: 15px;
}

.mt-10px {
    margin-top: 10px;
}

.mt-100px {
    margin-top: 100px;
}

.mb-100px {
    margin-bottom: 100px;
}

.btn-primary {
    background: #1D4ED8;
    color: #fff;
    border-radius: 10px;
    padding: 8px 10px;
}

.custom-title-2 {
    font-weight: bold;
    color: #113356;
    display: block;
}

.calendar-selector {
    width: 50%;
    box-sizing: border-box;
}

/* Tablet */
@media (min-width: 768px) {
    .calendar-selector {
        width: 40%;
    }
}

/* Desktop */
@media (min-width: 1024px) {
    .calendar-selector {
        width: 30%;
    }
}

.fs-13px {
    font-size: 13px;
}

.reservation-list {
    border: 1px solid #ccc;
    border-radius: 15px;
}

.jc-center {
    justify-content: center;
}

.alert-success {
    background: #dafbcd;
    padding: 8px 10px;
    border-radius: 10px;
}

.pointer {
    cursor: pointer;
}

.pagination-active {
    background: #1D4ED8;
    color: #fff;
}

footer {
    margin-bottom: 20px;
}

.mt-12px {
    margin-top: 12px;
}

.mb-10px {
    margin-bottom: 10px;
}

.text-purple {
    color: #7428e2;
}

.mt-20px {
    margin-top: 20px;
}

.w-100 {
    width: 100%;
}

.w-90per {
    width: 95%;
}

.m-auto {
    margin: auto;
}

.top-50per {
    top: 50%;
}

.text-gold {
    color: #ca9852;
}

/* Footer Info */
.info-grid {
    display: grid;
    grid-template-columns: 1fr; /* mobile: 1 per row */
    gap: 2.5rem; /* equivalent to gap-10 */
}

@media (min-width: 768px) { /* equivalent to md: breakpoint */
    .info-grid {
        grid-template-columns: 1fr 1fr; /* bigger screens: 2 per row */
    }
}

.info-item {
    display: flex;
    align-items: center;
    gap: 1.25rem; /* gap-5 */
}

.icon-circle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 3rem; /* w-12 */
    height: 3rem; /* h-12 */
    background-color: var(--color-secondary, #f0f0f0);
    color: var(--color-muted, #888);
    border-radius: 9999px;
}

    .icon-circle i {
        width: 1.25rem; /* w-5 */
        height: 1.25rem; /* h-5 */
    }

.info-text {
    display: flex;
    flex-direction: column;
    gap: 0.5rem; /* space-y-2 */
}

.info-label {
    color: #486FDE;
    font-weight: 900; /* font-black */
}

.install-pwa-btn {
    color: #486FDE;
    font-weight: 900;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
}

.alert-info {
    background: #e2eafa;
    padding: 20px 30px;
    border-radius: 15px;
}

.alert-danger {
    background: #f7d5d5;
    padding: 20px 30px;
    border-radius: 15px;
}

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

.btn-info {
    font-size: 12px;
    background: #1D4ED8;
    color: #fff;
    border-radius: 15px;
    padding: 10px 15px;
}

/* Create Product File Upload*/
.file-upload {
    padding: 10px;
    width: 100%;
    margin: 10px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.file-label {
    display: inline-block;
    padding: 10px 20px;
    background: #1D4ED8;
    color: white;
    border-radius: 5px;
    cursor: pointer;
    transition: 0.3s;
}

    .file-label:hover {
        background: #1e4bca;
    }

input[type="file"] {
    display: none;
}

.file-list {
    margin-top: 15px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.thumbnail {
    position: relative;
    display: inline-block;
}

    .thumbnail img {
        width: 100px;
        height: 100px;
        object-fit: cover;
        border-radius: 5px;
    }

.remove-btn {
    position: absolute;
    top: 5px;
    right: 5px;
    background: rgb(207, 30, 30);
    color: white;
    border: none;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    cursor: pointer;
    font-size: 14px;
    line-height: 20px;
    text-align: center;
}

/* Mobile Menu */
.mobile-menu-area {
    display: none; /* hidden by default, shown only on mobile */
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    background-color: #ffffff;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.08);
    z-index: 999;
    direction: rtl;
}

.mobile-menu-content {
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 6px 4px;
}

.mobile-menu-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    flex: 1;
    padding: 6px 2px;
    color: #6b7280;
    cursor: pointer;
    transition: color 0.2s ease;
}

    .mobile-menu-item i {
        font-size: 20px;
        line-height: 1;
    }

    .mobile-menu-item span {
        font-size: 11px;
        font-weight: 500;
        white-space: nowrap;
    }

    .mobile-menu-item:hover,
    .mobile-menu-item.active {
        color: #2563eb; /* change to your brand/primary color */
    }

/* Show only on mobile */
@media (max-width: 767px) {
    .mobile-menu-area {
        display: block;
    }

    /* prevent content from being hidden behind the fixed menu */
    body {
        padding-bottom: 60px;
    }
}

.price-color {
    color: #3cc73f;
}

.header-logo {
    width: 100px;
}

.side-menu-logo {
    width: 150px;
}

.bg-light {
    background: #fff;
}

.alert-warning {
    padding: 10px;
    margin: 10px 0;
    border: 1px solid #ca9852;
    background: #f1e1c4;
    border-radius: 15px;
}

.nav-parent-menu-ul,
.nav-sub-menu-ul {
    border-radius: 15px;
    padding: 10px;
}

.filter-course-item .item-detail {
    padding: 0 20px 10px;
    margin-top: 0;
}

    .filter-course-item .item-detail span,
    .filter-course-item .item-detail i {
        font-size: 12px;
    }

    .filter-course-item .item-detail .price {
        font-size: 15px;
    }

.filter-course-item .item-feature {
    padding: 10px 20px 0 20px;
}

    .filter-course-item .item-feature span {
        font-size: 10px;
    }

.course-filter-content {
    background: #fff;
    border-radius: 20px;
    padding: 20px
}

.articles-filter-content {
    background: #fff;
    border-radius: 20px;
    padding: 20px
}

.mr-5px {
    margin-right: 15px;
}

.content-item-image {
    height: 130px;
    width: 100%;
}

.bg-green {
    background: #9de27d40;
}

.fs-10px {
    font-size: 10px;
}

.course-item-image {
    height: 160px;
    width: 100%;
}

@media (max-width: 568px) {
    .course-item-image {
        height: 190px;
        width: 100%;
    }
}


.filter-course-item {
    border: 1px solid #e1e0e0;
    border-radius: 25px
}

.nav-parent-menu-ul {
    width: max-content;
}

    .nav-parent-menu-ul li a {
        padding-bottom: 5px;
    }

    .nav-parent-menu-ul .link-item {
        font-size: 12px;
    }

.nav-sub-menu-ul {
    width: fit-content;
    height: auto;
}

.other-links-ul {
    width: max-content;
}

    .other-links-ul li, .nav-parent-menu-ul li {
        padding-left: 20px;
    }

.nav-sub-menu-ul li {
    padding-bottom: 10px;
}

.text-ellipsis {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.mr-5px {
    margin-right: 5px;
}

.rotate-310-deg {
    transform: rotate(310deg);
}

.course-slider-item-content {
    border-radius: 30px;
    background: #fff;
}

.course-title {
    padding: 10px 0;
}

.title-ellipsis {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.sub-course-badge {
    color: #f3b037;
}

.course-slider-enrollment {
    font-size: 10px;
    padding: 6px 12px;
    border-radius: 40px;
    background: #e6f6e7;
    color: #42c40b;
}

.course-slider-duration {
    font-size: 10px;
    padding: 6px 12px;
    border-radius: 40px;
    background: #e7eff5;
    color: #197fac;
}

.course-slider-type {
    font-size: 10px;
    padding: 6px 12px;
    border-radius: 40px;
    background: #ede0fc;
    color: #7428e2;
}

.fs-30px {
    font-size: 30px;
}

.mt-15px {
    margin-top: 15px;
}

.text-blue {
    color: #2b55cb;
}

.text-green {
    color: #42c40b;
}

.text-purple {
    color: #7428e2;
}

.text-yellow {
    color: #f3b037;
}

.text-pink {
    color: #ff61b8;
}




.course-slider-enrollment span, .course-slider-duration span, .course-slider-type span {
    font-size: 11px
}

.fs-40px {
    font-size: 40px;
}

.fs-16px {
    font-size: 16px;
}

.footer-description {
    padding: 30px;
}

.footer-links {
    margin-top: 30px;
}

.footer-logo {
    width: 150px;
}

.certificate-item {
    width: 90px;
}

    .certificate-item img {
        border-radius: 15px;
    }

.article-slider-image {
    width: 100%;
    height: 200px;
}

.sub-category-ul {
}

.custom-select {
    direction: rtl;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24'%3E%3Cpath d='M6 9l6 6 6-6' fill='none' stroke='%23666' stroke-width='2'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: left 12px center;
    background-size: 22px;
    background-color: #F4F4F5;
    border-color: #F4F4F5;
    width: 100%;
    border-radius: 15px;
    margin-top: 10px;
    font-size: 14px
}

    .custom-select option {
        border-radius: 20px;
        background: #fff;
        color: #333;
        padding: 10px;
        font-size: 14px;
    }

        .custom-select option:hover {
            background: #7428e2;
        }

.loading-spin {
    display: none;
    width: 100%;
    text-align: center
}

.no-data-alert {
    display: none;
    text-align: center;
    width: 100%;
    background: #bee8fe;
    border: 1px solid #1D4ED8;
    border-radius: 15px;
    padding: 20px;
}

.raw-text {
    text-align: justify;
    line-height: 30px;
}

    .raw-text img {
        border-radius: 15px;
        width: 100%;
        overflow: hidden;
        padding: 10px 0;
    }

.course-features-area {
    background: #fff;
}

.course-features {
    padding: 10px;
}

    .course-features .item {
        margin-bottom: 10px
    }

        .course-features .item p {
            display: inline;
            font-size: 13px;
        }

        .course-features .item i {
            color: #3A65DD;
            padding: 5px;
            border-radius: 50%;
            border: 2px solid #3A65DD;
            font-size: 12px
        }

.faq-description p {
    font-size: 14px;
}

/* Course content */
.course-content-area {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* Desktop: 4 columns */
    gap: 16px;
}

.course-content-item {
    font-size: 15px;
    flex: 0 0 calc(25% - 12px);
}

    .course-content-item i {
        background: #f3f1f1;
        padding: 8px 10px;
        border-radius: 50%;
        font-size: 13px;
        margin-left: 10px;
    }

.login-logo {
    width: 100px;
    margin: auto;
}

@media (max-width: 992px) {
    .course-content-area {
        grid-template-columns: repeat(2, 1fr); /* 2 columns */
    }
}

.site-message-item {
    padding: 20px 30px;
    border-radius: 15px;
    margin-bottom: 10px;
    font-size: 13px
}

    .site-message-item .site-message-time {
        text-align: left;
        color: #3e3e3e
    }

    .site-message-item a {
        color: #1D4ED8;
        font-weight: bold;
    }

    .site-message-item h4 {
        font-size: 17px;
        font-weight: bold;
    }

.install-pwa-btn {
    border: 2px solid #1D58DC;
    border-radius: 15px;
    padding: 15px 20px;
    transition: all 0.5s ease-in-out;
}

    .install-pwa-btn:hover {
        background: #1D58DC;
        color: #fff;
        transition: all 0.5s ease-in-out;
    }

#avatar-preview-placeholder {
    width: 120px;
}

.ticket-message-text {
    line-height: 30px;
    padding: 10px 15px;
}

.close-ticket-btn {
    margin-top: 10px;
    color: #9a1a1a;
    border: 1px solid #9a1a1a;
    padding: 8px 10px;
    border-radius: 15px;
    transition: all 0.5s ease-in-out;
}

    .close-ticket-btn:hover {
        transition: all 0.5s ease-in-out;
        color: #fff;
        background: #9a1a1a;
    }

.site-terms, class-terms {
    line-height: 35px;
}

    .site-terms h2, class-terms h2 {
        font-weight: bold;
    }


/* Subscription List */
.sub-area {
    display: grid;
    grid-template-columns: repeat(1, 1fr); /* mobile: 1 per row */
    justify-items: center;
    gap: 16px;
}

.sub-item {
    width: 95%;
}

/* Payment Result */
.pr-area {
    width: 100%;
    height: 60vh;
    margin-top: 70px;
}

.pr-content, .pr-top {
    display: flex;
    justify-content: center;
}

    .pr-top .payemnt-result-icon {
        margin-bottom: 20px;
    }

.pr-content {
    margin-top: 20px;
}

    .pr-content a {
        font-weight: bold;
        color: #1D4ED8;
    }

    .pr-content p, .pr-content span {
        margin-bottom: 15px;
    }

    .pr-content .content {
        width: 90%;
        padding: 20px;
        background: #fff;
        border-radius: 20px;
    }

.payemnt-result-icon img {
    width: 100px;
    margin: auto;
    margin-bottom: 15px;
}

.mt-20px {
    margin-top: 20px;
}

/* Tablet: 2 per row */
@media (min-width: 768px) {
    .sub-area {
        grid-template-columns: repeat(2, 1fr);
    }

    .pr-content .content {
        width: 70%;
    }
}

.banner-item img {
    border-radius: 15px;
    max-height: 200px;
    width: 98%;
    margin: auto;
}

/* Desktop: 3 per row */
@media (min-width: 1024px) {
    .sub-area {
        grid-template-columns: repeat(3, 1fr);
    }

    .pr-content .content {
        width: 40%;
    }
}

.w-100per {
    width: 100%;
}

.sub-item {
    border: 1px solid #ccc;
    border-radius: 20px;
    padding: 20px;
}

    .sub-item .title {
        font-size: 20px;
        font-weight: bold;
        text-align: center;
        margin-top: 10px;
        margin-bottom: 15px;
    }

    .sub-item .desc {
        margin-bottom: 20px;
        font-size: 14px;
    }

    .sub-item .days, .sub-item .price {
        font-weight: bold;
    }

    .sub-item img {
        width: 50px;
        margin: auto;
    }

.invoice-detail-content {
    margin: 30px 10px;
}

.artilce-text {
    line-height: 30px;
    font-size: 15px;
    text-align: justify;
}

.mt-15px {
    margin-top: 15px;
}

.text-justify {
    text-align: justify;
}

.artilce-category-links .link-item {
    font-size: 15px;
    margin-bottom: 10px;
}

.article-links-container, .article-tags-container {
    border: 1px solid #1D4ED8;
    border-radius: 20px;
    padding: 20px;
}

.article-item-style svg, .article-item-style i {
    font-size: 10px;
    width: 17px;
}

.mr-10px {
    margin-right: 10px;
}

.top-5px {
    position: relative;
    top: 5px;
}

.fs-14px {
    font-size: 14px;
}

.top-3px {
    position: relative;
    top: 3px;
}

.article-item-style {
    border-radius: 20px;
    margin-left: 10px;
    background: #b7dcff;
    padding: 10px 15px;
}


.artilce-category-links .link-item:hover {
    color: #1D4ED8;
}

.selected-reservations {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

@media (min-width: 768px) {
    .selected-reservations {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .selected-reservations {
        grid-template-columns: repeat(3, 1fr);
    }
}

.selected-reservation {
    width: auto;
    display: flex;
    background: #113356;
    justify-content: space-between;
    color: #fff;
    border-radius: 20px;
    display: flex;
    padding: 10px 20px;
    border: none;
}


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

    .reservation-list .form-check-input {
        display: none;
    }

.reservation-enabled {
    display: block;
    padding: 12px 20px;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    background: #fff;
    color: #374151;
    transition: all 0.2s ease;
    cursor: pointer;
}

.reservation-disabled {
    display: block;
    padding: 12px 20px;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    background: #f5afaf;
    color: #fff;
    transition: all 0.2s ease;
    cursor: not-allowed;
}

.bookmark-btn i {
    font-size: 20px;
}

.bookmark-btn {
    margin-left: 20px
}

.favorite {
    color: red;
}

.bookmark {
    color: #000;
}



.items-end {
    display: flex;
    justify-content: end;
}
/* Selected */
.reservation-list input:checked + span {
    background: #113356;
    border-color: #113356;
    color: #fff;
}

.submit-reservations-btn {
    color: #fff;
    background: #1D4ED8;
    padding: 10px 30px;
    margin-bottom: 20px;
}

.cursor-not-allowed {
    cursor: not-allowed;
}

.opacity-50 {
    opacity: 0.5;
}

.elements-center {
    display: flex;
    justify-content: center;
}

.no-course-alert {
    margin: 100px auto;
}

.text-light {
    color: #fff;
}

.no-course-alert a {
    margin-top: 30px;
    display: block;
}

.sticky-lesson-btns {
    position: sticky;
    bottom: 10px;
    display: inline-block;
    background: #fff;
    border-radius: 10px;
    border: 1px solid #ccc;
    display: flex;
    justify-content: space-between;
    padding: 10px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

    .sticky-lesson-btns button{
        background : #1D4ED8;
        color : #fff;
        border-radius : 15px;
        padding : 10px 8px;
    }

    .sticky-lesson-btns a {
        border: 1px solid #ccc;
        padding: 10px 8px;
        border-radius: 15px;
        display: inline-block;
        transition: all 0.25s ease-in-out;
    }

        .sticky-lesson-btns a:hover{
            transition : all 0.25s ease-in-out;
            color : #fff;
            background : #1D4ED8;
        }

        .tag-item {
            font-size: 12px;
            background: #dae2ff;
            display: inline-block;
            padding: 8px 10px;
            border-radius: 15px;
        }

/* Mobile */
@media (max-width: 576px) {
    .sticky-lesson-btns {
        bottom : 64px;
    }

    .course-content-area {
        grid-template-columns: 1fr; /* 1 column */
    }

    .submit-reservations-btn {
        display: block;
        width: 100%;
    }

    .banner-item img {
        margin-bottom: 10px;
    }

    .w-full-in-mobile {
        width: 100%;
    }

    .mobile-hide {
        display: none;
    }
}

@media (min-width:576px) {
    .footer-links {
        margin-top: 0;
    }

        .footer-links .section {
            width: 50%;
        }

    .course-content-item {
    }
}

@media (max-width:768px) {
    .user-side-menu {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.user-side-menu li a {
    display: flex;
    justify-content: center;
}


@media (min-width:768px) {
    .footer-links .section {
        width: 25%;
    }
}


@media (min-width:992px) {
    .footer-links .section {
        width: 25%;
    }

    .course-content-item {
        flex: 0 0 calc(50% - 8px);
    }
}


@media (min-width:1080px) {
    .footer-links .section {
        width: 25%;
    }
}
