/*
Theme Name: Du học
Description: This is a child theme for Flatsome Theme
Author: UX Themes
Template: flatsome
Version: 3.4
*/

/*************** ADD CUSTOM CSS HERE.   ***************/

.landing-page-intro h4 .section-title-main {
    font-size: 30px;
}

.notice-error {
    font-size: 14px;
}

.tabbed-content.tab-login {
    background: linear-gradient(90deg, #fab23d, #ffe1af 50%, #fab23d);
    position: relative;
    border-radius: 1.2rem;
    padding: .3rem;
    overflow: hidden;
    border: 1px solid #fab23d;
    /* box-shadow: inset 0 0 0 .1em rgba(250, 178, 61, .8), inset 0 0 .8em .2em rgba(250, 178, 61, .8), 0 0 0 .1em #fab23d, 0 0 .8em .2em rgba(250, 178, 61, .8); */
}

.tabbed-content.tab-login .tab-panels {
    box-shadow: .2rem .3rem 0 rgba(0, 0, 0, .2);
    padding: 1.2rem;
    background-color: #3a3a3a;
    border-radius: 0 0 .9rem .9rem;
}

.tabbed-content.tab-login .nav li {
    flex: 1;
    margin: 0;
    text-align: center;
}

.tabbed-content.tab-login .nav li.active {
    background-color: #3a3a3a;
    border-radius: .9rem .9rem 0 0;
}

.tabbed-content.tab-login .nav li.active::after {
    border-radius: 0 .9rem 0 0;
    transform: skewX(15deg);
    background-color: #3a3a3a;
    bottom: 0;
    content: "";
    position: absolute;
    right: 0;
    top: 0;
    width: 20px;
    height: 20px;
}

.regi-right-inner .regi-form {
    position: relative;
    transition: all 0.3s ease-in-out;
}

.regi-form {
    background: linear-gradient(90deg, #fab23d, #ffe1af 50%, #fab23d);
    border-radius: 1.2rem;
    padding: 0.3rem;
    margin: 0 20px;
}

.regi-form-tab {
    display: flex;
    flex-wrap: wrap;
    position: relative;
    z-index: 2;
}

.regi-form-tab .active-tab {
    background-color: #3a3a3a;
    border-radius: 0.9rem 0 0 0;
    height: calc(100% + 0.9rem);
    left: 0;
    position: absolute;
    top: 0;
    transition: 0.2s ease;
    width: calc(50% - 3rem);
    z-index: -1;
}

.regi-form-tab .active-tab .cuved {
    bottom: 0.78rem;
    left: calc(100% - 2.5rem);
    position: absolute;
    top: 0;
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;
    width: 4rem;
    z-index: -1;
}

.regi-form-tab .active-tab .cuved:after,
.regi-form-tab .active-tab .cuved:before {
    background-color: #3a3a3a;
    bottom: 0;
    content: "";
    left: 0;
    position: absolute;
    right: 0;
    top: 0;
}

.regi-form-tab .active-tab .cuved:before {
    border-radius: 0 0.9rem 0 0;
    transform: skewX(15deg);
}

.regi-form-tab .active-tab .circle {
    bottom: 0;
    height: 2rem;
    left: calc(100% + 0.18rem);
    overflow: hidden;
    position: absolute;
    width: 2rem;
    border-radius: unset !important;
}

.regi-form-tab .active-tab .circle:before {
    border-radius: 100rem;
    bottom: 0;
    box-shadow: -1rem 1rem 0 #3a3a3a;
    content: "";
    left: 0;
    position: absolute;
    right: 0;
    top: 0;
    z-index: 1;
}

.regi-form-tab .active-tab .cuved:after {
    border-radius: 0.9rem 0 0 0;
    opacity: 0;
    transform: skewX(-15deg);
}

.regi-form-tab .item.active {
    -webkit-text-fill-color: transparent;
    background: linear-gradient(90deg, #fab23d, #ffe1af 50%, #fab23d);
    -webkit-background-clip: text;
    paint-order: stroke fill;
}

.regi-form-tab .item {
    color: #3a3a3a;
    cursor: pointer;
    flex: 1;
    font-size: 16px;
    font-weight: 600;
    padding: 10px 0.6rem;
    text-align: center;
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;
}

.regi-form-tab .active-tab.change {
    border-radius: 0 .9rem 0 0;
    transform: translateX(calc(100% + 6rem));
}

.regi-form-tab .active-tab.change .cuved {
    left: unset;
    right: calc(100% - 2.5rem);
}

.regi-form-tab .active-tab.change .cuved:before {
    opacity: 0;
}

.regi-form-tab .active-tab.change .circle {
    left: unset;
    right: calc(100% + .18rem);
}

.regi-form-tab .active-tab.change .circle:before {
    border-radius: 100rem;
    bottom: 0;
    box-shadow: 1rem 1rem 0 #3a3a3a;
    content: "";
    left: 0;
    position: absolute;
    right: 0;
    top: 0;
    z-index: 1;
}

.regi-form-tab .active-tab.change .cuved:after {
    opacity: 1;
}

.regi-form-main .tab-panel {
    border-radius: 8px;
    background-color: #3a3a3a;
    display: none;
}

.regi-form-main .tab-panel.active {
    display: block;
}

/* Du Hoc Login Form Styles */
.regi-form-main .inner-padding {
    padding-bottom: 10px;
}

.auth-form {
    margin-bottom: 0;
}

.auth-form .form-row {
    margin-bottom: 15px;
    position: relative;
}

.auth-form .form-row input {
    margin-bottom: 0;
}

.auth-form p label {
    color: #a4a4a4;
    font-size: 12px;
    font-weight: 400;
    margin-bottom: 8px;
    display: block;
    position: absolute;
    background-color: #3a3a3a;
    top: -12px;
    left: 15px;
    padding: 2px 5px;
}

.auth-form .required {
    color: #fab23d;
}

.auth-form input[type="text"],
.auth-form input[type="password"],
.auth-form input[type="email"] {
    background: #3a3a3a;
    border: 2px solid #555;
    border-radius: 8px;
    color: #ffffff;
    font-size: 16px;
    padding: 15px;
    width: 100%;
    box-sizing: border-box;
    transition: all 0.3s ease;
}

.auth-form input:-internal-autofill-selected {
    background-color: #1f1f1f !important;
}

.auth-form input[type="text"]:focus,
.auth-form input[type="password"]:focus {
    outline: none;
    border-color: #fab23d;
    background: #1f1f1f;
    box-shadow: 0 0 0 3px rgba(250, 178, 61, 0.1);
}

.auth-form input[type="text"]::placeholder,
.auth-form input[type="password"]::placeholder {
    color: #888;
}

/* Remember me checkbox */
.auth-form .woocommerce-form__label-for-checkbox {
    display: flex;
    align-items: center;
    color: #ffffff;
    font-size: 14px;
    margin-bottom: 20px;
}

.auth-form .woocommerce-form__input-checkbox {
    width: auto;
    margin-right: 8px;
    accent-color: #fab23d;
}

/* Login button with gradient */
.auth-form .submit-group {
    background: linear-gradient(90deg, #fab23d, #ffe1af 50%, #fab23d);
    border: none;
    border-radius: 25px;
    color: #3a3a3a;
    font-size: 16px;
    font-weight: 700;
    padding: 15px 40px;
    width: 100%;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-align: center;
    display: flex;
    justify-content: center;
}

.auth-form .woocommerce-form-login__submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(250, 178, 61, 0.3);
}

/* Lost password link */
.auth-form .woocommerce-LostPassword {
    text-align: center;
    margin-top: 20px;
}

.auth-form .woocommerce-LostPassword a {
    color: #fab23d;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.auth-form .woocommerce-LostPassword a:hover {
    color: #ffe1af;
    text-decoration: underline;
}

/* Hide screen reader text */
.auth-form .screen-reader-text {
    display: none;
}

/* Error messages styling */
.auth-form .woocommerce-error,
.auth-form .woocommerce-message {
    background: rgba(250, 178, 61, 0.1);
    border: 1px solid #fab23d;
    border-radius: 8px;
    color: #fab23d;
    padding: 10px 15px;
    margin-bottom: 20px;
}

.password-group {
    gap: 10px;
}

.password-group .woocommerce-form-row {
    flex: 1;
}

.auth-form .welcome-message {
    color: #fff;
    margin-bottom: 20px;
}

.auth-form .welcome-message span:nth-of-type(2) {
    -webkit-text-fill-color: transparent;
    background: linear-gradient(90deg, #fab23d, #ffe1af 50%, #fab23d);
    -webkit-background-clip: text;
    paint-order: stroke fill;
}

.auth-form .woocommerce-button {
    display: flex;
    gap: 10px;
    background: unset !important;
    border: none;
    line-height: 1.3em;
}

.submit-group {
    position: relative;
    z-index: 2;
    overflow: hidden;
}

.submit-group button span:nth-of-type(1) {
    font-size: 20px;
    color: #000;
    display: block;
}

.submit-group button span:nth-of-type(2) {
    font-size: 12px;
    color: #000;
    font-weight: 400;
    display: block;
}

.submit-group button img {
    animation: Spinner 10s linear infinite;
    flex-shrink: 0;
}

.submit-group:after {
    content: "";
    position: absolute;
    right: 0;
    top: 0;
    z-index: -1;
    background: #fab23d;
    height: 100%;
    pointer-events: none;
    transition: all .4s ease;
    width: 0;
    border-radius: 25px;
}

.submit-group:hover:after {
    left: 0;
    width: 100%;
}

.auth-form .rememberme-group {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.auth-form .rememberme-group label {
    margin-bottom: 0;
}

.auth-form .rememberme-group input {
    margin-bottom: 0;
}

.auth-form .woocommerce-LostPassword {
    margin: 0;
}

.auth-form .woocommerce-privacy-policy-text {
    display: none;
}

.col-right .icon-box-img img {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.col-right .icon-box-text .text p {
    text-transform: uppercase;
}

.col-right .icon-box-text .text p span {
    display: block;
}

.col-right .txt-right-logo {
    -webkit-text-fill-color: transparent;
    background: linear-gradient(90deg, #fab23d, #ffe1af 50%, #fab23d);
    -webkit-background-clip: text;
    paint-order: stroke fill;
    font-size: 22px;
    line-height: 1.3em;
}

.col-right>.col-inner {
    padding: 0;
    background: linear-gradient(#343434 0 0) padding-box, linear-gradient(90deg, #fab23d, #ffe1af 50%, #fab23d) border-box;
    border: .1rem solid transparent;
    border-radius: .8rem;
    box-shadow: 0 24px 48px -12px rgba(16, 24, 40, .18);
    overflow: hidden;
}

.col-right>.is-sticky-column {
    padding: 0;
    background: linear-gradient(#343434 0 0) padding-box, linear-gradient(90deg, #fab23d, #ffe1af 50%, #fab23d) border-box;
    border: .1rem solid transparent;
    border-radius: .8rem;
    box-shadow: 0 24px 48px -12px rgba(16, 24, 40, .18);
    overflow: hidden;
}

.col-right .mb-0 .small-10,
.col-logo {
    padding-bottom: 0;
}

.txt-right-logo p {
    margin-bottom: 0;
}

.row-logo {
    background-color: #000;
    padding: 10px 20px 10px 20px !important;
}

.row-icon-box {
    margin-top: 20px;
}
 .submit-group button:hover {
    box-shadow: unset;
 }
@keyframes Spinner {
    0% {
        transform: rotate(0)
    }

    to {
        transform: rotate(1turn)
    }
}

@media only screen and (max-width: 48em) {

    /*************** ADD MOBILE ONLY CSS HERE  ***************/
    .auth-form input[type="text"],
    .auth-form input[type="password"],
    .auth-form input[type="email"] {
        padding: 20px;
        font-size: 14px;
    }

    .col-right .txt-right-logo {
        font-size: 12px;
    }

    .logo-landing img {
        width: 100%;
        height: auto;
    }

    .col-logo {
        padding: 0;
    }

    .icon-box-center .icon-box-text p {
        font-size: 14px;
        line-height: 1.3em;
        margin-top: 10px;
    }

    .row-icon-box {
        margin-bottom: 10px;
    }

    .row-icon-box .col {
        padding: 0;
    }

    .col-right .icon-box-img img {
        width: 30px;
        height: 30px;
    }



    .regi-form-tab .item {
        font-size: 14px;
    }

    .auth-form .welcome-message {
        font-size: 14px;
    }

    .col-right>.col-inner {
        padding: 0;
    }

    .col-right .icon-box-text .text p span {
        display: inline-block;
    }
    .auth-form .submit-group {
        padding: 5px 0;
    }
    .auth-form .woocommerce-form-login__submit {
        font-size: 12px !important;
    }
    .submit-group button span:nth-of-type(1) {
        font-size: 16px;
        line-height: 1.3em;
    }
    .submit-group button span:nth-of-type(2) {
        font-size: 10px;
        line-height: 1.3em;
    }
    .submit-group button img {
        width: 40px;
    }
    .regi-form-main .inner-padding {
        padding: 10px;
    }
    .col-right p {
        font-size: 14px;
    }
    .section-title-main {
        font-size: 25px !important;
    }
    .tutor-course-shortcode-wrapper .tutor-course-topic-title, .toggle-text {
        font-size: 14px;
    }
    .tutor-course-shortcode-wrapper .tutor-course-wrap {
        padding: 0 10px;
    }
}