:root {
    --primary-color: #2563eb;
    --primary-hover: #1d4ed8;
    --secondary-color: #059669;
    --text-color: #1f2937;
    --bg-color: #ffffff;
    --border-color: #e5e7eb;
    --input-bg: #f9fafb;
    --input-text: #4b5563;
    --input-border: #d1d5db;
    --input-focus: #3b82f6;
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1);
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
}

.fiyat-teklifi-form-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    background: var(--bg-color);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
}

.fiyat-teklifi-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

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

.form-row {
    display: flex;
    gap: 15px;
}

.form-group.half {
    flex: 1;
}

label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
    color: var(--text-color);
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="number"],
textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid var(--input-border);
    border-radius: var(--radius-md);
    font-size: 16px;
    background: var(--input-bg);
    color: var(--input-text);
}

input[readonly] {
    background-color: #f5f5f5;
}

.submit-button {
    background-color: var(--primary-color);
    color: white;
    padding: 12px 20px;
    border: none;
    border-radius: var(--radius-md);
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s ease;
}

.submit-button:hover {
    background-color: var(--primary-hover);
}

#form-messages {
    margin-top: 15px;
    padding: 10px;
    border-radius: var(--radius-md);
}

#form-messages.success {
    background-color: #ecfdf5;
    color: #065f46;
    border: 1px solid #6ee7b7;
}

#form-messages.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.biz-sizi-arayalim-btn {
    position: fixed;
    left: 0;
    top: 70%;
    transform: translateY(-50%) rotate(-90deg);
    transform-origin: left top;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 12px 24px;
    border-radius: 0 0 12px 12px;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.5px;
    box-shadow: var(--shadow-lg);
    z-index: 9999;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    text-decoration: none;
    font-family: system-ui, -apple-system, sans-serif;
}

.biz-sizi-arayalim-btn:hover {
    padding-left: 32px;
    background: linear-gradient(135deg, var(--primary-hover), var(--secondary-color));
}

.bsa-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    z-index: 9998;
}

.bsa-modal-content {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #ffffff;
    width: 90%;
    max-width: 400px;
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.15);
    z-index: 9999;
}

.bsa-modal-header {
    text-align: center;
    margin: -25px -25px 20px -25px;
    padding: 20px 25px;
    border-bottom: 1px solid #edf2f7;
    position: relative;
    background: #f8fafc;
    border-radius: 15px 15px 0 0;
}

.bsa-modal-header h3 {
    margin: 0;
    color: #1a202c;
    font-size: 1.5rem;
    font-weight: 600;
}

.bsa-close {
    position: absolute;
    top: 18px;
    right: 20px;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #f3f4f6;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 22px;
    color: #64748b;
    text-decoration: none;
}

.bsa-close:hover {
    background: #fee2e2;
    color: #ef4444;
    transform: scale(1.1);
}

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

.bsa-form-group input,
.bsa-form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    background: #f8fafc;
    color: #1a202c;
    font-size: 0.95rem;
    transition: all 0.2s ease;
    box-sizing: border-box;
}

.bsa-form-group input:focus,
.bsa-form-group textarea:focus {
    border-color: #3b82f6;
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
    outline: none;
}

.bsa-form-group input::placeholder,
.bsa-form-group textarea::placeholder {
    color: #94a3b8;
}

.bsa-form-group textarea {
    min-height: 120px;
    resize: vertical;
}

.bsa-submit-btn {
    width: 100%;
    background: linear-gradient(135deg, #2563eb, #0891b2);
    color: white;
    padding: 14px;
    border: none;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 10px;
}

.bsa-submit-btn:hover {
    background: linear-gradient(135deg, #1d4ed8, #0e7490);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.2);
}

.bsa-submit-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.bsa-success-message {
    display: none;
    padding: 12px 16px;
    margin-bottom: 20px;
    border-radius: 10px;
    background-color: #ecfdf5;
    color: #065f46;
    border: 1px solid #6ee7b7;
    font-size: 0.95rem;
}

@media (max-width: 640px) {
    .bsa-modal-content {
        width: 95%;
        padding: 1.5rem;
    }

    .bsa-modal-header h3 {
        font-size: 1.25rem;
    }

    .biz-sizi-arayalim-btn {
        padding: 10px 20px;
        font-size: 14px;
    }
}
