/* sty-chat.css - WhatsApp Simulation Styles (Pixel-perfect) */

/* Override the white #content background for this page */
#content:has(.chat-section) {
    background-color: var(--black, #231F20);
    padding-top: 130px;
    /* Account for fixed header height */
}

/* ── Page Layout ── */
.chat-section {
    background-color: var(--black, #231F20);
    padding-top: 20px;
}

@media (max-width: 768px) {
    .chat-section {
        background-image: url("/images/phone-wallpaper.png");
        background-size: 600px auto;
    }
}

/* ── Chat Simulator Container (The Phone Box) ── */
.chat-simulator {
    max-width: 600px;
    margin: 0 auto;
    background-color: var(--black, #231F20);
    box-sizing: border-box;
    padding: 140px 50px;
    min-height: 1300px;
    background-image: url("/images/phone-whatsapp.png");
    background-size: 100% auto;
    background-repeat: no-repeat;
}

@media (max-width: 768px) {
    .chat-simulator {
        padding: 30px;
        background: none;
        min-height: auto;
    }
}

/* ── Chat Bubbles (Steps) ── */
.chat-simulator .step {
    width: 100%;
    clear: both;
}

.chat-simulator .step.animate-in {
    animation: fadeInUp 0.5s ease-out forwards;
}

.chat-simulator .step .step-inner {
    max-width: 70%;
    display: inline-block;
    width: auto;
    clear: both;
    background-color: #fff;
    border-radius: 20px 20px 20px 0;
    box-sizing: border-box;
    padding: 20px;
    margin-bottom: 30px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

@media (max-width: 768px) {
    .chat-simulator .step .step-inner {
        max-width: 95%;
    }

    .chat-simulator .step .step-inner p,
    .chat-simulator .step .step-inner ul,
    .chat-simulator .step .step-inner li {
        font-size: .875rem;
    }
}

/* User Message Bubble */
.chat-simulator .step.step-response .step-inner {
    border-radius: 20px 20px 0 20px;
    margin-left: 30%;
    background-color: #dcf8c6;
    float: right;
}

/* ── Option Buttons ── */
.chat-simulator ul.chat-options {
    list-style: none !important;
    margin: 0 !important;
    padding: 12px 0;
}

.chat-simulator ul.chat-options li {
    padding: 15px;
    display: block;
    cursor: pointer;
    background-color: #25d366;
    border-radius: 10px;
    margin-bottom: 5px;
    color: #fff;
    font-weight: 600;
    font-size: 14px;
    transition: background-color 0.15s, transform 0.1s;
}

.chat-simulator ul.chat-options li:hover {
    background-color: #1ebe5d;
    transform: translateY(-1px);
}

.chat-simulator ul.chat-options li:last-of-type {
    margin-bottom: 0;
}

.chat-simulator ul.chat-options li.disabled {
    pointer-events: none;
    opacity: 0.6;
}

.chat-simulator ul.chat-options li.selected {
    opacity: 1;
    background-color: #1a9246;
}

.chat-simulator h2 {
    font-size: 24px;
    color: var(--black, #231F20);
    margin-top: 0;
    margin-bottom: 12px;
}

.chat-simulator p {
    color: #4a4a4a;
    line-height: 1.5;
    margin-bottom: 16px;
    font-size: 15px;
    margin-top: 0;
}

.chat-simulator p:last-child {
    margin-bottom: 0;
}

.chat-cta-container .button-primary,
.chat-simulator p a.button-primary {
    display: inline-block;
    background-color: var(--orange, #FF4E00);
    color: #fff;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 14px;
    padding: 12px 24px;
    border-radius: 30px;
    text-decoration: none;
    transition: transform 0.2s, background-color 0.2s;
    margin-top: 10px;
}

.chat-simulator p a.button-primary:hover {
    transform: translateY(-2px);
    background-color: #fa4100;
}

.chat-footer-text {
    font-size: 13px !important;
    color: #888;
    margin-top: 12px !important;
    text-align: center;
}

/* ── Animations ── */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ── Minimal Site Header ── */
.simple-header {
    background-color: var(--background, #fff);
    padding: 16px 0;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    position: relative;
    z-index: 50;
}

.simple-header .grid-container {
    padding: 0 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.simple-header .flex-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-logo img {
    height: 44px;
    width: auto;
    display: block;
}

.header-hamburger {
    display: flex;
    align-items: center;
    justify-content: center;
}

.header-hamburger svg {
    color: var(--text-color, #333);
    cursor: pointer;
    width: 28px;
    height: 28px;
}