/* Get Quote Modal Styles */
.gq-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(15, 23, 42, 0.6); /* Slate 900 with transparency */
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 999999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.4s;
}

.gq-modal-overlay.gq-active {
    opacity: 1;
    visibility: visible;
}

.gq-modal-container {
    background: #ffffff;
    width: 90%;
    max-width: 520px;
    border-radius: 20px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(226, 232, 240, 0.8);
    overflow: hidden;
    transform: scale(0.9) translateY(20px);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
}

.gq-modal-overlay.gq-active .gq-modal-container {
    transform: scale(1) translateY(0);
}

/* Modal Header */
.gq-modal-header {
    padding: 28px 32px 20px;
    border-bottom: 1px solid #f1f5f9;
    position: relative;
}

.gq-modal-title {
    margin: 0 0 6px 0;
    font-size: 1.35rem;
    font-weight: 700;
    color: #0f172a; /* Slate 900 */
    line-height: 1.3;
}

.gq-modal-subtitle {
    margin: 0;
    font-size: 0.9rem;
    color: #64748b; /* Slate 500 */
    font-weight: 400;
}

.gq-product-badge {
    display: inline-flex;
    align-items: center;
    background-color: #f0fdf4; /* Green 50 */
    border: 1px solid #dcfce7; /* Green 100 */
    color: #166534; /* Green 800 */
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-top: 8px;
}

/* Close Button */
.gq-modal-close {
    position: absolute;
    top: 24px;
    right: 24px;
    background: #f1f5f9;
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #64748b;
    transition: background-color 0.2s, color 0.2s, transform 0.2s;
}

.gq-modal-close:hover {
    background-color: #e2e8f0;
    color: #0f172a;
    transform: rotate(90deg);
}

.gq-modal-close svg {
    width: 14px;
    height: 14px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* Modal Body / Form */
.gq-modal-body {
    padding: 32px;
}

.gq-form-group {
    margin-bottom: 20px;
}

.gq-form-label {
    display: block;
    margin-bottom: 6px;
    font-size: 0.85rem;
    font-weight: 600;
    color: #334155; /* Slate 700 */
}

.gq-form-control {
    width: 100%;
    padding: 12px 16px;
    font-size: 0.95rem;
    color: #0f172a;
    background-color: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    box-sizing: border-box;
    transition: border-color 0.2s, background-color 0.2s, box-shadow 0.2s;
}

.gq-form-control:focus {
    outline: none;
    border-color: #2563eb; /* Blue 600 */
    background-color: #ffffff;
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1);
}

textarea.gq-form-control {
    resize: vertical;
    min-height: 100px;
}

/* Submit Button */
.gq-submit-btn {
    width: 100%;
    padding: 14px;
    font-size: 1rem;
    font-weight: 600;
    color: #ffffff;
    background-color: #2563eb; /* Primary Blue */
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: background-color 0.2s, transform 0.1s, box-shadow 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.2);
}

.gq-submit-btn:hover {
    background-color: #1d4ed8;
}

.gq-submit-btn:active {
    transform: scale(0.98);
}

.gq-submit-btn:disabled {
    background-color: #94a3b8;
    cursor: not-allowed;
    box-shadow: none;
}

/* Loading Spinner */
.gq-spinner {
    display: none;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: #ffffff;
    animation: gq-spin 0.8s linear infinite;
}

@keyframes gq-spin {
    to { transform: rotate(360deg); }
}

.gq-loading .gq-spinner {
    display: inline-block;
}

.gq-loading .gq-btn-text {
    opacity: 0.8;
}

/* Status Messages */
.gq-message {
    margin-top: 16px;
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 0.9rem;
    line-height: 1.4;
    display: none;
    animation: gq-fade-in 0.3s ease;
}

.gq-message-success {
    display: block;
    background-color: #f0fdf4;
    border: 1px solid #bbf7d0;
    color: #15803d;
}

.gq-message-error {
    display: block;
    background-color: #fef2f2;
    border: 1px solid #fecaca;
    color: #b91c1c;
}

@keyframes gq-fade-in {
    from { opacity: 0; transform: translateY(-5px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Prevent body scrolling when modal is active */
body.gq-modal-open {
    overflow: hidden;
}
