/* General Form Styles */
.gqf-form-container {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    margin-bottom: 20px;
}

.gqf-form-container h2,
.gqf-form-container h3 {
    margin-top: 0;
    color: #333;
}

.gqf-form-container p {
    color: #666;
    margin-bottom: 20px;
}

.gqf-form-group {
    margin-bottom: 15px;
    position: relative;
}

.gqf-form-control {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    transition: border-color 0.3s;
}

.gqf-form-control:focus {
    border-color: #4e73df;
    outline: none;
    box-shadow: 0 0 0 2px rgba(78, 115, 223, 0.2);
}

.gqf-form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
    color: #333;
}

.gqf-btn {
    background: #4e73df;
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    transition: background 0.3s;
    width: 100%;
}

.gqf-btn:hover {
    background: #3a56c7;
}

.gqf-btn-accent {
    background: #1cc88a;
}

.gqf-btn-accent:hover {
    background: #17a673;
}

.gqf-btn-quote {
    background: #f6c23e;
    color: #333;
}

.gqf-btn-quote:hover {
    background: #f4b619;
}

/* Form Specific Styles */
.gqf-form-1 input,
.gqf-form-1 select {
    width: 100%;
    padding: 12px 15px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
}

.gqf-form-2 .gqf-form-group {
    margin-bottom: 15px;
}

.gqf-form-3 .gqf-form-control {
    margin-bottom: 15px;
}

.gqf-form-4 .gqf-form-group {
    position: relative;
    margin-bottom: 20px;
}

.gqf-form-4 .gqf-form-group label {
    position: absolute;
    top: -10px;
    left: 10px;
    background: white;
    padding: 0 5px;
    font-size: 12px;
    color: #666;
}

/* Popup Styles */
.gqf-popup-form {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.7);
    z-index: 10000;
    align-items: center;
    justify-content: center;
}

.gqf-popup-content {
    background: white;
    border-radius: 8px;
    padding: 25px;
    width: 90%;
    max-width: 500px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
}

.gqf-close-popup {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 24px;
    cursor: pointer;
    color: #999;
}

.gqf-close-popup:hover {
    color: #333;
}

.gqf-popup-header {
    margin-bottom: 20px;
}

.gqf-popup-header h4 {
    margin: 0 0 5px 0;
}

.gqf-popup-header p {
    margin: 0;
    color: #666;
}

/* Vendor Auth Styles */
.gqf-vendor-auth {
    background: white;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    max-width: 400px;
    margin: 20px auto;
}

.gqf-auth-tabs {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0 0 20px 0;
    border-bottom: 1px solid #ddd;
}

.gqf-auth-tabs li {
    padding: 10px 20px;
    cursor: pointer;
    color: #666;
    border-bottom: 2px solid transparent;
}

.gqf-auth-tabs li.gqf-tab-active {
    color: #4e73df;
    border-bottom-color: #4e73df;
}

.gqf-tab-pane {
    display: none;
}

.gqf-tab-pane.gqf-active {
    display: block;
}

.gqf-alert {
    padding: 15px;
    border-radius: 4px;
    margin-bottom: 20px;
}

.gqf-alert-info {
    background: #d1ecf1;
    border: 1px solid #bee5eb;
    color: #0c5460;
}

.gqf-alert-warning {
    background: #fff3cd;
    border: 1px solid #ffeaa7;
    color: #856404;
}

/* Responsive Design */
@media (max-width: 768px) {
    .gqf-form-container {
        padding: 15px;
    }
    
    .gqf-popup-content {
        width: 95%;
        padding: 20px;
    }
}

/* =============== GQF POPUP FORM 1 (RESPONSIVE) =============== */

/* Overlay Background */
.gqf-quote-form-1 {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    justify-content: center;
    align-items: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
}

.gqf-quote-form-1.active {
    display: flex;
    opacity: 1;
    visibility: visible;
    animation: gqfFadeIn 0.4s ease forwards;
}

@keyframes gqfFadeIn {
    from { opacity: 0; transform: scale(0.9); }
    to { opacity: 1; transform: scale(1); }
}

/* Popup 1 Content */
.gqf-popup-content-1 {
    position: relative;
    background: #ffffff;
    padding: 30px;
    border-radius: 12px;
    width: 90%;
    max-width: 520px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    animation: gqfScaleIn 0.4s ease forwards;
}

@keyframes gqfScaleIn {
    from { transform: scale(0.8); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

/* Close Button */
.gqf-close-popup-1 {
    position: absolute;
    top: 12px;
    right: 16px;
    font-size: 1.8rem;
    font-weight: bold;
    color: #555;
    background: none;
    border: none;
    cursor: pointer;
    line-height: 1;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.gqf-close-popup-1:hover {
    background: #f0f0f0;
    color: #000;
    transform: scale(1.1);
}

/* Popup 1 Title */
.gqf-popup-content-1 h2 {
    text-align: center;
    font-size: 1.8rem;
    color: #1a4f8c;
    margin: 0 0 20px;
    font-weight: 600;
}

/* Form Styling */
.gqf-quote-form-1 {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.gqf-quote-form-1 input,
.gqf-quote-form-1 select,
.gqf-quote-form-1 textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: #fafafa;
}

.gqf-quote-form-1 input:focus,
.gqf-quote-form-1 select:focus,
.gqf-quote-form-1 textarea:focus {
    outline: none;
    border-color: #27ae60;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(39, 174, 96, 0.2);
}

.gqf-quote-form-1 input::placeholder,
.gqf-quote-form-1 textarea::placeholder {
    color: #999;
}

.gqf-quote-form-1 select {
    appearance: none;
    background: url("data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2212%22%20height%3D%228%22%3E%3Cpath%20d%3D%22M0%2C0%20L12%2C0%20L6%2C8%20Z%22%20fill%3D%22%23666%22%2F%3E%3C%2Fsvg%3E") no-repeat right 15px center;
    padding-right: 36px;
}

/* Submit Button */
.gqf-quote-form-1 button[type="submit"] {
    background: #27ae60;
    color: white;
    padding: 14px;
    font-size: 1.1rem;
    font-weight: 600;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.3s ease;
    margin-top: 10px;
}

.gqf-quote-form-1 button[type="submit"]:hover {
    background: #219653;
    transform: translateY(-2px);
}

.gqf-quote-form-1 button[type="submit"]:active {
    transform: translateY(0);
}

/* Responsive Design Popap 1*/

/* Tablet */
@media (max-width: 768px) {
    .gqf-popup-content-1 {
        width: 95%;
        padding: 25px;
    }

    .gqf-popup-content-1 h2 {
        font-size: 1.6rem;
    }

    .gqf-quote-form-1 input,
    .gqf-quote-form-1 select,
    .gqf-quote-form-1 textarea {
        font-size: 0.95rem;
        padding: 11px 14px;
    }

    .gqf-quote-form-1 button[type="submit"] {
        padding: 13px;
        font-size: 1rem;
    }
}

/* Mobile  Popap 1 */
@media (max-width: 480px) {
    .gqf-popup-content-1 {
        width: 98%;
        padding: 20px;
        border-radius: 10px;
    }

    .gqf-popup-content-1 h2 {
        font-size: 1.5rem;
        margin-bottom: 16px;
    }

    .gqf-close-popup-1 {
        top: 10px;
        right: 12px;
        font-size: 1.6rem;
        width: 32px;
        height: 32px;
    }

    .gqf-quote-form-1 input,
    .gqf-quote-form-1 select,
    .gqf-quote-form-1 textarea {
        padding: 10px 12px;
        font-size: 0.9rem;
    }

    .gqf-quote-form-1 button[type="submit"] {
        font-size: 1rem;
        padding: 12px;
    }
}

/* Small Mobile (320px) Popap 1*/
@media (max-width: 360px) {
    .gqf-popup-content-1 {
        padding: 15px;
    }

    .gqf-popup-content-1 h2 {
        font-size: 1.4rem;
    }

    .gqf-quote-form-1 {
        gap: 12px;
    }
}