.qts-honeypot {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.qts-math-group {
    margin-bottom: 8px;
}

 .qts-teklif-btn {
     background-color: #E85426;
     color: white;
     padding: 16px 30px;
     border: none;
     border-radius: 4px;
     cursor: pointer;
     font-size: 14px;
     font-weight: 500;
     transition: background-color 0.3s ease;
     text-transform: uppercase;
     letter-spacing: 0.5px;
     min-width: 140px;
 }

.qts-teklif-btn:hover {
    background-color: #D04A1E;
}

.qts-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 999999;
    display: flex;
    justify-content: center;
    align-items: center;
}

.qts-popup-content {
    background-color: white;
    border-radius: 8px;
    max-width: 650px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    position: relative;
    z-index: 1000000;
}

.qts-popup-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 24px 16px;
    border-bottom: 1px solid #e0e0e0;
}

.qts-popup-header h3 {
    margin: 0;
    font-size: 20px;
    font-weight: 600;
    color: #333;
}

.qts-popup-close {
    font-size: 24px;
    cursor: pointer;
    color: #666;
    padding: 4px;
    line-height: 1;
    transition: color 0.3s ease;
}

.qts-popup-close:hover {
    color: #E85426;
}

#qts-teklif-form {
    padding: 24px;
}

.qts-form-row {
    display: flex;
    gap: 16px;
    margin-bottom: 16px;
}

.qts-form-group {
    flex: 1;
    margin-bottom: 16px;
}

.qts-form-group label {
    display: block;
    margin-bottom: 6px;
    font-weight: 500;
    color: #333;
    font-size: 14px;
}

.required {
    color: #E85426;
}

.qts-form-group input,
.qts-form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    transition: border-color 0.3s ease;
    box-sizing: border-box;
}

.qts-form-group input:focus,
.qts-form-group textarea:focus {
    outline: none;
    border-color: #E85426;
}

.qts-form-group input[readonly] {
    background-color: #f8f9fa;
    color: #666;
}

.qts-form-group textarea {
    resize: vertical;
    min-height: 80px;
}

.qts-error-message {
    color: #dc3545;
    font-size: 12px;
    margin-top: 4px;
    display: none;
}

.qts-form-group input.error,
.qts-form-group textarea.error {
    border-color: #dc3545;
}

.qts-form-buttons {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
    margin-top: 24px;
    padding-top: 16px;
    border-top: 1px solid #e0e0e0;
}

.qts-submit-btn {
    background-color: #E85426;
    color: white;
    padding: 12px 24px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: background-color 0.3s ease;
}

.qts-submit-btn:hover {
    background-color: #D04A1E;
}

.qts-cancel-btn {
    background-color: #f8f9fa;
    color: #666;
    padding: 12px 24px;
    border: 1px solid #ddd;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.qts-cancel-btn:hover {
    background-color: #e9ecef;
    border-color: #bbb;
}

#qts-loading {
    text-align: center;
    padding: 40px 24px;
}

.qts-loading-spinner {
    border: 3px solid #f3f3f3;
    border-top: 3px solid #E85426;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
    margin: 0 auto 16px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

#qts-success-message {
    text-align: center;
    padding: 40px 24px;
    color: #28a745;
}

.qts-success-icon {
    font-size: 48px;
    margin-bottom: 16px;
    color: #28a745;
}

@media (max-width: 768px) {
    .qts-popup-content {
        width: 95%;
        margin: 20px;
    }

    .qts-form-row {
        flex-direction: column;
        gap: 0;
    }

    .qts-form-buttons {
        flex-direction: column;
    }

    .qts-form-buttons button {
        width: 100%;
    }
}