/*
Theme Name: Flatsome Child
Description: This is a child theme for Flatsome Theme
Author: UX Themes
Template: flatsome
Version: 3.0
*/

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

div#masthead {
    box-shadow: 0px 1px 6px 0px rgba(0, 0, 0, 0.5);
    transition: background 0.3s, border 0.3s, border-radius 0.3s, box-shadow 0.3s;
}

.section-footer span.ux-menu-link__text {
    color: #fff;
    font-size: 15px;
}

.section-footer a.ux-menu-link__link.flex {
    margin-bottom: -8px;
}

.copyright-footer {
    color: #F68A2E;
    font-weight: 600;
}

.text-box-border {
    position: relative;
    z-index: 2;
}

.text-box-border::after {
    content: "";
    position: absolute;
    left: 10px;
    bottom: -10px;
    width: 100%;
    height: 100%;
    background: #F68A2E;
    z-index: -1;
}

.banner-home .banner-bg img {
    transform: scale(1);
    transition: none;
}

.banner-home.is-selected .banner-bg img {
    animation: bannerZoom 4s linear forwards;
    will-change: transform;
}

@keyframes bannerZoom {
    from {
        transform: scale(1);
    }

    to {
        transform: scale(1.08);
    }
}


.text-shadow-white h2 {
    text-shadow: 2px 2px 1px #FFFFFF;
}


.icon-box-count .icon-box-img {
    width: 120px !important;
    height: 120px !important;
    display: flex;
    align-items: center;
    justify-content: center;
}

.icon-box-count .icon {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 1px solid #F68A2E;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
}

.icon-box-count svg {
    width: 70px;
    height: 70px;
    fill: currentColor;
}

a.button.white.btn-vm {
    background-color: #FFFFFF;
    font-family: "Montserrat", Sans-serif;
    font-size: 13px;
    font-weight: 600;
    color: #F68A2E;
    box-shadow: 3px 3px 1px 0px #000000;
    border-radius: 2px 2px 2px 2px;
    padding: 4px 15px 4px 15px;
}

a.button.white.btn-vm span {
    color: #F68A2E;
}

.img-box-project {
    margin: 0px 0px 0px 0px;
    padding: 2% 2% 2% 2%;
    box-shadow: 0px 0px 8px 4px rgba(0, 0, 0, 0.5) inset;
}



.img-box-project .box-text h3 {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: #fff;
    justify-content: center;
}

.img-box-project .box-text h3::before {
    content: "";
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #DD2E44;
    display: inline-block;
    flex-shrink: 0;
}



.blog-home .box-blog-post .box-image {
    position: relative;
}

.blog-home .cat-label {
    position: absolute;
    top: -200px;
    left: 12px;
    z-index: 5;
    background: #F68A2E;
    color: #fff;
    padding: 4px 10px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .5px;
    border-radius: 2px;
    line-height: 1;
    opacity: 1;
}

.blog-home .post-title a {
    color: #F68A2E;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.4;
    min-height: calc(1.4em * 2);
}

.blog-home .post-title a:hover {
    color: #d96f14;
}

.blog-home .col.post-item .col-inner {
    padding: 6px;
    border-color: #FFFFFF;
    border-width: 4px;
    border-radius: 1px;
    transition: box-shadow .3s ease, transform .3s ease;
    background: #fff;
}

.blog-home .col.post-item:hover .col-inner {
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.section-grad .section-bg-overlay {
    background-image: linear-gradient(180deg,
            rgba(0, 102, 178, 0) 0%,
            #FFFFFF 100%);
}



.cf7-inline-form {
    display: flex;
    gap: 12px;
    align-items: stretch;
    width: 100%;
}

.cf7-inline-form .cf7-field {
    flex: 1;
}

.cf7-inline-form input[type="text"],
.cf7-inline-form input[type="email"],
.cf7-inline-form input[type="tel"] {
    width: 100%;
    height: 50px;
    padding: 0 14px;
    border: 2px solid #d96f14;
    border-radius: 2px;
    font-size: 15px;
    outline: none;
}

.cf7-inline-form input::placeholder {
    color: #999;
}

.cf7-inline-form input:focus {
    border-color: #d96f14;
    box-shadow: 0 0 0 2px rgba(217, 111, 20, 0.15);
}

.cf7-inline-form .cf7-submit {
    flex: 0 0 160px;
}

.cf7-inline-form input[type="submit"] {
    width: 100%;
    height: 50px;
    background-color: #d96f14;
    color: #fff;
    border: 2px solid #d96f14;
    border-radius: 2px;
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    transition: all 0.25s ease;
}

.cf7-inline-form input[type="submit"]:hover {
    background-color: #b85c0f;
    border-color: #b85c0f;
}


.text-shadow-den em {
    text-shadow: 4px 4px 1px rgba(0, 0, 0, 0.73);
}

.text-shadow-den h2 {
    text-shadow: 4px 4px 1px rgba(0, 0, 0, 0.73);

}

.img-quote img {
    filter: brightness(0) saturate(100%) invert(86%) sepia(54%) saturate(735%) hue-rotate(338deg) brightness(101%) contrast(97%);
}


.text-year h4.uppercase {
    border-style: solid;
    border-width: 0px 0px 1px 0px;
    border-color: #F68A2E;
    width: 400px;
    padding-bottom: 10px;
}


.nav-dropdown-default {
    padding: 0px;
}

.nav-dropdown-has-border .nav-dropdown {
    border: unset;
}

.nav-dropdown-has-arrow li.has-dropdown:after,
.nav-dropdown-has-arrow li.has-dropdown:before {
    display: none;
}

ul.sub-menu.nav-dropdown.nav-dropdown-default {
    top: 58px;
}


.nav-dropdown-default .nav-column li>a,
.nav-dropdown.nav-dropdown-default>li>a {
    border-bottom: unset;
    padding: 16px 0px;
    color: #F8BF29;
    text-transform: uppercase;
    font-weight: 600;
    font-size: 14px;
}



.sub-menu.nav-dropdown li:hover {
    background-color: #F68A2E;
}

.sub-menu.nav-dropdown li:hover>a {
    color: #fff;
}

.banner-grad .overlay {
    background-image: linear-gradient(180deg,
            rgba(0, 102, 178, 0) 0%,
            #FDFFFF 100%);
}

.icon-box-ung-dung .icon-box-img svg {
    fill: #fff !important;
    height: 100%;
    transition: all .3s;
    width: 100%;
}

.icon-box-ung-dung .icon-box-img svg path {
    fill: #fff !important;
}

.text-thi-cong em {
    padding: 5px 0px;
    border-style: solid;
    border-width: 2px 0px 2px 0px;
    border-color: #F48120;
}


.tab-news ul.nav.nav-pills {
    display: flex;
    justify-content: center;
    gap: 15px;
}


.tab-news .nav-box>li.active>a,
.tab-news .nav-pills>li.active>a {
    background-color: var(--fs-color-primary);

    opacity: 1;
    border-radius: 4px;
}

.tab-news .nav-box>li>a,
.tab-news .nav-pills>li>a {
    border: 1px solid #F48120;
    border-radius: 4px;
}

.tab-news .nav-box>li.active>a span,
.tab-news .nav-pills>li.active>a span {
    color: #fff !important;
}

.tab-news ul.nav.nav-pills span {
    font-size: 14px;
    color: #F48120;
}


span.widget-title span {
    color: #000;
}

h1.entry-title {
    color: #F68A2E;
}


.flickity-page-dots {
    bottom: -2px;
}

.accordion-title {
    border-top: unset;
    background: #F68A2E;
    margin-top: 16px;
}

.accordion .toggle,
.accordion-title span {
    color: #fff;
}

.accordion-title.active,
.accordion-title.active i.icon-angle-down {
    background-color: #F68A2E;
    border-color: var(--fs-color-primary);
    color: #fff;
    font-weight: 700;
}

.accordion-title.active+.accordion-inner {
    border: 1px solid #ddd;
    border-top: unset;
}


.custom-contact-form {
    max-width: 1000px;
    margin: 0 auto;
    font-family: Arial, sans-serif;
}

.custom-contact-form .form-row {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.custom-contact-form .form-group {
    flex: 1;
    min-width: 250px;
}

.custom-contact-form .full-width .form-group {
    flex: 0 0 100%;
}

.custom-contact-form label {
    display: block;
    font-size: 15px;
    font-weight: 500;
    margin-bottom: 8px;
    color: #333;
}

.custom-contact-form .required {
    color: #F68A2E;
    margin-left: 3px;
}

.custom-contact-form input[type="text"],
.custom-contact-form input[type="email"],
.custom-contact-form input[type="tel"],
.custom-contact-form textarea {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #7a7a7a;
    border-radius: 0;
    box-sizing: border-box;
    font-size: 14px;
    outline: none;
    transition: border-color 0.3s;
}

.custom-contact-form input:focus,
.custom-contact-form textarea:focus {
    border-color: #F68A2E;
}

.custom-contact-form textarea {
    height: 100px;
}

.custom-contact-form .form-submit {
    margin-top: 10px;
}

.custom-contact-form input[type="submit"] {
    background: transparent;
    color: #F68A2E;
    border: 1px solid #F68A2E;
    padding: 2px 30px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
    text-transform: uppercase;
}

.custom-contact-form input[type="submit"]:hover {
    background: #F68A2E;
    color: #fff;
    border-color: #F68A2E;
}


.rever-project-detail {
    color: #333;
}

.nav-pills .nav-link {
    color: #666;
    border-radius: 20px;
    padding: 8px 20px;
    margin-right: 10px;
}

.nav-pills .nav-link.active {
    background-color: #e31a27;
}




.custom-share-modal {
    display: none;
    position: fixed;
    z-index: 99999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    align-items: center;
    justify-content: center;
    font-family: sans-serif;
}

.share-modal-content {
    background: #fff;
    width: 90%;
    max-width: 420px;
    border-radius: 15px;
    padding: 25px;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.share-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.share-modal-header h3 {
    margin: 0;
    font-size: 20px;
    font-weight: bold;
}

.close-modal {
    cursor: pointer;
    font-size: 28px;
    line-height: 1;
    color: #999;
}

.share-project-preview {
    display: flex;
    align-items: center;
    gap: 15px;
    background: #f8f9fa;
    padding: 12px;
    border-radius: 10px;
    margin-bottom: 20px;
    border: 1px solid #eee;
}

.share-project-preview img {
    width: 70px;
    height: 50px;
    object-fit: cover;
    border-radius: 6px;
}

.share-options-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.share-option-item {
    border: 1px solid #eee;
    border-radius: 10px;
    padding: 15px 10px;
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    transition: 0.2s;
    text-decoration: none;
    color: #333;
}

.share-option-item:hover {
    background: #f0f2f5;
}

.s-icon {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    flex-shrink: 0;
}

.s-link {
    background: #e0e0e0;
    color: #444;
}

.s-zalo {
    background: #0068ff;
    color: #fff;
    font-weight: bold;
}

.s-fb {
    background: #1877f2;
    color: #fff;
}

.s-msg {
    background: #0084ff;
    color: #fff;
}

.btn-ghost {
    background: none;
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    padding: 8px 12px;
    font-size: 15px;
}




/* ===== REVER FORM ===== */
.rever-form {
    max-width: 100%;
    font-family: system-ui, -apple-system, sans-serif;
}

.rever-form .form-group {
    margin-bottom: 16px;
}

.rever-form input,
.rever-form textarea {
    width: 100%;
    padding: 14px 16px;
    font-size: 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    outline: none;
    transition: border-color .2s ease;
}

.rever-form input:focus,
.rever-form textarea:focus {
    border-color: #F5821F;
}

.rever-form textarea {
    min-height: 110px;
    resize: none;
}

/* TAG BUTTONS */
.form-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: -22px 0 20px;
}

.form-tags span {
    padding: 8px 14px;
    background: #f5f5f5;
    border-radius: 20px;
    font-size: 14px;
    cursor: pointer;
    transition: all .2s ease;
    user-select: none;

    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    word-break: keep-all;
    margin-top: 6px;
}

.form-tags span:hover {
    background: #eee;
}

.form-tags span.active {
    background: #fdeaea;
    color: #F5821F;
    font-weight: 500;
}

/* SUBMIT */
.form-submit input[type="submit"] {
    width: 100%;
    background: #F5821F;
    color: #fff;
    padding: 6px 14px;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    cursor: pointer;
}

.form-submit input[type="submit"]:hover {
    opacity: .9;
}

/* CF7 ERROR */
.wpcf7-not-valid {
    border-color: #c41d23;
}

.wpcf7-not-valid-tip {
    font-size: 13px;
    color: #c41d23;
}

.custom-share-modal,
.re-modal-overlay {
    display: none;
    position: fixed;
    z-index: 99999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    align-items: center;
    justify-content: center;
}


.loan-calculator-area .row.align-middle.has-block.tooltipstered {
    display: none !important;
}

.row-social-fixed {
    position: fixed;
    width: 40px;
    height: auto;
    bottom: 61px;
    right: 20px;
    z-index: 99;
    margin: 0 !important;
    text-align: right;
}
.row-social-fixed .col {
    padding: 0 !important;
}
.row-social-fixed .img a {
    display: block;
    width: 40px;
    height: 40px;
    padding: 0;
    align-items: center;
    position: relative;
    display: flex;
    justify-content: center;
    background: var(--primary-color);
    border-radius: 50%;
    margin: 0 0 20px;
}
.row-social-fixed .img a:before {
    content: "";
    width: 50px;
    height: 50px;
    top: -5px;
    right: -5px;
    position: absolute;
    -webkit-transition: all 0.2s
    ease-in-out;
    -moz-transition: all 0.2s ease-in-out;
    -ms-transition: all 0.2s ease-in-out;
    -o-transition: all 0.2s ease-in-out;
    transition: all 0.2s
    ease-in-out;
    -webkit-border-radius: 100%;
    -moz-border-radius: 100%;
    border-radius: 100%;
    border: 2px solid transparent;
    -webkit-transition: all .5s;
    -moz-transition: all .5s;
    -o-transition: all .5s;
    transition: all .5s;
    animation-duration: 1s;
    animation-fill-mode: both;
    animation-iteration-count: infinite;
    animation-name: imgpulse;
    background-color: rgba(7, 41, 103, 0.35);
    opacity: .4;
}
.row-social-fixed .img a:after {
    content: "";
    width: 50px;
    height: 50px;
    top: -5px;
    right: -5px;
    position: absolute;
    background-color: transparent;
    -webkit-border-radius: 100%;
    -moz-border-radius: 100%;
    border-radius: 100%;
    border: 2px solid rgba(7, 41, 103, 0.8);
    opacity: .1;
    border-color: var(--primary-color);
    -webkit-transition: all 0.2s
    ease-in-out;
    -moz-transition: all 0.2s ease-in-out;
    -ms-transition: all 0.2s ease-in-out;
    -o-transition: all 0.2s ease-in-out;
    transition: all 0.2s
    ease-in-out;
    -webkit-border-radius: 100%;
    -moz-border-radius: 100%;
    border-radius: 100%;
    -webkit-transition: all .5s;
    -moz-transition: all .5s;
    -o-transition: all .5s;
    transition: all .5s;
    animation-duration: 1s;
    animation-fill-mode: both;
    animation-iteration-count: infinite;
    animation-name: imgzoomIn;
    opacity: .5;
}
.row-social-fixed .img img {
    padding: 0;
    width: 23px;
    height: auto;
    filter: brightness(0) invert(1);
    -webkit-filter: brightness(0) invert(1);
    position: relative;
    z-index: 2;
}
@keyframes imgzoomIn {
    0% {
        opacity: 0;
        -webkit-transform: scale3d(.3, .3, .3);
        transform: scale3d(.3, .3, .3);
    }

    50% {
        opacity: 1;
    }
}
@keyframes imgpulse {
    0% {
        -webkit-transform: scale(1);
        -ms-transform: scale(1);
        transform: scale(1);
    }
    50% {
        -webkit-transform: scale(1.1);
        -ms-transform: scale(1.1);
        transform: scale(1.1);
    }
    100% {
        -webkit-transform: scale(1);
        -ms-transform: scale(1);
        transform: scale(1);
    }
}

.row-social-fixed .img.btn-open-socials a {
    transition: 0.5s;
    margin-left: auto;
    margin-right: auto;
}
.row-social-fixed.active .img.btn-open-socials a {
    width: 32px;
    height: 32px;
}
.row-social-fixed .img.btn-open-socials .img-inner:before {
    content: "";
    position: absolute;
    width: 20px;
    height: 20px;
    top: calc(50% - 10px);
    left: calc(50% - 10px);
    background-image: url("/wp-content/uploads/2026/02/close-icon.svg");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 100%;
    object-fit: contain;
    filter: brightness(0) invert(1);
    -webkit-filter: brightness(0) invert(1);
    opacity: 0;
    visibility: hidden;
    z-index: 9;
    transition: 0.5s;
}
.row-social-fixed.active .img.btn-open-socials .img-inner:before {
    opacity: 1;
    visibility: visible;
}
.row-social-fixed.active .img.btn-open-socials .img-inner {
    overflow: visible;
}
.row-social-fixed.active .img.btn-open-socials a:before,
.row-social-fixed.active .img.btn-open-socials a:after,
.row-social-fixed.active .img.btn-open-socials a img {
    display: none;
}
.row-social-fixed .row-socials {
    height: 1px;
    opacity: 0;
    visibility: hidden;
    transition: 0.5s;
}
.row-social-fixed.active .row-socials {
    height: 180px;opacity: 1;
    visibility: visible;
}

.product-detail {
    padding-top: 60px;
}
.post-sidebar .recent-blog-posts a {
    font-size: 0.9em;
}
.post-sidebar .recent-blog-posts .badge {
    height: 5em;
    width: 5em;
}
.post-sidebar .is-divider {
    display: none;
}
.post-sidebar .widget-title {
    display: block;
    padding: 10px;
    color: #ffffff !important;
    background: var(--primary-color);
    text-transform: uppercase;
    font-weight: 400;
    border-top-right-radius: 3px;
    border-top-left-radius: 3px;
}
.post-sidebar .widget-title span {
    color: #ffffff !important;
}
.site-projects .projects-item .image-cover {
    padding-top: 56.52%;
}
.site-projects .projects-item .box-text {
    padding: 10px 10px 0;
    text-align: center;
}
.site-projects .projects-item .projects-title {
    margin: 0;
}
.site-projects .projects-item .projects-title a {
    color: var(--primary-color);
    margin: 0;
}
.product-detail .product-top-header h1 {
    margin: 30px 0;
}
.single-gio_hang_thu_cap #main {
    background: #f1f1f1;
}
.product-info-wrap {
    padding: 15px 15px 0;
    background: #ffffff;
    margin-top: 20px;
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.1);
}
.product-info-wrap .col,
.product-info-wrap .info-inner {
    padding-bottom: 15px;
}
.product-info-wrap .info-item {
    color: var(--fs-color-primary);
}
.product-info-wrap .info-item strong {
    color: var(--fs-color-base);
}
.product-gallery {
    position: relative;
}
.product-gallery .gallery-item,
.product-gallery .gallery-item img {
    padding: 0;
}
.product-gallery .slider-for {
    max-height: 620px;
    overflow: hidden;
}
.product-gallery .slider-nav {
    max-height: 120px;
    overflow: hidden;
    margin-top: 10px;
}
.product-gallery .slider-nav .slick-list {
    margin: 0 -5px;
}
.product-gallery .slider-nav .slick-list .gallery-item {
    padding: 0 5px;
}
.product-gallery .gallery-item .image-cover {
    padding-top: 56.52%;
}
.product-gallery .slider-nav .gallery-item .image-cover {
    padding-top: 72%;
}
.product-gallery .slick-next {
    right: 25px;
    z-index: 9;
}
.product-gallery .slick-prev {
    left: 25px;
    z-index: 9;
}
.product-gallery .slick-prev:before,
.product-gallery .slick-next:before {
    font-size: 36px;
}

.product-related-wrap {
    margin-top: 30px;
}
.product-item .box-blog-product {
    display: flex;
    border: 1px solid #ededed;
    padding: 10px;
    background: #ffffff;
    transition: 0.5s;
}
.product-item .box-blog-product:hover {
    box-shadow: 0 0 35px rgba(0, 0, 0, 0.1);
}
.product-item .box-blog-product .box-image {
    width: 200px;
    height: 140px;
    border: 1px solid #ededed;
}
.product-item .box-blog-product .image-cover {
    padding-top: 0;
    height: 140px;
}
.product-item .box-blog-product .box-text {
    padding: 0 0 0 15px;
}
.product-item .box-blog-product .box-text .product-title {
    margin-bottom: 10px;
}
.product-item .box-blog-product .box-text .product-title a {
    font-size: 17px;
    color: var(--fs-color-primary);
    font-weight: 500;
    display: inline-block;
    line-height: 23px;
    margin: 0;
}
.product-item .product-info-item {
    display: flex;
    align-items: center;
    margin-bottom: 5px;
}
.product-item .product-info-item .image {
    width: 25px;
    min-width: 25px;
    height: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--fs-color-primary);
    border-radius: 2px;
    margin-right: 5px;
}
.product-item .product-info-item .image img {
    max-width: 15px;
    max-height: 15px;
    object-fit: contain;
    filter: brightness(0) invert(1);
    -webkit-filter: brightness(0) invert(1);
}

#product-filter-form {
    padding: 20px 20px 0;
    background: #f1f1f1;
    margin-bottom: 45px;
}
#product-filter-form .row {
    margin-left: -10px;
    margin-right: -10px;
}
#product-filter-form .col {
    padding: 0 10px 20px 10px;
}
#product-filter-form select,
#product-filter-form button {
    width: 100%;
    margin: 0;
    outline: none;
    box-shadow: none;
}
#product-filter-form button {
    background: var(--fs-color-primary);
    color: #ffffff;
    font-weight: 400;
    text-transform: none;
}
#product-result .pagination {
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 30px;
}
#product-result .pagination .page-num {
    display: inline-block;
    background: #ffffff;
    border: 1px var(--fs-color-primary) solid;
    color: var(--fs-color-primary);
    padding: 5px 15px;
    transition: all .3s;
    border-radius: 2px;
}
#product-result .pagination .page-num:hover,
#product-result .pagination .page-num.active {
    color: #ffffff;
    background: var(--fs-color-primary);
}
.custom-breadcrumb,
.title-row,
.project-top-header,
.badge-group {
    flex-flow: row wrap;
}
.projects-list {
    padding-bottom: 30px;
}

/* Container tổng của form */
.rever-custom-form {
    max-width: 500px;
    margin: 0 auto;
}

/* Style cho các ô input */
.rever-custom-form .form-row {
    margin-bottom: 15px;
}

.rever-custom-form input[type="text"],
.rever-custom-form input[type="email"] {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #e1e1e1;
    border-radius: 8px; /* Bo góc nhẹ */
    font-size: 16px;
    color: #333;
    background: #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05); /* Đổ bóng nhẹ phía dưới */
    transition: all 0.3s ease;
    box-sizing: border-box;
	    margin-bottom: -2px;
}

.rever-custom-form input:focus {
    outline: none;
    border-color: #f68a2e;
    box-shadow: 0 2px 8px rgba(246, 138, 46, 0.2);
}

/* Placeholder màu xám nhạt */
.rever-custom-form input::placeholder {
    color: #999;
}

/* Nút bấm Đăng ký */
.rever-custom-form .wpcf7-submit {
    width: 100%;
    background-color: #f68a2e !important; /* Màu cam */
    color: #fff !important;
    font-size: 16px;
    font-weight: 700;
    padding: 15px;
    border: none;
    border-radius: 8px;
    text-transform: uppercase;
    cursor: pointer;
    transition: background 0.3s ease;
    margin-top: 5px;
}

.rever-custom-form .wpcf7-submit:hover {
    background-color: #e37920 !important;
}

/* Xử lý thông báo thành công/lỗi của CF7 */
.wpcf7-response-output {
    margin: 15px 0 0 !important;
    padding: 10px !important;
    border-radius: 8px !important;
    font-size: 14px;
}


.rever-custom-form .form-submit input[type="submit"] {
    width: 100%;
    background: #F5821F;
    color: #fff;
    padding: 6px 8px !important;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    cursor: pointer;
}

/* Container bao quanh checkbox */
.form-group-checkbox .wpcf7-list-item {
    display: inline-flex; /* Giúp checkbox và chữ nằm cùng 1 hàng */
    align-items: center;  /* Căn giữa theo chiều dọc */
    margin: 10px 20px 10px 0; /* Khoảng cách giữa các lựa chọn */
    width: calc(48% - 10px); /* Chia làm 2 cột đều nhau */
    cursor: pointer;
}

/* Tùy chỉnh riêng cho ô checkbox */
.form-group-checkbox input[type="checkbox"] {
    margin-right: 10px !important; /* Khoảng cách giữa ô vuông và chữ */
    width: 18px;
    height: 18px;
    cursor: pointer;
    order: -1; /* Đảm bảo ô vuông luôn nằm trước chữ */
}

/* Tùy chỉnh nhãn chữ đi kèm */
.form-group-checkbox .wpcf7-list-item-label {
    font-size: 15px;
    color: #333;
    font-weight: 500;
    line-height: 1.2;
}

/* Responsive cho điện thoại (chuyển về 1 cột) */
@media (max-width: 600px) {
    .form-group-checkbox .wpcf7-list-item {
        width: 100%;
        margin-right: 0;
    }
}

/* Giữ style cho các ô input text giống lúc nãy */
.rever-form .form-group {
    margin-bottom: 15px;
}

.rever-form input[type="text"],
.rever-form input[type="tel"],
.rever-form input[type="email"],
.rever-form textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-sizing: border-box;
}

.rever-form .form-submit input {
    background-color: #f68a2e;
    color: #fff;
    font-weight: bold;
    border: none;
  padding: 8px 30px;
    border-radius: 8px;
    cursor: pointer;
    width: 100%;
    text-transform: uppercase;
}
@media only screen and (max-width: 48em) {
    /*************** ADD MOBILE ONLY CSS HERE  ***************/
.modal-right {
    flex: 1;
    padding: 12px !important;
    min-width: 300px;
}
	    .rever-custom-form .form-submit input[type="submit"] {
        margin-bottom: -31px;
        font-size: 14px;
    }
	
	.re-modal-content img {
    width: 65%;
    display: flex;
    margin: 0 auto;
}
	
	.rever-form input[type="text"], .rever-form input[type="tel"], .rever-form input[type="email"], .rever-form textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-sizing: border-box;
    margin-bottom: -8px;
}
	
	.re-modal-content p {
    font-size: 11px;
}
	
	.rever-form input, .rever-form textarea {

    font-size: 13px !important;
  
}
	.re-modal-content {
    background: #fff;
    padding: 30px;
    border-radius: 12px;
    position: relative;
    width: 95%;
    max-width: 1100px;
    height: 96vh !important;
    animation: slideDown 0.3s ease;
}
	
	.re-modal-content  textarea.wpcf7-form-control.wpcf7-textarea {
    min-height: 84px;
    margin-bottom: 8px;
}
	
	.form-tags span {
    padding: 8px 14px;
    background: #f5f5f5;
    border-radius: 20px;
    font-size: 12px;
    cursor: pointer;
    transition: all .2s ease;
    user-select: none;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    word-break: keep-all;
    margin-top: 6px;
}

	.rever-form input, .rever-form textarea {
        font-size: 13px !important;
        margin-bottom: 10px;
    }
}