/* ==========================================================================
   Contact Page Styles (Liên Hệ / Contact Us)
   ========================================================================== */

/* --- Custom CSS for Contact Page & CF7 Form --- */
@import url("../../style.css");

.section-contact-main {
    background: linear-gradient(135deg, #800A0A 0%, #5C0505 50%, #3B0101 100%) !important;
}

.contact-support-box>.col-inner {
    padding: 1.25rem !important;
    background: #fff;
    border-radius: .25rem;
    border: 1px solid rgba(239, 68, 68, 0.2);
}

.contact-support-title {
    color: #ffffff;
    margin-bottom: 1.25rem;
}

.contact-support-title::after {
    content: '';
    display: block;
    width: 20px;
    height: 3px;
    background-color: rgba(248, 113, 113, 1);
    border-radius: 2px;
    margin-top: 10px;
    box-shadow: 26px 0 0 rgba(248, 113, 113, 1), 52px 0 0 rgba(248, 113, 113, 1);
}


.contact-ib-user .icon {
    padding: 12px;
    border-radius: 999px;
    border: 2px solid var(--fs-color-primary);
}

.contact-socials.row-small>.col {
    padding: 0 .25rem .5rem !important;
}

.contact-socials .icon-box-left .icon-box-img+.icon-box-text {
    padding-left: .25rem;
}

.contact-socials .icon-box {
    width: max-content;
}

.contact-whatsapp>.col-inner,
.contact-zalo>.col-inner,
.contact-wechat>.col-inner {
    padding: 8px;
    display: flex;
    background: rgba(37, 211, 102, 1);
    justify-content: center;
    align-items: center;
    border-radius: 8px;
}

.contact-zalo>.col-inner {
    background-color: rgba(0, 104, 255, 1);
}

.contact-wechat>.col-inner {
    background-color: rgba(127, 29, 29, 1);
}

.contact-map-container>.col:first-child>.col-inner {
    padding: 1.5rem;
    border-radius: 4px;
    background-color: var(--fs-color-primary);
}

.contact-info-title {
    position: relative;
    color: #ffffff;
    margin-bottom: 1.25rem;
    padding-bottom: 12px;
}

.contact-info-title::before,
.contact-info-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    height: 2px;
    border-radius: 2px;
}

.contact-info-title::before {
    left: 0;
    width: 24px;
    background-color: rgba(59, 130, 246, 1);
}

.contact-info-title::after {
    left: 32px;
    width: 12px;
    background-color: var(--fs-color-secondary, #d2232a);
}

.contact-map-container .icon-box {
    padding: 1.25rem 0 0.25rem;
}

.contact-map-container .icon {
    padding: 12px;
    background: var(--fs-color-secondary);
    border-radius: 999px;
    line-height: 1;
}

.contact-map-container .icon img {
    aspect-ratio: 1;
}

.contact-map-container .icon-box-text>* {
    line-height: 1.3;
    color: #fff;
}

.contact-map-container .col-inner .icon-box:not(:last-child) .icon-box-text>*:last-child {
    padding-bottom: 1.25rem;
    border-bottom: 1px solid rgba(26, 51, 86, 1);
}

/* Cho phép click toàn bộ cột */
.section-contact-main .contact-socials .col-clickable {
    position: relative;
    cursor: pointer;
}

.section-contact-main .contact-socials .col-clickable a::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 10;
}

.map>p {
    margin-bottom: 0 !important;
}

.map iframe {
    width: 100% !important;
}

.map,
.map>*,
.map>*>* {
    height: 100%;
}

.contact-form {
    padding: 50px 30px 32px;
    border: 1px solid rgba(229, 231, 235, 1);
    border-radius: 4px;
}

.contact-form .icon {
    padding: 10px;
    background: rgba(14, 34, 61, 1);
    border-radius: 999px;
    line-height: 1;
}

.contact-form .icon img {
    padding-top: 0;
}

/* ==========================================================================
   MIN-WIDTH (Mobile First - Ưu tiên từ thấp đến cao)
   ========================================================================== */

@media (min-width: 375px) {
    /* Mobile L */
}

@media (min-width: 430px) {
    /* Mobile XL */
}

@media (min-width: 768px) {
    /* Tablet */
}

@media (min-width: 820px) {
    /* Tablet L */
}

@media (min-width: 1024px) {
    /* Laptop / iPad Pro */
}

@media (min-width: 1280px) {
    /* Desktop */
}

@media (min-width: 1920px) {
    /* Large Desktop */
}

/* ==========================================================================
   MAX-WIDTH (Desktop First - Ưu tiên từ cao xuống thấp)
   ========================================================================== */

@media (max-width: 1920px) {
    /* Max Large Desktop */
}

@media (max-width: 1280px) {
    /* Max Desktop */
}

@media (max-width: 1024px) {
    /* Max Laptop / iPad Pro */
}

@media (max-width: 869px) {

    /* Max Tablet L */
    .contact-form {
        max-width: calc(100vw - 2rem) !important;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    /* Max Tablet */
}

@media (max-width: 430px) {
    /* Max Mobile XL */
}

@media (max-width: 375px) {
    /* Max Mobile L */
}