﻿/* =========================================
   ALERT CTA (Scoped)
   ========================================= */
.alertcta-widget, .enquiry-widget, .car-alert-widget {
    font-family: "Poppins", sans-serif;
}

    /* Floating Trigger (Right Side Half Pill) */
    .alertcta-widget .alertcta-trigger {
        position: fixed;
        right: 0;
        top: 40%;
        transform: translateY(-50%);
        background-color: #2382c9;
        color: #fff;
        border: none;
        border-radius: 50px 0 0 50px;
        padding: 10px 12px;
        display: flex;
        align-items: center;
        gap: 8px;
        cursor: pointer;
        z-index: 10000;
        font-weight: 600;
        box-shadow: 0 6px 14px rgba(0, 0, 0, 0.3);
        transition: all 0.3s ease;
    }

        .alertcta-widget .alertcta-trigger:hover {
            background-color: #1e73b8;
        }

        .alertcta-widget .alertcta-trigger img {
            width: 24px;
            height: 24px;
        }

    .alertcta-widget .alertcta-title {
        font-size: 15px;
    }

@media (max-width: 768px) {
    .alertcta-widget .alertcta-trigger {
        border-radius: 50% 0 0 50%;
        width: 50px;
        height: 50px;
        justify-content: center;
        padding: 0;
    }

    .alertcta-widget .alertcta-title {
        display: none;
    }
}

/* =========================================
   Modal Overlay + Centering
   ========================================= */
.alertcta-widget .alertcta-modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.65);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 100000;
}

    .alertcta-widget .alertcta-modal.show {
        display: flex !important;
    }

/* =========================================
   Modal Box
   ========================================= */
.alertcta-widget .alertcta-box {
    background: #ffffff;
    color: #222;
    width: 90%;
    max-width: 520px;
    padding: 2rem 1.5rem;
    border-radius: 10px;
    position: relative;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
    animation: slideUp 0.35s ease;
    box-sizing: border-box;
}

.alertcta-widget .alertcta-header {
    font-size: 1.4rem;
    font-weight: 700;
    color: #004080;
    text-align: center;
    margin-bottom: 1rem;
}

.alertcta-widget .alertcta-body {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #333;
}

    .alertcta-widget .alertcta-body a {
        color: #2382c9;
        text-decoration: underline;
    }

        .alertcta-widget .alertcta-body a:hover {
            text-decoration: none;
        }

/* Close Button */
.alertcta-widget .alertcta-close {
    position: absolute;
    right: 15px;
    top: 10px;
    font-size: 26px;
    color: #666;
    cursor: pointer;
    transition: color 0.2s;
}

    .alertcta-widget .alertcta-close:hover {
        color: #000;
    }

/* Responsive Adjustments */
@media (max-width: 480px) {
    .alertcta-widget .alertcta-box {
        width: 92%;
        padding: 1.5rem 1rem;
    }

    .alertcta-widget .alertcta-header {
        font-size: 1.2rem;
    }
}

/* =========================================
   Animations
   ========================================= */
@keyframes slideUp {
    from {
        transform: translateY(40px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}


/****Inquiry Form Start****/

/* Floating Button */
.enquiry-widget .enquiry-btn {
    position: fixed;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    background-color: #477ece;
    color: #fff;
    border: none;
    border-radius: 50px 0 0 50px;
    padding: 10px 12px;
    font-size: 16px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.3);
    z-index: 9999;
    transition: all 0.3s ease;
}

.enquiry-widget .enquiry-btn:hover {
    background-color: #3c6ec0;
}

.enquiry-widget .enquiry-icon {
    font-size: 1.4rem;
}


/* ===============================
   Modal Overlay & Centering Fix
   =============================== */
.enquiry-widget .enquiry-modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.65);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 100000;
}

.enquiry-widget .enquiry-modal.show {
    display: flex !important; 
}

/* ===============================
   Modal Box
   =============================== */
.enquiry-widget .enquiry-box {
    background: #477ece;
    color: #fff;
    width: 90%;
    max-width: 420px;
    padding: 2rem 1.5rem;
    border-radius: 10px;
    position: relative;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
    animation: fadeIn 0.35s ease;
    box-sizing: border-box;
}

/* ===============================
   Close Button
   =============================== */
.enquiry-widget .enquiry-close {
    position: absolute;
    right: 15px;
    top: 10px;
    font-size: 28px;
    color: #fff;
    cursor: pointer;
}

/* ===============================
   Title
   =============================== */
.enquiry-widget .enquiry-title {
    text-align: center;
    font-weight: 700;
    font-size: 22px;
    margin-bottom: 1.5rem;
}

/* ===============================
   Fields
   =============================== */
.enquiry-widget .enquiry-input,
.enquiry-widget .enquiry-select,
.enquiry-widget .enquiry-textarea {
    width: 100%;
    margin-bottom: 12px;
    padding: 10px 12px;
    border: none;
    border-radius: 6px;
    font-size: 15px;
    outline: none;
    color: #333;
    box-sizing: border-box;
}

.enquiry-widget .enquiry-textarea {
    resize: vertical;
    min-height: 90px;
}

/* ===============================
   Submit Button
   =============================== */
.enquiry-widget .enquiry-submit {
    display: block;
    width: 100%;
    background: #000;
    color: #fff;
    border: none;
    border-radius: 6px;
    padding: 12px 0;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

    .enquiry-widget .enquiry-submit:hover {
        background: #222;
    }

/* ===============================
   Responsive Modal
   =============================== */
@media (max-width: 480px) {
    .enquiry-widget .enquiry-box {
        width: 92%;
        padding: 1.5rem 1rem;
    }
}

/* ===============================
   Animation
   =============================== */
@keyframes fadeIn {
    from {
        transform: translateY(-20px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}
/****Inquiry Form End****/


/* ===============================
   LEFT FIXED CAR ALERT BLOCK
   =============================== */
.car-alert-widget {
    position: fixed;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1000;
    width: auto;
}

.car-alert-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background-color: #477ece;
    color: #fff;
    padding: 0px 10px;
    text-decoration: none;
    border-radius: 0 50px 50px 0;
    transition: all 0.3s ease;
    box-shadow: 2px 2px 8px rgba(0, 0, 0, 0.2);
    width: auto;
}

.car-alert-link:hover {
    background-color: #3a6ab8;
    padding-right: 16px;
}

.car-alert-text {
    font-size: 16px;
    font-weight: 600;
    white-space: nowrap;
}

.car-alert-img {
    width: 40px;
    height: auto;
    display: block;
}

/* Tablet and below - show only icon */
@media (max-width: 768px) {
    .car-alert-text {
        display: none;
    }

    .car-alert-link {
        padding: 10px;
    }

    .car-alert-img {
        width: 32px;
    }
}
