/* Popup Container */
.isq-popup {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 300px;
    background: #fff;
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
    border-radius: 8px;
    z-index: 99999;
    font-family: sans-serif;
    overflow: hidden;
    
    /* Hidden State (Slide Down) */
    transform: translateY(150%); 
    transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* Visible State (Slide Up) */
.isq-popup.is-visible {
    transform: translateY(0);
}

/* Header */
.isq-popup-header {
    background: var(--isq-brand, #002e5d);
    color: #fff;
    padding: 10px 15px;
    font-weight: bold;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#isq-close-popup {
    background: none;
    border: none;
    color: #fff;
    font-size: 20px;
    cursor: pointer;
    line-height: 1;
    padding: 0;
}

/* Body */
.isq-popup-body {
    padding: 15px;
}

.isq-popup-body p {
    margin: 0 0 10px 0;
    font-size: 13px;
    color: #666;
}

/* Inputs */
.isq-lead-form input {
    width: 100%;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
    margin-bottom: 10px;
    box-sizing: border-box;
}

.isq-lead-form button {
    width: 100%;
    padding: 8px;
    background: var(--isq-brand, #002e5d);
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
}

.isq-lead-form button:hover {
    opacity: 0.9;
}

.isq-form-msg {
    margin-top: 10px;
    font-size: 12px;
    text-align: center;
    display: none;
}

/* Success/Error Colors */
.isq-success { color: #46b450; }
.isq-error { color: #dc3232; }

/* Inline Form Styles (optional) */
.isq-inline-form {
    background: #f9f9f9;
    padding: 20px;
    border-left: 4px solid var(--isq-brand, #002e5d);
}
