/*
Theme Name:   Sun
Theme URI:    http://sun.win
Description:  Child theme của Flatsome
Author:       Sun
Author URI:   http://sun.win
Template:     flatsome
Version:      1.0.0
License:      GNU General Public License v2 or later
License URI:  http://www.gnu.org/licenses/gpl-2.0.html
Text Domain:  sun
*/

/* 
 * Tất cả CSS tùy chỉnh nên được thêm vào file này hoặc thông qua Customizer
 * Để tránh mất dữ liệu khi theme được cập nhật
 */

body #main{
    background: url(./images/backgound.jpg) top center no-repeat;
    background-size: 100% auto;
    background-color: #0c0402;
    min-height: 100vh;
    font-size: 15px;
}

.sun-download-badge {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    font-family: sans-serif; 
    transition: opacity 0.3s;
    gap: 12px; /* Khoảng cách rộng hơn xíu cho đẹp */
}

.sun-download-badge:hover {
    opacity: 0.8;
}

/* Căn giữa icon upload */
.sun-download-badge__icon {
    display: flex;
    align-items: center;
    justify-content: center;
}

.sun-download-badge__dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    display: inline-block;
    margin-left: 2px;
}

.sun-show-android,
.sun-show-ios,
.sun-hide-android,
.sun-hide-ios {
    display: block;
}

@media (max-width: 849px) {
    .sun-show-android,
    .sun-show-ios {
        display: none;
    }

    .sun-device-android .sun-show-android,
    .sun-device-ios .sun-show-ios {
        display: block;
    }

    .sun-hide-android,
    .sun-hide-ios {
        display: block;
    }

    .sun-device-android .sun-hide-android,
    .sun-device-ios .sun-hide-ios {
        display: none !important;
    }

.sun-order-1 { order: 1; }
.sun-order-2 { order: 2; }
.sun-order-3 { order: 3; }
.sun-order-4 { order: 4; }
.sun-order-5 { order: 5; }

@media (max-width: 849px) {
    .sun-order-mb-1 { order: 1; }
    .sun-order-mb-2 { order: 2; }
    .sun-order-mb-3 { order: 3; }
    .sun-order-mb-4 { order: 4; }
    .sun-order-mb-5 { order: 5; }
}
}

.sun-phone-slide {
    position: relative;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    --sun-phone-screen-top: 12%;
    --sun-phone-screen-left: 5%;
    --sun-phone-screen-width: 90%;
    --sun-phone-screen-height: 76%;
    --sun-phone-gap: 10px;
}

.sun-phone-slide__frame img {
    width: 100%;
    height: auto;
    display: block;
    pointer-events: none;
}

.sun-phone-slide__screen {
    position: absolute;
    top: var(--sun-phone-screen-top);
    left: var(--sun-phone-screen-left);
    width: var(--sun-phone-screen-width);
    height: var(--sun-phone-screen-height);
    overflow: hidden;
    background: #000;
    z-index: 2;
}

.sun-phone-slide__track {
    display: flex;
    gap: var(--sun-phone-gap);
    height: 100%;
    will-change: transform;
}

.sun-phone-slide__item {
    height: 100%;
    flex-shrink: 0;
}

.sun-phone-slide__item img {
    height: 100%;
    width: auto;
    object-fit: contain;
    display: block;
    border-radius: 8px;
}

.sun-phone-slide__placeholder,
.sun-phone-slide__frame-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    width: 100%;
    height: 100%;
    padding: 1rem;
    color: #fff;
    background: rgba(0, 0, 0, 0.6);
    border-radius: 8px;
    font-size: 0.9rem;
}

.sun-phone-slide__frame-placeholder {
    border: 2px dashed rgba(255,255,255,0.4);
    color: #ddd;
    background: transparent;
    padding: 2rem;
    border-radius: 12px;
}

.sun-separator {
    --sun-separator-color: #dcc095;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 100%;
    gap: 25px;
    opacity: 0.9;
    margin: 1.5rem auto;
}

.sun-separator__line {
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, var(--sun-separator-color) 100%);
}

.sun-separator__line--right {
    background: linear-gradient(90deg, var(--sun-separator-color) 0%, transparent 100%);
}

.sun-separator__text {
    color: var(--sun-separator-color);
    font-size: 20px;
    font-weight: 500;
    white-space: nowrap;
    line-height: 1;
}

.sun-register-form {
    --sun-register-form-bg: url(./html/images/new/bg-formf8f5.png?v=1.16);
    --sun-input-bg: url(./html/images/mobile/bg-inputf8f5.png?v=1.16);
    --sun-input-bg-hover: url(./html/images/mobile/bg-input-activef8f5.png?v=1.16);
    --sun-icon-user: url(./html/images/mobile/icon-userf8f5.svg?v=1.16);
    --sun-icon-lock: url(./html/images/mobile/icon-lockf8f5.svg?v=1.16);
    --sun-icon-eye: url(./html/images/mobile/icon-eyef8f5.svg?v=1.16);
    background: var(--sun-register-form-bg) top center no-repeat;
    background-size: 100% 100%;
    padding: 9% 0 10%;
    position: relative;
    width: 100%;
}

.sun-register-form form {
    width: 85%;
    margin: 0 auto;
}

.sun-register-form .form-group {
    margin-bottom: 0.9rem;
    position: relative;
}

.sun-register-form .form_input {
    background: transparent;
    border: none;
    color: #ffcc7e;
    flex: 1;
    font-size: 13px;
    height: 46px;
    padding: 0 40px;
    text-align: left;
    width: 100%;
    outline: none;
}

.sun-register-form .instyle {
    background: var(--sun-input-bg) top center no-repeat;
    background-size: 100% 100%;
    overflow: hidden;
    padding: 1px;
}

.sun-register-form .instyle:hover {
    background-image: var(--sun-input-bg-hover);
}

.sun-register-form .icon_field {
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    display: inline-block;
    height: 46px;
    left: 12px;
    position: absolute;
    top: 0;
    width: 17px;
}

.sun-register-form .icon_user {
    background-image: var(--sun-icon-user);
}

.sun-register-form .icon_lock {
    background-image: var(--sun-icon-lock);
}

.sun-register-form .icon_eye {
    background-image: var(--sun-icon-eye);
    left: auto;
    right: 17px;
}

.sun-register-form .btnsubmit {
    padding-top: 4%;
}

.sun-register-form .btnsubmit button {
    background: transparent !important;
    border: none !important;
    display: block;
    margin: 0 auto;
    padding: 0;
    width: 100%;
    outline: 0 !important;
    box-shadow: none !important;
    cursor: pointer;
}

.sun-register-form .btnsubmit button img {
    width: 100%;
}

/* Override Flatsome form defaults inside component */
.sun-register-form input[type="text"],
.sun-register-form input[type="password"],
.sun-register-form .form_input {
    background-color: transparent !important;
    border: none !important;
    box-shadow: none !important;
    height: 46px;
    padding: 0 40px;
    margin-bottom: 0;
}

.sun-register-form input[type="text"]:focus,
.sun-register-form input[type="password"]:focus {
    background-color: transparent;
    box-shadow: none;
    color: #ffcc7e;
}

.sun-register-form .btnsubmit button {
    margin-bottom: 0 !important;
}

@media (min-height: 870px) {
    .sun-register-form {
        padding-top: 9.6%;
    }

    .sun-register-form .form-group {
        margin-bottom: 1.2rem;
    }

    .sun-register-form .form_input,
    .sun-register-form .icon_field {
        height: 60px;
    }

    .sun-register-form .form_input {
        font-size: 18px;
        padding: 0 50px;
    }

    .sun-register-form .icon_field {
        width: 25px;
    }

    .sun-register-form .btnsubmit {
        padding-top: 3%;
    }
}

@media (max-height: 800px) {
    .sun-register-form {
        padding: 7% 0;
    }

    .sun-register-form .form_input,
    .sun-register-form .icon_field {
        height: 40px;
    }

    .sun-register-form .btnsubmit {
        padding-top: 2%;
    }
}

@media screen and (max-height: 520px) and (orientation: landscape) {
    .sun-register-form .form_input,
    .sun-register-form .icon_field {
        height: 36px;
    }

    .sun-register-form .form_input {
        font-size: 12px;
    }
}

@media screen and (max-height: 340px) and (max-width: 1100px) and (orientation: landscape) {
    .sun-register-form .form_input,
    .sun-register-form .icon_field {
        height: 30px;
    }

    .sun-register-form .form_input {
        font-size: 10px;
    }

    .sun-register-form .form-group {
        margin-bottom: 0.5rem;
    }
}

@media only screen and (min-device-width: 1000px) and (max-device-width: 1400px) and (orientation: landscape) {
    .sun-register-form {
        margin-top: 3%;
    }
}

.ct-text strong{
    color: #FFFFFF;
    background: linear-gradient(to bottom, #feffaa 0, #faffdb 29%, #ffbb43 80%, #fede5e 100%);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent
}
.ct-text a{
    font-weight: 600;
    color: #FFFFFF;
    background: linear-gradient(to bottom, #feffaa 0, #faffdb 29%, #ffbb43 80%, #fede5e 100%);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent
}

.ct-text a:hover{
    text-decoration: underline  !important;
    text-underline-offset: 3px  !important;
}
.ct-text h1, .ct-text h2, .ct-text h3, .ct-text h4, .ct-text h5, .ct-text h6{
    background: linear-gradient(to bottom, #feffaa 0, #faffdb 29%, #ffbb43 80%, #fede5e 100%);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
}

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

.flickity-page-dots {
    bottom: -24px;
}
.flickity-page-dots .dot{
    border: 2px solid #FFFFFF;
}

.slider-nav-light .flickity-page-dots .dot.is-selected, .slider-nav-light.slider-nav-dots-simple .flickity-page-dots .dot{
    background: #fede5e;
    border: 2px solid #fede5e;
}