/* ==========================================
   FAMILYTREEASSIST
   LIVE CHAT SECTION
========================================== */

.live-chat-section {
    width: 100%;
    padding: 80px 20px;
    background: linear-gradient(
        135deg,
        #f1f5ff 0%,
        #ffffff 50%,
        #eef6ff 100%
    );
}

.live-chat-container {
    width: 100%;
    max-width: 1150px;
    margin: 0 auto;
}

.live-chat-card {
    display: flex;
    align-items: center;
    gap: 30px;

    padding: 40px;

    background: #ffffff;

    border: 1px solid #e2e8f0;

    border-radius: 24px;

    box-shadow:
        0 15px 45px rgba(15, 23, 42, 0.08);

    position: relative;
    overflow: hidden;
}


/* Decorative element */

.live-chat-card::after {
    content: "";

    position: absolute;

    width: 180px;
    height: 180px;

    right: -70px;
    top: -80px;

    border-radius: 50%;

    background: rgba(37, 99, 235, 0.06);

    pointer-events: none;
}


/* ==========================================
   CHAT ICON
========================================== */

.live-chat-icon {
    width: 76px;
    height: 76px;

    flex: 0 0 76px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #2563eb;

    color: #ffffff;

    border-radius: 20px;

    font-size: 34px;

    box-shadow:
        0 10px 25px rgba(37, 99, 235, 0.25);
}


/* ==========================================
   CONTENT
========================================== */

.live-chat-content {
    flex: 1;
    min-width: 0;
}

.live-chat-label {
    display: inline-block;

    margin-bottom: 8px;

    color: #2563eb;

    font-size: 13px;
    font-weight: 700;

    letter-spacing: 1.2px;
}

.live-chat-content h2 {
    margin: 0 0 10px;

    color: #0f172a;

    font-size: 30px;
    line-height: 1.25;

    font-weight: 700;
}

.live-chat-content p {
    max-width: 650px;

    margin: 0;

    color: #64748b;

    font-size: 16px;

    line-height: 1.7;
}


/* ==========================================
   FEATURES
========================================== */

.live-chat-features {
    display: flex;
    flex-wrap: wrap;

    gap: 18px;

    margin-top: 18px;
}

.live-chat-features span {
    display: inline-flex;
    align-items: center;

    gap: 7px;

    color: #475569;

    font-size: 14px;
    font-weight: 500;
}

.live-chat-features i {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    width: 20px;
    height: 20px;

    border-radius: 50%;

    background: #dcfce7;

    color: #16a34a;

    font-size: 12px;

    font-style: normal;

    font-weight: 700;
}


/* ==========================================
   ACTION
========================================== */

.live-chat-action {
    flex: 0 0 auto;

    display: flex;
    flex-direction: column;

    align-items: center;

    gap: 9px;

    position: relative;
    z-index: 2;
}

.live-chat-button {
    min-height: 52px;

    padding: 14px 24px;

    border: none;

    border-radius: 12px;

    background: #2563eb;

    color: #ffffff;

    font-size: 16px;

    font-weight: 600;

    cursor: pointer;

    display: inline-flex;

    align-items: center;
    justify-content: center;

    gap: 9px;

    transition:
        background 0.2s ease,
        transform 0.2s ease,
        box-shadow 0.2s ease;

    box-shadow:
        0 8px 20px rgba(37, 99, 235, 0.22);
}

.live-chat-button:hover {
    background: #1d4ed8;

    transform: translateY(-2px);

    box-shadow:
        0 12px 25px rgba(37, 99, 235, 0.28);
}

.live-chat-button:active {
    transform: translateY(0);
}

.live-chat-button:focus-visible {
    outline: 3px solid rgba(37, 99, 235, 0.35);

    outline-offset: 3px;
}

.chat-button-icon {
    font-size: 18px;
}

.live-chat-action small {
    color: #64748b;

    font-size: 12px;

    text-align: center;
}


/* ==========================================
   TABLET
========================================== */

@media (max-width: 900px) {

    .live-chat-card {
        gap: 22px;

        padding: 30px;
    }

    .live-chat-content h2 {
        font-size: 25px;
    }

    .live-chat-features {
        gap: 10px 15px;
    }

}


/* ==========================================
   MOBILE
========================================== */

@media (max-width: 700px) {

    .live-chat-section {
        padding: 55px 16px;
    }

    .live-chat-card {

        flex-direction: column;

        align-items: center;

        text-align: center;

        padding: 30px 22px;

        border-radius: 20px;
    }

    .live-chat-icon {
        width: 68px;
        height: 68px;

        flex-basis: 68px;

        border-radius: 18px;

        font-size: 30px;
    }

    .live-chat-content {
        width: 100%;
    }

    .live-chat-content h2 {
        font-size: 24px;
    }

    .live-chat-content p {
        font-size: 15px;
    }

    .live-chat-features {
        justify-content: center;
    }

    .live-chat-action {
        width: 100%;
    }

    .live-chat-button {
        width: 100%;

        min-height: 54px;
    }

}


/* ==========================================
   SMALL MOBILE
========================================== */

@media (max-width: 400px) {

    .live-chat-section {
        padding: 45px 12px;
    }

    .live-chat-card {
        padding: 25px 18px;
    }

    .live-chat-content h2 {
        font-size: 22px;
    }

    .live-chat-features {
        flex-direction: column;
        align-items: center;

        gap: 8px;
    }

}