/* =========================================================
   AYARLAR SAYFASI - Sayfaya özel stiller (style.css ortak)
   ========================================================= */

/* ===== ORTAK ALAN (FIELD) SINIFLARI - MOBİL ===== */
.ayr-alan-grup {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.ayr-field {
    display: flex;
    flex-direction: column;
    gap: 3px;
    margin-bottom: 8px;
}

.ayr-field-nomb {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.ayr-label-m {
    font-size: 13px;
    color: #000;
}

.ayr-label-m-bold {
    font-size: 13px;
    color: #000;
    font-weight: 600;
}

.ayr-input-m {
    width: 100%;
    border: 1px solid #ccc;
    border-radius: 3px;
    padding: 7px 8px;
    font-size: 13px;
    color: #0000ff;
    font-weight: bold;
    box-sizing: border-box;
}

.ayr-textarea-m {
    width: 100%;
    border: 1px solid #ccc;
    border-radius: 3px;
    padding: 9px 8px;
    font-size: 13px;
    color: #0000ff;
    font-weight: bold;
    box-sizing: border-box;
    resize: vertical;
}

.ayr-row-2 {
    display: flex;
    gap: 8px;
}

.ayr-flex-1 {
    flex: 1;
}

/* ===== FİRMA TİPİ RADYO ===== */
.ayr-firma-tipi-row {
    display: flex;
    gap: 20px;
    padding: 4px 0;
}

.ayr-firma-tipi-row-d {
    display: flex;
    gap: 20px;
}

.ayr-radio-label {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: #000;
    cursor: pointer;
}

.ayr-radio {
    width: 15px;
    height: 15px;
    accent-color: #1a3c6e;
    cursor: pointer;
}

/* ===== FİRMA LOGOSU ===== */
.ayr-logo-row {
    display: flex;
    align-items: center;
    gap: 12px;
}

.ayr-logo-box {
    width: 75px;
    height: 65px;
    border: 2px dashed #aaa;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    background: #f5f5f5;
    position: relative;
}

.ayr-logo-plus {
    position: absolute;
    bottom: -8px;
    right: -8px;
    background: #555;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 15px;
    font-weight: bold;
    line-height: 1;
}

.ayr-logo-onizle {
    max-width: 75px;
    max-height: 65px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.ayr-logo-onizle-d {
    max-width: 75px;
    max-height: 65px;
    margin-left: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.ayr-hidden {
    display: none;
}

/* ===== KAYDET BUTONU ===== */
.ayr-kaydet-row {
    display: flex;
    justify-content: flex-end;
    margin-top: 16px;
}

.ayr-kaydet-row-d {
    display: flex;
    justify-content: flex-end;
    margin-top: 20px;
}

.ayr-btn-kaydet {
    min-width: 130px;
    height: 36px;
    background: #1a3c6e;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 13px;
    font-weight: 600;
}

.ayr-btn-kaydet-d {
    min-width: 130px;
    height: 34px;
    background: #1a3c6e;
    color: #fff;
    border: 1px solid #1a3c6e;
    border-radius: 4px;
    cursor: pointer;
    font-size: 13px;
    font-weight: 600;
}

/* ===== CHECKBOX SATIRLARI (DİĞER SEKMESİ) ===== */
.ayr-checkbox-row {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 8px;
}

.ayr-checkbox-row-d {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 4px;
}

.ayr-checkbox {
    margin-top: 2px;
    width: 16px;
    height: 16px;
    cursor: pointer;
    flex-shrink: 0;
}

.ayr-checkbox-d {
    margin-top: 2px;
    width: 15px;
    height: 15px;
    cursor: pointer;
}

.ayr-checkbox-label {
    font-size: 13px;
    color: #000;
    font-weight: 600;
    cursor: pointer;
}

.ayr-checkbox-desc {
    font-size: 12px;
    color: #444;
    margin: 2px 0 0 0;
}

.ayr-hr {
    margin: 8px 0;
    border: 0;
    border-top: 1px solid #e5e5e5;
}

/* ===== KDV ORANI ===== */
.ayr-kdv-row-m {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 10px;
}

.ayr-kdv-row-d {
    display: flex;
    align-items: center;
    margin-left: 15px;
    margin-top: 15px;
    margin-bottom: 6px;
    gap: 10px;
}

.ayr-kdv-label {
    font-size: 13px;
    color: #000;
    font-weight: 600;
}

.ayr-select-m {
    width: 70px;
    border: 1px solid #ccc;
    border-radius: 3px;
    padding: 4px 7px;
    font-size: 13px;
    color: #0000ff;
    font-weight: bold;
    background: #fff;
}

.ayr-select-d {
    width: 70px;
    border: 1px solid #ccc;
    border-radius: 3px;
    padding: 3px 7px;
    font-size: 13px;
    color: #0000ff;
    font-weight: bold;
    background: #fff;
}

/* ===== UTILITY ===== */
.ayr-mt-10 {
    margin-top: 10px;
}

.ayr-mr-10 {
    margin-right: 10px;
}

.ayr-mr-15 {
    margin-right: 15px;
}

.ayr-ml-20 {
    margin-left: 20px;
}

.ayr-w-50 {
    width: 50px;
}

.ayr-w-70 {
    width: 70px;
}

.ayr-w-110 {
    width: 110px;
}

.ayr-w-150 {
    width: 150px;
}

.ayr-w-180 {
    width: 180px;
}

.ayr-w-200 {
    width: 200px;
}

/* =========================================================
   MOBİL AYARLAR PANELİ
   ========================================================= */
.ayr-mobil-panel {
    background: #d6eaf8;
    border: 2px solid #1a3c6e;
    border-radius: 4px;
    width: calc(100% - 8px);
    margin: 8px auto 0 auto;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.ayr-mobil-baslik {
    background: #1a3c6e;
    color: #fff;
    padding: 8px 14px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-radius: 3px 3px 0 0;
}

.ayr-mobil-baslik-yazi {
    font-weight: 600;
    font-size: 15px;
}

.ayr-mobil-kapat {
    background: none;
    border: none;
    color: #fff;
    font-size: 18px;
    cursor: pointer;
    padding: 0;
    line-height: 1;
}

.ayr-mobil-sekmeler {
    padding: 10px 14px 0 14px;
    background: #f8f8f8;
    border-bottom: 1px solid #dee2e6;
}

.ayr-mobil-sekme-liste {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 4px;
}

.ayr-mobil-sekme-liste li {
    list-style: none;
}

.ayr-mobil-sekme-btn {
    padding: 6px 14px;
    border-bottom: none;
    border-radius: 4px 4px 0 0;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    margin-bottom: -1px;
    position: relative;
    z-index: 1;
}

.ayr-mobil-icerik {
    padding: 12px 14px;
    background: #fff;
}

/* =========================================================
   MASAÜSTÜ AYARLAR PANELİ
   ========================================================= */
.ayr-d-wrap {
    max-width: 650px;
    margin: 1rem auto 0.5rem auto;
    padding: 0 15px;
}

.ayr-d-panel {
    background: #f8f8f8;
    border: 2px solid #1a3c6e;
    border-radius: 4px;
}

.ayr-d-baslik {
    background: #1a3c6e;
    color: #fff;
    padding: 6px 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.ayr-d-baslik-yazi {
    font-weight: 600;
    font-size: 15px;
}



.ayr-d-body {
    padding: 12px 16px;
}

/* Sekmeler (Bootstrap nav-tabs birebir karşılığı) */
.ayr-tabs {
    display: flex;
    flex-wrap: nowrap;
    list-style: none;
    padding: 0;
    margin: 0 0 1rem 0;
    border-bottom: 1px solid #dee2e6;
}

.ayr-tabs li {
    list-style: none;
    margin-bottom: -1px;
}

.ayr-tabs .nav-link {
    display: block;
    white-space: nowrap;
    font-size: 1rem;
    padding: 0.5rem 1rem;
    cursor: pointer;
    background: none;
    border: 1px solid transparent;
    border-top-left-radius: 0.25rem;
    border-top-right-radius: 0.25rem;
    color: #0d6efd;
    text-decoration: none;
}

.ayr-tabs .nav-link:hover {
    border-color: #e9ecef #e9ecef #dee2e6;
    color: #0a58ca;
}

.ayr-tabs .nav-link.active {
    color: #495057;
    background-color: #fff;
    border-color: #dee2e6 #dee2e6 #fff;
    font-weight: normal;
}

.ayr-tab-pane {
    display: none;
}

.ayr-tab-inner {
    padding: 4px 0;
}

/* Masaüstü form satırı */
.ayr-d-row {
    display: flex;
    align-items: center;
    margin-bottom: 6px;
    margin-top: 10px;
}

.ayr-d-row-start {
    display: flex;
    align-items: flex-start;
    margin-bottom: 6px;
    margin-top: 10px;
}

.ayr-d-label {
    width: 110px;
    font-size: 13px;
    color: #000;
}

.ayr-d-label-top {
    width: 110px;
    font-size: 13px;
    color: #000;
    padding-top: 3px;
}

.ayr-d-label-sm {
    width: 50px;
    font-size: 13px;
    color: #000;
    margin-left: 25px;

}

.ayr-d-label-md {
    width: 70px;
    font-size: 13px;
    color: #000;
    margin-left: 25px;

}

.ayr-d-label-soyad {
    width: 70px;
    font-size: 13px;
    color: #000;
    margin-left: 20px;
}

.ayr-d-input {
    flex: 1;
    border: 1px solid #ccc;
    border-radius: 3px;
    padding: 6px 7px;
    font-size: 13px;
    color: #0000ff;
    font-weight: bold;
}

.ayr-d-input-180 {
    width: 180px;
    border: 1px solid #ccc;
    border-radius: 3px;
    padding: 6px 7px;
    font-size: 13px;
    color: #0000ff;
    font-weight: bold;
}

.ayr-d-input-200 {
    width: 200px;
    border: 1px solid #ccc;
    border-radius: 3px;
    padding: 6px 7px;
    font-size: 13px;
    color: #0000ff;
    font-weight: bold;
}

.ayr-d-input-150 {
    width: 150px;
    border: 1px solid #ccc;
    border-radius: 3px;
    padding: 6px 7px;
    font-size: 13px;
    color: #0000ff;
    font-weight: bold;
}

.ayr-d-textarea {
    flex: 1;
    border: 1px solid #ccc;
    border-radius: 3px;
    padding: 6px 7px;
    font-size: 13px;
    color: #0000ff;
    font-weight: bold;
    resize: vertical;
}


/* ayarlar.css dosyasının sonuna ekleyin */
.mobil-menu-btn {
    background: rgba(255, 255, 255, 0.1);
}

/* ===== FOOTER DÜZELTMESİ =====
   Orijinalde "row g-4 pb-3 align-items-center" kullanılıyordu; pb-3 (padding-bottom:1rem)
   style.css'teki paylaşılan .footer-row sınıfında eksik olduğu için burada tamamlanıyor. */
.footer-row {
    padding-bottom: 1rem;
}