/* Floating button - bottom left */
#ttdc-quote-button {
    position: fixed;
    left: 20px;
    bottom: 20px;
    z-index: 9999;
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    color: #f9fafb;
    padding: 12px 20px;
    border-radius: 999px;
    font-size: 0.95rem;
    font-weight: 600;
    box-shadow: 0 10px 25px rgba(37, 99, 235, 0.6);
    cursor: pointer;
    border: none;
    text-shadow: 0 1px 1px rgba(15, 23, 42, 0.7);
}

/* Overlay (default is hidden via class+inline) */
#ttdc-quote-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
}

/* Hidden state – unique to avoid conflicts */
.ttdcq-hidden {
    display: none !important;
}

/* Modal container */
#ttdc-quote-modal {
    position: relative;
    width: 95%;
    max-width: 520px;
    height: 90vh;
    max-height: 640px;
    background: #020617;
    border-radius: 18px;
    overflow: hidden;
    box-shadow:
        0 25px 50px rgba(15, 23, 42, 0.9),
        0 0 0 1px rgba(15, 23, 42, 0.8);
}

/* Close button */
#ttdc-quote-close {
    position: absolute;
    top: 8px;
    right: 10px;
    z-index: 2;
    background: rgba(15, 23, 42, 0.9);
    border-radius: 999px;
    border: 1px solid rgba(148, 163, 184, 0.7);
    color: #e5e7eb;
    width: 28px;
    height: 28px;
    font-size: 18px;
    line-height: 24px;
    cursor: pointer;
}

/* Iframe fills the modal */
#ttdc-quote-iframe {
    position: absolute;
    inset: 0;
    border: none;
    width: 100%;
    height: 100%;
    background: #020617;
}