@charset "utf-8";
/* CSS Document */

/* Fonts */
@font-face {
    font-family: 'geometria';
    src: url('../webfonts/geometria-light-webfont.eot');
    src: url('../webfonts/geometria-light-webfont.eot?#iefix') format('embedded-opentype'),
        url('../webfonts/geometria-light-webfont.woff') format('woff'),
        url('../webfonts/geometria-light-webfont.ttf') format('truetype'),
        url('../webfonts/geometria-light-webfont.svg#geometria') format('svg');
    font-weight: 100;
    font-style: normal;
}

@font-face {
    font-family: 'geometria';
    src: url('../webfonts/geometria-medium-webfont.eot');
    src: url('../webfonts/geometria-medium-webfont.eot?#iefix') format('embedded-opentype'),
        url('../webfonts/geometria-medium-webfont.woff') format('woff'),
        url('../webfonts/geometria-medium-webfont.ttf') format('truetype'),
        url('../webfonts/geometria-medium-webfont.svg#geometria') format('svg');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'geometria';
    src: url('../webfonts/geometria_bold-webfont.eot');
    src: url('../webfonts/geometria_bold-webfont.eot?#iefix') format('embedded-opentype'),
        url('../webfonts/geometria_bold-webfont.woff') format('woff'),
        url('../webfonts/geometria_bold-webfont.ttf') format('truetype'),
        url('../webfonts/geometria_bold-webfont.svg#geometria') format('svg');
    font-weight: bold;
    font-style: normal;
}

/* width */
::-webkit-scrollbar {
    width: 6px;
    height: 10px;
}

/* Track */
::-webkit-scrollbar-track {
    background: #f1f1f1;
}

/* Handle */
::-webkit-scrollbar-thumb {
    background: #888;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
    background: #555;
}

body {
    background-image: linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
    background-size: 32px 32px;
    background-attachment: fixed;
    font-optical-sizing: auto;
    font-weight: 400;
    background-color: #101010;
    color: #e2e2e2;
}

.login-page {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

div.main.login-page {
    padding-top: 0;
}

.login-box {
    width: 400px;
    max-width: 90%;

}

.login-box-wrap {
    width: 100%;
    border: 1px solid #e2e2e2;
    border-radius: 10px;
    padding: 30px 40px;
}

.yellow-title {
    color: #ffe52c;
    font-size: 3em;
    padding-bottom: 30px;
}

.login-box input {
    text-align: center;
}

.login-logo {
    width: 100%;
    height: auto;
    margin-bottom: 40px;
}

.login-logo img {
    width: 100%;
    height: auto;
}

.login-box .form-item {
    padding: 0px 5px;
}

.login-box input.btn {
    background-color: #000000;
    border-color: #850bdd;
    box-shadow: 0 0 12px 2px #850bdd;
    transition: all 300ms ease 0ms;
}

.login-box input.btn:hover {
    background-color: #850bdd;
    color: #fff;
}


[type="checkbox"]:not(:checked),
[type="checkbox"]:checked {
    position: absolute;
    left: -9999px;
    display: inline;
    width: auto;
    position: relative;
    cursor: pointer;
    margin: 0;
}

[type="checkbox"]:not(:checked)+label,
[type="checkbox"]:checked+label {
    position: relative;
    overflow: hidden;
    padding-left: 15px;
    padding-top: 7px;
    cursor: pointer;
    display: inline-block;
    height: 25px;
    line-height: 25px;
    -webkit-user-select: none;
    -moz-user-select: none;
    -khtml-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

input[type=checkbox]:before {
    content: "";
    display: block;
    position: absolute;
    width: 20px;
    height: 20px;
    top: -3px;
    left: 9999px;
    background-color: #fff;
    border: 1px solid #aeaeae;
    border-radius: 4px;
}

input[type=checkbox]:checked:before {
    content: "";
    display: block;
    position: absolute;
    width: 20px;
    height: 20px;
    border-radius: 4px;
    border: 1px solid #2fb3c7;
    background-color: #2fb3c7;
}

input[type=checkbox]:checked:after {
    content: "";
    display: block;
    width: 7px;
    height: 12px;
    border: solid white;
    border-width: 0 2px 2px 0;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
    position: absolute;
    top: -1px;
    left: 10006px;
}

header {
    width: 100%;
    background-color: #222222 !important;
    padding: 0px 20px;
    box-shadow: 0px 0px 5px #00000030;
    font-weight: 500;
    z-index: 1000;
    position: fixed;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 60px;
}

header .left {
    display: flex;
    align-items: center;
    height: 100%;
    width: 200px;
    max-width: 40%;
}

header .left img {
    width: 100%;
    max-width: 100%;
    height: auto;
}

header .right {
    display: flex;
    align-items: center;
    gap: 20px;
    font-size: 1.2rem;
}

.menu-icon {
    margin-right: 25px;
}

/* Header Actions & Icons Alignment */
header .right a {
    color: #fff !important;
    text-decoration: none;
    display: flex;
    align-items: center;
    transition: color 0.3s ease;
    border: 1px solid #fff;
    border-radius: 5px;
    padding: 5px;
}

header .right a:hover {
    background-color: #850bdd !important;
}

/* Login Name & Acronym Span Alignment */
.login-name {
    margin-left: 20px;
    border-left: 1px solid #444;
    padding-left: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #fff;
    font-weight: 500;
}

.login-name span {
    background: #eab308;
    color: #000;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
}

div.main {
    width: 100%;
    overflow: auto;
    /*height: 100%;*/
    padding-top: 50px;
}

nav {
    width: 260px;
    height: 100%;
    overflow: auto;
    border-right: 1px solid #aeaeae;
    background-color: #fff;
    padding-top: 20px;
    padding-bottom: 80px;
    float: left;
    position: fixed;
    left: 0;
    top: 50px;
    z-index: 999;
}

nav ul li a {
    width: 100%;
    padding: 0px 12px;
    display: flex;
    align-items: center;
    line-height: 3em;
    text-align: center;
    font-size: 1.2em;
}

nav ul li a:hover {
    background-color: #fafafa;
}

nav ul li a i.fa {
    font-size: 1.2em;
    min-width: 35px;
    margin-right: 10px;
}

nav .menuspacer {
    padding: 0 20px 5px 20px;
    margin-top: 10px;
    width: 100%;
}

.shrink nav {
    width: 60px;
    overflow-x: hidden;
}

.shrink nav ul li span,
.shrink nav .menuspacer {
    display: none;
}

.shrink nav ul li a {
    display: block;
    font-size: 1.1em;
}

.content {
    width: 1200px;
    overflow: auto;
    padding: 80px 0px;
    float: none;
    max-width: 96%;
    margin: 0 auto;
}

.shrink .content {
    width: 100%;
    overflow: auto;
}

.section-title {
    padding-bottom: 10px;
}

.section-title h1,
.section-title h2,
.section-title h3 {
    font-weight: 100;
    border-bottom: 1px solid #aeaeae;
    padding-bottom: 10px;
    margin-bottom: 20px;
}

.section-title .title span {
    position: relative;
    top: 2px;
}
.section-title .title span.select2, .section-title .title .select2 span {
    top: 0px;
}

.section-title .title div i.fa {
    width: 36px;
    height: 36px;
    text-align: center;
    line-height: 36px;
    background-color: #fff;
    font-size: 1.3rem;
    margin-right: 10px;
    border-radius: 5px;
    color: #000;
}

.section-title .title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 1.8em;
    padding: 5px;
    border: 1px solid #fff;
    border-radius: 10px;
    background-color: #000;
}

.section-title .title .btn {
    width: auto;
    padding: 5px 15px;
}

.message {
    font-weight: 100;
    font-size: 1rem;
    text-align: center;
    padding-bottom: 10px;
}

table th:first-child {
    border-top-left-radius: 4px;
}

table th:last-child {
    border-top-right-radius: 4px;
}

.action-buttons {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.action-buttons li {
    list-style: none;
    padding: 0px 3px;
    position: relative;
}

.action-buttons.column li {
    padding: 3px 0;
}

.form-wrap.toggle {
    display: none;
}

.cke_screen_reader_only {
    display: none;
}

.label-wrap {
    position: relative;
}

.label-wrap label {
    font-size: 0.9rem;
    position: absolute;
    left: 0px;
    color: #888;
    top: 0px;
    transition: 0.2s;
    opacity: 0;
    line-height: 0;
}

.label-wrap>input:not(:placeholder-shown)+label,
.label-wrap>select:valid+label,
.label-wrap>textarea:not(:placeholder-shown)+label,
.label-wrap>.select2-container--below+label,
.label-wrap.active label,
.label-wrap .fakebox+label {
    opacity: 1;
    /* To visually hide the label's pseudoelement */
    pointer-events: none;
    top: -15px;
    font-size: 0.7rem;
    margin: 0;
    line-height: normal;
    color: #222222;
}

.form-wrap.single .form-row {
    padding-bottom: 0;
}

.form-wrap.single input,
.form-row.single select,
.form-wrap.single textarea {
    margin-bottom: 25px;
}

.input-image-wrap {
    width: 100%;
    background-color: #fff;
    height: 110px;
    border: 1px solid #aeaeae;
    border-radius: 4px;
    margin-bottom: 25px;
    text-align: center;
}

.input-image-wrap img {
    max-width: 100%;
    max-height: 100%;
}

.item-image {
    margin-top: 5px;
    height: 184px;
    margin-bottom: 30px;
}

.data-table {
    overflow-x: auto;
}

.select2-container--default .select2-selection--single {
    height: auto;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
    padding: 5px 25px 5px 15px;
    font-size: 14px;
    line-height: 24px;
}
.select2-container--default .select2-selection--single .select2-selection__arrow{
    height:20px;
}

.select2-container--default .select2-selection--single .select2-selection__arrow b {
    margin-top: 25%;
}
.select2-results__option {
    color: #000;
}

.select2-container .select2-selection--multiple {
    min-height: 41px;
}

.select2-container--default .select2-selection--multiple .select2-selection__choice {
    padding: 5px 5px 3px 5px;
}

[aria-disabled="true"] {
    color: #aeaeae !important;
}


table form ul.form-row {
    background-color: #f1f1f1;
    padding: 5px 5px 10px 5px;
    width: 100%;
    border: 1px solid #e1e1e1;
}

table form ul li {
    list-style: none;
    padding: 0;
}

table form .form-row,
table form .form-item {
    padding: 0;
    margin: 0;
}

.form-row.steps-table {
    background-color: #f1f1f1;
    width: 100%;
    border: 1px solid #e1e1e1;
}

.steps-table table tr {
    background-color: transparent;
}

.steps-table table tr td {
    border: 0;
}

.steps-table input[type="checkbox"] {
    top: -6px;
}

.steps-table input[type="checkbox"]+label {
    padding-top: 3px;
    max-width: 200px;
    height: 31px;
    line-height: 14px;
}

.form-row.steps-table.pad {
    padding: 10px;
}

.steps-table td .one-fourth {
    padding-top: 10px;
}



/*front end*/
.feedback-wrap {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    text-align: center;
}

.feedback-wrap .logo {
    padding: 10px;
    background-color: #fff;
    border-radius: 10px;
}

.feedback-wrap .logo img {
    width: 130px;
}

.feedback-wrap h1 {
    margin-bottom: 10px;
    color: #222222;
}

.feedback {
    padding: 30px 30px 30px 30px;
    border: 4px solid #2fb3e7;
    border-radius: 20px;
    background-color: #222222;
    color: #fff;
    max-width: 94%;
}

.feedback textarea {
    border-radius: 10px;
    min-height: 160px;
    font-size: 1.2em;
    font-weight: 100;
}

.feedback input[type="text"] {
    border-radius: 10px;
    padding: 14px 10px;
    font-size: 1.2em;
}

.feedback .btn {
    font-size: 1.4em;
    border-radius: 10px;
    margin-top: 10px;
    line-height: 1.8em;
}

.rate {
    padding: 0 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: row-reverse;
}

.rate:not(:checked)>input {
    position: absolute;
    top: -9999px;
}

.rate:not(:checked)>label {
    width: 1em;
    overflow: hidden;
    white-space: nowrap;
    cursor: pointer;
    font-size: 80px;
    color: #ccc;
}

.rate:not(:checked)>label:before {
    content: '★ ';
}

.rate>input:checked~label {
    color: #ffc700;
}

.rate:not(:checked)>label:hover,
.rate:not(:checked)>label:hover~label {
    color: #deb217;
}

.rate>input:checked+label:hover,
.rate>input:checked+label:hover~label,
.rate>input:checked~label:hover,
.rate>input:checked~label:hover~label,
.rate>label:hover~input:checked~label {
    color: #c59b08;
}

.order-status {
    width: 70%;
    margin: 20px;
    float: left;
}

.order-inbox {
    width: calc(30% - 80px);
    margin: 20px;
    float: right;
    border: 1px solid #aeaeae;
    height: calc(100% - 40px);
    border-radius: 6px;
    box-shadow: 0px 0px 5px #ccc;
    position: fixed;
    right: 0px;
    overflow: hidden;
}

.order-inbox.admin {
    position: fixed;
    top: 50px;
    z-index: 10;
    height: calc(100% - 90px);
}

.message-wrap {
    background-image: url(../../assets/images/inbox-bg.jpg);
    background-size: cover;
    background-position: center center;
    height: calc(100% - 209px);
    padding: 10px;
    overflow: auto;
}

.message-wrap ul li {
    width: 100%;
    padding: 10px 0;
}

.message-wrap ul li .message,
.admin .message-wrap ul li .message.customer {
    width: 80%;
    background-color: #333;
    color: #fff;
    padding: 10px;
    border-radius: 10px;
    font-size: 1.2em;
    line-height: 1.3em;
    float: none;
}

.message-wrap ul li .message.customer,
.admin .message-wrap ul li .message {
    background-color: #16b4ef;
    float: right;
}

.order-status li {
    list-style: none;
}

.order-info-block li {

    width: 32%;
    background-color: #fcfcfc;
    border-radius: 10px;
    box-shadow: 0px 0px 5px #ccc;
    overflow: hidden;
}

.order-info-block li table tr {
    background-color: transparent;
}

.order-info-block li table td {
    border: 0;
}

.order-info-block li table td:first-child {
    width: 40%;
}

.block-title {
    background-color: #16b4ef;
    color: #fff;
    padding: 5px 20px;
    font-size: 1.6em;
    border-radius: 5px;
    box-shadow: 0px 0px 5px #ccc;
}

.block-title i {
    position: relative;
    top: 2px;
    margin-right: 10px;
}

.block-title .fa-circle-xmark {
    margin-right: 0;
}

.block-title .close-inbox {
    color: #fff;
}

.block-inner {
    padding: 20px 2px;
}

.order-inbox .block-title {
    border-radius: 0;
    box-shadow: none;
}

.order-inbox textarea {
    height: 133px;
    border: 0;
    border-top: 1px solid #aeaeae;
    border-radius: 0;
    outline: 0;
    resize: none;
    background-color: #f7f7f7;
}

.order-inbox form {
    line-height: 0;
}

.order-inbox .btn {
    border-radius: 0;
}

.progress-block {
    padding: 20px 0px;
}

.progress-block h3 {
    padding: 0 20px;
}

.progress-block .timeline {
    padding: 0px 20px 20px 20px;
}

.progress-block li {
    padding-left: 90px;
    position: relative;
    line-height: 30px;
    margin: 20px 0;
}

.progress-block li ul li {
    line-height: 20px;
}

.progress-block li:before {
    content: "\f00c";
    font-family: 'Font Awesome 6 Free';
    display: block;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background-color: #4dd555;
    box-shadow: 0px 0px 15px #47ff52;
    position: absolute;
    left: 0px;
    top: -2px;
    color: #fff;
    text-align: center;
    font-size: 1.3em;
    line-height: 30px;
}

.progress-block li ul li:before {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    font-size: 0.9em;
    line-height: 20px;
}

.progress-block li:after {
    content: "";
    width: 50px;
    height: 1px;
    border-top: 1px solid #aeaeae;
    position: absolute;
    left: 30px;
    top: 14px;
}

.progress-block li ul li:after {
    left: 20px;
    top: 9px;
}

.progress-block li.pending:before {
    content: "\f141";
    background-color: #ffaa11;
    box-shadow: 0px 0px 15px #ffdea4;
}

.btn.spc {
    font-size: 0.85em;
    line-height: 2.5em !important;
    width: 100%;
    padding: 0 4px !important;
}

.dashboard ul {
    width: 80%;
    display: flex;
    flex-basis: 0;
    flex-wrap: wrap;
}

.dashboard ul li {
    padding: 10px;
    list-style: none;
}

.dashboard ul li .liwrap {
    background-color: #16b4ef;
    color: #fff;
    padding: 20px;
    border-radius: 5px;
}

.dashboard ul li span {
    font-size: 3em;
}

.dashboard .liwrap a {
    color: #fff;
}

.dashboard .liwrap:hover {
    background-color: #000;
}

.counter {
    font-size: 0.7em;
    width: 16px;
    height: 16px;
    line-height: 17px;
    position: absolute;
    top: -4px;
    right: -7px;
    background-color: brown;
    color: #fff;
    border-radius: 50%;
    font-weight: normal;
    text-align: center;
}

.fa-left-right {
    cursor: pointer;
    float: right;
    font-size: 1.5em;
}

pre {
    padding-left: 100px;
    padding-top: 50px;
}

.form-item>.form-item {
    padding-top: 0;
    padding-bottom: 0;
}

.aligncheckbox {
    display: flex;
}

.aligncheckbox input[type=checkbox]:before {
    top: 0;
}

.aligncheckbox.label-wrap input+label {
    top: 0px;
    padding-top: 0px;
    line-height: 2em;
}

.aligncheckbox input[type=checkbox]:checked:after {
    top: 2px;
}

.purchase-form {
    background-color: #00000050;
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 100%;
}

.purchase-form .form-wrap {
    position: absolute;
    z-index: 99;
    top: 20%;
    width: 400px;
    margin: 0 auto;
    left: 0;
    right: 0;
    background-color: #fff;
    border: 1px solid #000;
    padding: 20px;
    border-radius: 15px;
}

.purchase-form .fa-xmark {
    background-color: red;
    color: #fff;
    width: 36px;
    height: 36px;
    text-align: center;
    line-height: 36px;
    font-size: 20px;
    position: absolute;
    right: -10px;
    top: -10px;
    border-radius: 50%;
    cursor: pointer;
}


@media only screen and (max-width: 540px) {
    .rate:not(:checked)>label {
        font-size: 50px;
    }
}

/* Course Card Styles */
.courses-container {
    display: flex;
    flex-wrap: wrap;
    gap: 35px 3%;
    margin-top: 20px;
}

.course-card {
    width: 100%;
    aspect-ratio: 1 / 1;
    /* Makes it square */
    background-color: #000000;
    border: 1px solid #ffffff;
    border-radius: 10px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    box-sizing: border-box;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.course-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(255, 255, 255, 0.1);
}

.course-card h3 {
    color: #ffe52c;
    font-size: 1.5rem;
    margin-bottom: 10px;
    font-weight: bold;
}

.course-card .languages {
    color: #ffffff;
    font-size: 0.85rem;
    opacity: 0.8;
}

/* Chapters List Styles */
.chapters-container {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 20px;
}

.chapter-row {
    width: 100%;
    background-color: #000000;
    border: 1px solid #ffffff;
    border-radius: 10px;
    padding: 20px;
    display: flex;
    align-items: flex-start;
    text-align: left;
    box-sizing: border-box;
    transition: background-color 0.3s ease;
}

.chapter-row:hover {
    background-color: #111111;
}

.chapter-number {
    font-size: 2rem;
    font-weight: bold;
    color: #ffe52c;
    min-width: 41px;
    margin-right: 10px;
}

.chapter-info {
    flex: 1;
}

.chapter-info h3 {
    color: #ffffff;
    font-size: 1.25rem;
    margin-bottom: 5px;
}

.chapter-snippet {
    color: #cccccc;
    font-size: 0.9rem;
    line-height: 1.4;
}

/* Chapter Details Page Styles */
.chapter-details-container {
    max-width: 1000px;
    margin: 20px auto;
    padding-bottom: 50px;
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    /* 9 / 16 * 100 = 56.25% for 16:9 ratio */
    height: 0;
    background-color: #000;
    border: 1px solid #ffffff;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 30px;
}

.no-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: #444;
}

.no-video i {
    font-size: 3rem;
    margin-bottom: 10px;
}

.chapter-header-info {
    margin-bottom: 25px;
}

.chapter-title {
    color: #ffe52c;
    font-size: 2.2rem;
    margin-bottom: 5px;
    font-weight: bold;
}

.chapter-language {
    color: #ffffff;
    font-size: 0.9rem;
    opacity: 0.8;
    margin-bottom: 15px;
}

/* Utility Classes for clean PHP views */
.mt-40 {
    margin-top: 40px !important;
}

.inline-block {
    display: inline-block;
}
.dashboard .inline-block{
    width: 22.7%;
}

.btn-reset {
    all: unset;
    cursor: pointer;
    display: block;
    width: 100%;
}

.flex-center-gap {
    display: flex;
    gap: 10px;
    align-items: center;
}

.lang-dropdown {
    background: #222;
    color: #fff;
    border: 1px solid #444;
    padding: 5px 10px;
    border-radius: 5px;
    cursor: pointer;
}

.absolute-fill {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.chapter-divider {
    border: 0;
    border-top: 1px solid #ffffff;
    margin: 0;
    opacity: 0.3;
}

.chapter-content-body {
    color: #ffffff;
    line-height: 1.6;
    font-size: 1.1rem;
    margin-top: 25px;
}

.chapter-content-body p {
    margin-bottom: 15px;
}