/* =============================================================
   AVANSAS B2B FORMU CSS
   Sayfa: /avansasli-sirketlere-ozel-hizmetler (tek sayfada kullanılır)
   Taşıma tarihi: 2026-05-14
   Kaynak: Additional CSS (Customize → Ek CSS)
   ============================================================= */

/* --- 1. ANA KART VE BAŞLIK YAPISI --- */
.mr-usta-form-card {
    background-color: #ffffff;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    max-width: 100%;
    font-family: 'Lexend', sans-serif !important;
    color: #0b1a30;
    box-sizing: border-box;
}
.mr-usta-form-card * { box-sizing: border-box; }

.mr-usta-form-card .form-header {
    text-align: center;
    margin-bottom: 30px;
    border-bottom: 1px solid #f1f5f9;
    padding-bottom: 20px;
}
.mr-usta-form-card .form-header h3 {
    margin: 0 0 10px 0;
    font-size: 24px;
    color: #04142a;
    font-weight: 800;
    font-family: 'Lexend', sans-serif !important;
}
.mr-usta-form-card .form-header p {
    margin: 0;
    font-size: 14px;
    color: #7d8da1;
    font-weight: 400;
    line-height: 1.5;
}
textarea.wpcf7-form-control.wpcf7-textarea.wpcf7-validates-as-required.fill_inited {
    height: 70px !important;
}

/* --- 2. IZGARA (GRID) VE LABEL YAPISI --- */
.mr-usta-form-card .form-row { margin-bottom: 22px; }
.mr-usta-form-card label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    font-size: 11px;
    color: #04142a;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
@media (min-width: 768px) {
    .mr-usta-form-card .double-column { display: flex; gap: 20px; }
    .mr-usta-form-card .double-column .column { flex: 1; }
}

/* --- 3. STANDART INPUT VE TEXTAREA AYARLARI --- */
.mr-usta-form-card span.wpcf7-form-control-wrap {
    position: relative;
    display: block;
}
input#b2b-hizmet-secici-ts-control {
    border: none !important;
}
.mr-usta-form-card input[type="text"],
.mr-usta-form-card input[type="email"],
.mr-usta-form-card input[type="tel"],
.mr-usta-form-card textarea {
    width: 100%;
    padding: 14px 15px 14px 45px;
    margin: 0 !important; /* Temanın gizli alt boşluğunu ezer, ikonları hizalar */
    background-color: #f8fafc !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 8px;
    font-size: 14px;
    color: #334155 !important;
    font-weight: 400;
    font-family: 'Lexend', sans-serif !important;
    transition: all 0.3s ease;
    background-image: none !important; /* Autofill ikon koruması için */
}

.mr-usta-form-card input::placeholder,
.mr-usta-form-card textarea::placeholder { 
    color: #94a3b8 !important; 
    font-family: 'Lexend', sans-serif !important;
}

.mr-usta-form-card input:focus,
.mr-usta-form-card textarea:focus {
    border-color: #0b1a30 !important;
    background-color: #ffffff !important;
    outline: none;
    box-shadow: 0 0 0 3px rgba(11, 26, 48, 0.1);
}

.mr-usta-form-card textarea {
    min-height: 70px !important;
    height: 70px;
    resize: vertical;
}

/* --- 4. İKONLAR & CHROME AUTOFILL KORUMASI --- */
.mr-usta-form-card span.wpcf7-form-control-wrap::before {
    content: "";
    position: absolute;
    left: 15px;
    top: 16px; /* İkonlar doğrudan metnin başladığı satıra hizalandı */
    transform: none; 
    width: 18px;
    height: 18px;
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    pointer-events: none; 
    z-index: 2; /* İkonlar açılır menünün altında kalır */
}

.mr-usta-form-card span.wpcf7-form-control-wrap[data-name="aciklama"]::before {
    top: 15px;
    transform: none;
    width: 16px;
    height: 16px;
}

/* Data Name Bazlı İkon Atamaları */
.mr-usta-form-card span.wpcf7-form-control-wrap[data-name="ad-soyad"]::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 21v-2a4 4 0 0 0-4-4H8a4 4 0 0 0-4 4v2'/%3E%3Ccircle cx='12' cy='7' r='4'/%3E%3C/svg%3E"); }
.mr-usta-form-card span.wpcf7-form-control-wrap[data-name="e-posta"]::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 4h16c1.1 0 2 .9 2 2v12c0 1.1-.9 2-2 2H4c-1.1 0-2-.9-2-2V6c0-1.1.9-2 2-2z'/%3E%3Cpolyline points='22,6 12,13 2,6'/%3E%3C/svg%3E"); }
.mr-usta-form-card span.wpcf7-form-control-wrap[data-name="telefon"]::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6 19.79 19.79 0 0 1-3.07-8.67A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72 12.84 12.84 0 0 0 .7 2.81 2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45 12.84 12.84 0 0 0 2.81.7A2 2 0 0 1 22 16.92z'/%3E%3C/svg%3E"); }
.mr-usta-form-card span.wpcf7-form-control-wrap[data-name="firma-adi"]::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='4' y='2' width='16' height='20' rx='2' ry='2'/%3E%3Cpath d='M9 22v-4h6v4M8 6h.01M16 6h.01M12 6h.01M12 10h.01M16 10h.01M8 10h.01M8 14h.01M12 14h.01M16 14h.01'/%3E%3C/svg%3E"); }

.mr-usta-form-card span.wpcf7-form-control-wrap[data-name="aciklama"]::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M17 3a2.828 2.828 0 1 1 4 4L7.5 20.5 2 22l1.5-5.5L17 3z'/%3E%3C/svg%3E"); }

/* Chrome Autofill Arka Plan Rengi Sıfırlama */
.mr-usta-form-card input:-webkit-autofill,
.mr-usta-form-card input:-webkit-autofill:hover, 
.mr-usta-form-card input:-webkit-autofill:focus, 
.mr-usta-form-card input:-webkit-autofill:active {
    -webkit-box-shadow: 0 0 0px 1000px #f8fafc inset !important;
    -webkit-text-fill-color: #334155 !important;
}

/* --- 5. ARAMA KUTUSU (TOM SELECT) ÖZELLEŞTİRMELERİ --- */
.mr-usta-form-card .ts-control {
    padding: 12px 15px !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 8px !important;
    background-color: #f8fafc !important;
    font-family: 'Lexend', sans-serif !important;
    min-height: 50px;
    box-shadow: none !important;
    transition: all 0.3s ease;
}

.mr-usta-form-card .ts-control.focus {
    border-color: #0b1a30 !important;
    background-color: #ffffff !important;
    box-shadow: 0 0 0 3px rgba(11, 26, 48, 0.1) !important;
}

.mr-usta-form-card .ts-control .item {
    background: #04142a !important; /* Düz Lacivert Etiket */
    background-image: none !important;
    color: #ffffff !important;
    border-radius: 30px !important; 
    padding: 4px 14px !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    border: none !important;
    display: inline-flex;
    align-items: center;
    margin: 3px !important;
}

.mr-usta-form-card .ts-control .item .remove {
    color: #ffffff !important;
    border-left: 1px solid rgba(255,255,255,0.2) !important;
    margin-left: 8px !important;
    padding-left: 8px !important;
    font-size: 14px !important;
}

.mr-usta-form-card .ts-control .item .remove:hover {
    background-color: transparent !important;
    opacity: 0.7;
}

.mr-usta-form-card .ts-dropdown {
    font-family: 'Lexend', sans-serif !important;
    border-radius: 8px !important;
    border: 1px solid #e2e8f0 !important;
    box-shadow: 0 10px 20px rgba(0,0,0,0.08) !important;
    font-size: 14px !important;
    color: #334155 !important;
    margin-top: 5px !important;
    background-color: #ffffff !important;
    z-index: 999 !important; /* Menü açıldığında tüm ikonların üstüne çıkar */
}

.mr-usta-form-card .ts-dropdown .option:hover,
.mr-usta-form-card .ts-dropdown .active {
    background-color: #f1f5f9 !important;
    color: #04142a !important;
    cursor: pointer;
}

.mr-usta-form-card .ts-control input::placeholder {
    color: #94a3b8 !important;
    font-family: 'Lexend', sans-serif !important;
}

/* --- 6. GÖNDER BUTONU --- */
.mr-usta-form-card .submit-btn {
    text-align: center;
    margin-top: 30px;
}
.mr-usta-form-card .submit-btn input[type="submit"] {
    background-color: #04142a;
    color: #ffffff;
    padding: 15px 45px;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    width: auto;
    min-width: 220px;
    transition: all 0.3s ease;
    display: inline-block;
    font-family: 'Lexend', sans-serif !important;
}
.mr-usta-form-card .submit-btn input[type="submit"]:hover { 
    background-color: #122b52;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(4, 20, 42, 0.2);
}
