html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 60px;
}

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
  color: var(--bs-secondary-color);
  text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
  text-align: start;
}
/* TD.v1 başlangıç admin ekranları */
.admin-login-wrap,
.admin-panel-wrap {
    max-width: 1100px;
    margin: 40px auto;
    padding: 16px;
}

.admin-login-card {
    max-width: 440px;
    margin: 0 auto;
    padding: 28px;
    border: 1px solid #ddd;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 10px 28px rgba(0, 0, 0, .08);
}

.admin-logo {
    width: 72px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 18px;
    background: #111827;
    color: #fff;
    font-weight: 800;
    margin-bottom: 18px;
}

.admin-login-card h1 {
    font-size: 24px;
    margin-bottom: 8px;
}

.admin-subtitle {
    color: #666;
    margin-bottom: 22px;
}

.admin-login-card label {
    margin-top: 14px;
    margin-bottom: 6px;
    font-weight: 700;
}

.admin-button,
.admin-exit-button {
    border: 0;
    border-radius: 12px;
    padding: 11px 16px;
    font-weight: 700;
    cursor: pointer;
}

.admin-button {
    width: 100%;
    margin-top: 20px;
    background: #111827;
    color: #fff;
}

.admin-exit-button {
    background: #7f1d1d;
    color: #fff;
}

.admin-hint {
    margin-top: 18px;
    padding: 12px;
    border-radius: 12px;
    background: #f3f4f6;
    font-size: 14px;
}

.admin-panel-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 24px;
    border-radius: 18px;
    background: #111827;
    color: #fff;
}

.admin-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    margin-top: 20px;
}

.admin-stat-card,
.admin-next-box {
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 16px;
    background: #fff;
}

.admin-stat-card span {
    display: block;
    color: #666;
    margin-bottom: 8px;
}

.admin-next-box {
    margin-top: 20px;
}

@media (max-width: 768px) {
    .admin-panel-header {
        align-items: flex-start;
        flex-direction: column;
    }

    .admin-grid {
        grid-template-columns: 1fr;
    }
}

/* TD.v1 ülke/dil/para modülü */
.admin-link-button,
.admin-small-button,
.td-module-grid a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    border: 0;
    border-radius: 12px;
    font-weight: 800;
    cursor: pointer;
}

.admin-link-button {
    background: #ffffff;
    color: #111827;
    padding: 10px 14px;
}

.admin-small-button {
    background: #111827;
    color: #fff;
    padding: 8px 10px;
    font-size: 13px;
}

.admin-alert {
    margin-top: 18px;
    padding: 14px 16px;
    border-radius: 14px;
    background: #ecfdf5;
    color: #065f46;
    border: 1px solid #a7f3d0;
    font-weight: 700;
}

.admin-form-card,
.admin-table-card {
    margin-top: 20px;
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 16px;
    background: #fff;
}

.td-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.td-form-grid label {
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-weight: 700;
}

.td-form-grid input,
.td-form-grid select {
    width: 100%;
    border: 1px solid #d1d5db;
    border-radius: 10px;
    padding: 10px 12px;
    font-weight: 500;
}

.td-check {
    flex-direction: row !important;
    align-items: center;
}

.td-check input {
    width: auto;
}

.td-form-section {
    grid-column: 1 / -1;
    border: 1px dashed #cbd5e1;
    border-radius: 14px;
    padding: 16px;
    background: #f8fafc;
}

.td-form-section h3 {
    margin-top: 0;
}

.td-form-button {
    grid-column: 1 / -1;
}

.td-responsive-table {
    width: 100%;
    overflow-x: auto;
}

.td-responsive-table table {
    width: 100%;
    border-collapse: collapse;
}

.td-responsive-table th,
.td-responsive-table td {
    padding: 12px;
    border-bottom: 1px solid #e5e7eb;
    text-align: left;
    vertical-align: top;
}

.td-responsive-table th {
    background: #f9fafb;
    color: #374151;
}

.td-badge {
    display: inline-block;
    padding: 5px 8px;
    border-radius: 999px;
    background: #eef2ff;
    color: #3730a3;
    font-weight: 800;
    font-size: 12px;
}

.td-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.td-module-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.td-module-grid a {
    min-height: 72px;
    background: #111827;
    color: #fff;
    padding: 16px;
}

@media (max-width: 768px) {
    .td-form-grid,
    .td-module-grid {
        grid-template-columns: 1fr;
    }
}


/* TD.v1 kesin çalışan admin modül butonları */
.td-module-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin-top: 12px;
}

.td-module-grid .td-module-btn,
.td-module-grid a.td-module-btn {
    display: flex !important;
    align-items: center;
    justify-content: center;
    min-height: 58px;
    width: 100%;
    background: #111827;
    color: #ffffff !important;
    text-align: center;
    text-decoration: none !important;
    border-radius: 12px;
    font-weight: 900;
    cursor: pointer;
    user-select: none;
    position: relative;
    z-index: 5;
}

.td-module-grid .td-module-btn:hover,
.td-module-grid a.td-module-btn:hover {
    background: #1f2937;
    color: #ffffff !important;
    text-decoration: none !important;
}

.td-quick-links {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.td-quick-links a {
    display: inline-flex;
    padding: 8px 12px;
    border-radius: 10px;
    background: #f3f4f6;
    color: #111827;
    font-weight: 700;
    text-decoration: none;
}

@media (max-width: 768px) {
    .td-module-grid {
        grid-template-columns: 1fr;
    }
}

/* Firma kayıt/onay modülü */
.td-page-wrap {
    max-width: 920px;
    margin: 36px auto;
    padding: 0 12px;
}

.td-page-header {
    background: #111827;
    color: #fff;
    border-radius: 14px;
    padding: 22px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 16px;
}

.td-page-header h1 {
    margin: 0 0 6px 0;
    font-weight: 900;
}

.td-page-header p {
    margin: 0;
}

.td-light-btn,
.td-main-btn,
.td-danger-btn,
.td-module-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 10px;
    padding: 11px 16px;
    font-weight: 900;
    text-decoration: none;
    cursor: pointer;
}

.td-light-btn {
    background: #fff;
    color: #111827;
}

.td-main-btn {
    background: #111827;
    color: #fff;
    width: 100%;
    margin-top: 16px;
}

.td-danger-btn {
    background: #991b1b;
    color: #fff;
    width: 100%;
    margin-top: 10px;
}

.td-module-link {
    background: #111827;
    color: #fff;
    margin: 6px;
}

.td-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    padding: 20px;
    margin-bottom: 16px;
}

.td-card h2 {
    margin-top: 0;
    font-weight: 900;
}

.td-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.td-form-grid label,
.td-form-full label,
.td-reject-form label {
    display: block;
    font-weight: 800;
    margin-bottom: 5px;
}

.td-form-grid input,
.td-form-grid select,
.td-form-full textarea,
.td-reject-form textarea {
    width: 100%;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    padding: 10px;
}

.td-form-full {
    margin-top: 12px;
}

.td-form-full textarea,
.td-reject-form textarea {
    min-height: 90px;
}

.td-alert {
    padding: 12px 14px;
    background: #fff7ed;
    border: 1px solid #fed7aa;
    color: #9a3412;
    border-radius: 10px;
    margin-bottom: 14px;
    font-weight: 800;
}

.td-table {
    width: 100%;
    border-collapse: collapse;
}

.td-table th,
.td-table td {
    padding: 12px;
    border-bottom: 1px solid #e5e7eb;
    text-align: left;
    vertical-align: top;
}

.td-table th {
    background: #f9fafb;
}

.td-status {
    display: inline-block;
    padding: 5px 8px;
    border-radius: 999px;
    background: #eef2ff;
    color: #3730a3;
    font-weight: 900;
}

.td-detail-grid {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 16px;
}

.td-logo-preview {
    max-width: 180px;
    max-height: 120px;
    object-fit: contain;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    padding: 8px;
    margin-bottom: 12px;
}

.td-center-card {
    text-align: center;
}

@media (max-width: 768px) {
    .td-page-header,
    .td-detail-grid {
        display: block;
    }

    .td-form-grid {
        grid-template-columns: 1fr;
    }

    .td-light-btn {
        margin-top: 12px;
    }

    .td-table {
        font-size: 13px;
    }
}

/* TD.v1 Katalog Modülü */
.td-page-wrap {
    max-width: 980px;
    margin: 42px auto;
    padding: 0 14px;
}

.td-light-btn {
    background: #fff;
    color: #111827;
    padding: 11px 16px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 800;
}

.td-light-btn:hover {
    color: #111827;
    background: #f3f4f6;
}

.td-alert {
    margin: 14px 0;
    padding: 13px 15px;
    border-radius: 10px;
    background: #fff7ed;
    border: 1px solid #fed7aa;
    color: #9a3412;
    font-weight: 700;
}

.td-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.td-form-grid label,
.td-mini-form label {
    display: block;
    font-weight: 700;
    margin-bottom: 6px;
}

.td-form-grid input,
.td-form-grid select,
.td-mini-form input,
.td-mini-form select {
    width: 100%;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    padding: 10px;
}

.td-span-2 {
    grid-column: span 2;
}

.td-check {
    display: flex !important;
    gap: 8px;
    align-items: center;
}

.td-check input {
    width: auto !important;
}

.td-submit {
    background: #111827;
    color: white;
    border: 0;
    border-radius: 8px;
    padding: 11px 15px;
    font-weight: 800;
    cursor: pointer;
}

.td-submit:hover {
    background: #1f2937;
}

.td-three-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}

.td-mini-form {
    border: 1px dashed #d1d5db;
    border-radius: 12px;
    padding: 14px;
    background: #fafafa;
}

.td-mini-form h3 {
    margin-top: 0;
}

.td-mini-form input,
.td-mini-form select,
.td-mini-form button {
    margin-bottom: 10px;
}

.td-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
}

.td-table th,
.td-table td {
    border-bottom: 1px solid #e5e7eb;
    padding: 10px;
    text-align: left;
    vertical-align: top;
}

.td-table th {
    background: #f9fafb;
    font-weight: 800;
}

.td-mt {
    margin-top: 22px;
}

@media (max-width: 900px) {
    .td-form-grid,
    .td-three-grid {
        grid-template-columns: 1fr;
    }

    .td-span-2 {
        grid-column: span 1;
    }
}

/* Katalog ergonomi düzeltmeleri */
.td-wide-page { max-width: 1280px; }
.td-catalog-header { margin-bottom: 18px; }
.td-catalog-shell { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 18px; align-items: start; }
.td-catalog-steps { position: sticky; top: 20px; display: grid; gap: 12px; }
.td-step-card { display: grid; grid-template-columns: 42px 1fr; gap: 6px 12px; align-items: center; background: #111827; color: white; border-radius: 14px; padding: 16px; text-decoration: none; box-shadow: 0 8px 20px rgba(0,0,0,.08); }
.td-step-card:hover { color: white; background: #1f2937; transform: translateY(-1px); }
.td-step-card span { grid-row: span 2; width: 36px; height: 36px; border-radius: 999px; display: grid; place-items: center; background: white; color: #111827; font-weight: 900; }
.td-step-card strong { font-size: 15px; }
.td-step-card small { color: #d1d5db; }
.td-catalog-main { display: grid; gap: 16px; }
.td-step-section { scroll-margin-top: 20px; }
.td-step-no { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 999px; background: #111827; color: white; margin-right: 8px; font-size: 16px; }
.td-list-head { display: flex; justify-content: space-between; gap: 12px; align-items: end; margin-bottom: 12px; }
.td-list-head p { margin: 4px 0 0; color: #6b7280; }
.td-search, .td-search-group input { min-width: 220px; padding: 10px 12px; border: 1px solid #d1d5db; border-radius: 10px; }
.td-search-group { display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end; }
.td-scroll-table { max-height: 340px; overflow: auto; border: 1px solid #e5e7eb; border-radius: 12px; }
.td-scroll-table table { margin: 0; }
.td-list-panel details { border: 1px solid #e5e7eb; border-radius: 12px; padding: 10px; margin-top: 10px; }
.td-list-panel summary { cursor: pointer; font-weight: 800; color: #111827; }
.td-muted { color: #6b7280; font-size: 12px; }
.td-flag-img { width: 46px; height: 32px; object-fit: cover; border-radius: 5px; border: 1px solid #ddd; background: #f9fafb; }
.td-flag-mini { width: 30px; height: 20px; object-fit: cover; border-radius: 4px; border: 1px solid #ddd; margin-left: 6px; vertical-align: middle; }
.td-flag-preview-box { display: grid; gap: 6px; align-content: start; }
.td-flag-preview-box span { font-size: 12px; color: #6b7280; }
.td-flag-preview { width: 74px; height: 48px; object-fit: cover; border: 1px dashed #cbd5e1; border-radius: 8px; background: #f8fafc; }
.td-logo-list { width: 54px; height: 54px; object-fit: contain; border-radius: 10px; border: 1px solid #e5e7eb; background: white; padding: 4px; }
@media (max-width: 980px) { .td-catalog-shell { grid-template-columns: 1fr; } .td-catalog-steps { position: static; grid-template-columns: 1fr 1fr; } .td-list-head { display: block; } .td-search, .td-search-group input { width: 100%; min-width: 0; margin-top: 8px; } }
@media (max-width: 640px) { .td-catalog-steps { grid-template-columns: 1fr; } }

/* TD.v1 Talep Açma Modülü */
.td-page-shell {
    max-width: 1180px;
    margin: 32px auto;
    padding: 0 16px;
}

.td-page-header {
    background: linear-gradient(135deg, #111827, #243145);
    color: #fff;
    border-radius: 18px;
    padding: 24px;
    margin-bottom: 18px;
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.18);
}

.td-page-header h1 { margin: 0 0 8px 0; font-weight: 900; }
.td-page-header p { margin: 0; color: #dbeafe; }
.td-page-header-flex { display: flex; justify-content: space-between; gap: 18px; align-items: center; }

.td-primary-btn, .td-secondary-btn, .td-small-btn {
    display: inline-block;
    border: none;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 800;
    cursor: pointer;
}
.td-primary-btn { background: #0f766e; color: white; padding: 12px 18px; }
.td-primary-btn:hover { background: #115e59; color: white; }
.td-secondary-btn { background: #e5e7eb; color: #111827; padding: 12px 18px; }
.td-secondary-btn:hover { background: #d1d5db; color: #111827; }
.td-small-btn { background: #111827; color: white; padding: 8px 12px; }
.td-small-btn:hover { color: white; background: #374151; }

.td-filter-bar {
    display: grid;
    grid-template-columns: minmax(260px, 1fr) 220px 100px 100px;
    gap: 10px;
    margin-bottom: 14px;
}
.td-filter-bar input, .td-filter-bar select, .td-filter-bar button, .td-filter-bar a {
    border: 1px solid #d1d5db;
    border-radius: 10px;
    padding: 11px 12px;
    background: #fff;
}
.td-filter-bar button { background: #111827; color: #fff; font-weight: 800; }
.td-filter-bar a { text-align: center; color: #111827; text-decoration: none; font-weight: 700; }

.td-table-card, .td-card {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 16px;
    box-shadow: 0 8px 22px rgba(15, 23, 42, 0.06);
    margin-bottom: 16px;
}

.td-clean-table { width: 100%; border-collapse: collapse; }
.td-clean-table th, .td-clean-table td { padding: 12px; border-bottom: 1px solid #eef2f7; vertical-align: top; }
.td-clean-table th { text-align: left; color: #374151; background: #f9fafb; }

.td-status { display: inline-block; border-radius: 999px; padding: 5px 9px; font-size: 12px; font-weight: 900; background: #e5e7eb; color: #111827; }
.td-status-aktif, .td-status-teklif_toplaniyor { background: #dcfce7; color: #166534; }
.td-status-pazarlikta { background: #fef3c7; color: #92400e; }
.td-status-siparis_verildi { background: #dbeafe; color: #1d4ed8; }
.td-status-kapandi, .td-status-tamamlandi { background: #e0e7ff; color: #3730a3; }
.td-status-iptal_edildi { background: #fee2e2; color: #991b1b; }

.td-demand-layout { display: grid; grid-template-columns: 260px 1fr; gap: 18px; align-items: start; }
.td-step-rail { position: sticky; top: 16px; background: #111827; border-radius: 18px; padding: 14px; display: grid; gap: 10px; }
.td-step-rail a { display: flex; align-items: center; gap: 10px; color: white; text-decoration: none; font-weight: 800; padding: 11px; border-radius: 12px; background: rgba(255,255,255,.06); }
.td-step-rail a:hover { background: rgba(255,255,255,.14); color: white; }
.td-step-rail span { width: 28px; height: 28px; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; background: #0f766e; }
.td-step-rail .td-muted-link { background: #374151; justify-content: center; }

.td-card h2 { margin-top: 0; display: flex; align-items: center; gap: 10px; color: #111827; }
.td-card h2 span { width: 30px; height: 30px; border-radius: 50%; background: #0f766e; color: white; display: inline-flex; align-items: center; justify-content: center; font-size: 15px; }

.td-form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.td-form-grid label, .td-card label { display: grid; gap: 7px; font-weight: 800; color: #374151; }
.td-form-grid input, .td-form-grid select, .td-form-grid textarea, .td-card input, .td-card select, .td-card textarea {
    width: 100%; border: 1px solid #d1d5db; border-radius: 10px; padding: 11px 12px; font-weight: 500; background: white;
}
.td-col-span { grid-column: 1 / -1; }
.td-country-picker { margin-top: 12px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; max-height: 260px; overflow: auto; border: 1px solid #e5e7eb; padding: 12px; border-radius: 12px; }
.td-country-picker label { background: #f9fafb; border-radius: 10px; padding: 9px; display: flex; align-items: center; gap: 8px; font-weight: 700; }
.td-country-picker small { color: #6b7280; margin-left: auto; }
.td-action-row { display: flex; gap: 10px; margin-top: 14px; }

.td-detail-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.td-dl { display: grid; grid-template-columns: 140px 1fr; gap: 8px 12px; margin: 0; }
.td-dl dt { color: #6b7280; font-weight: 900; }
.td-dl dd { margin: 0; }
.td-pre { white-space: pre-wrap; background: #f9fafb; border-radius: 12px; padding: 12px; border: 1px solid #e5e7eb; }
.td-chip-list { display: flex; flex-wrap: wrap; gap: 8px; }
.td-chip { padding: 8px 10px; border-radius: 999px; background: #ecfeff; color: #155e75; font-weight: 800; }
.td-inline-form { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.td-inline-form select, .td-inline-form button { border-radius: 10px; border: 1px solid #d1d5db; padding: 10px 12px; }
.td-inline-form button { background: #111827; color: #fff; font-weight: 800; }

@media (max-width: 900px) {
    .td-page-header-flex, .td-detail-grid { display: block; }
    .td-filter-bar { grid-template-columns: 1fr; }
    .td-demand-layout { grid-template-columns: 1fr; }
    .td-step-rail { position: static; }
    .td-form-grid { grid-template-columns: 1fr; }
    .td-country-picker { grid-template-columns: 1fr; }
    .td-clean-table { display: block; overflow-x: auto; }
}


.td-helper-panel {
    background: #f8fafc;
    border: 1px dashed #94a3b8;
    border-radius: 10px;
    padding: 12px;
    color: #334155;
}

.td-helper-panel pre {
    white-space: pre-wrap;
    margin: 8px 0 0 0;
    font-family: Consolas, monospace;
    font-size: 13px;
}

.td-wolf-score {
    display: inline-block;
    margin-top: 4px;
    padding: 3px 8px;
    border-radius: 999px;
    background: #fff7ed;
    color: #9a3412;
    font-size: 12px;
    font-weight: 800;
}

/* TD.v1 yönetim ergonomisi */
.td-inline-edit-form,
.td-row-action-form {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    align-items: center;
}

.td-inline-edit-form input,
.td-inline-edit-form select,
.td-row-action-form select {
    min-width: 110px;
    max-width: 220px;
    padding: 6px 8px;
    border: 1px solid #d7dce5;
    border-radius: 7px;
    font-size: 12px;
}

.td-inline-edit-form label {
    display: flex;
    flex-direction: column;
    gap: 3px;
    font-size: 11px;
    color: #4b5563;
}

.td-small-btn {
    border: 0;
    background: #111827;
    color: #fff;
    border-radius: 7px;
    padding: 7px 10px;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
}

.td-small-btn:hover {
    background: #243044;
}

.td-compact-table td {
    vertical-align: top;
}

.td-scroll-table-tall {
    max-height: 580px;
    overflow: auto;
}


/* Talep kayıt hata kutusu */
.td-validation-summary {
    display: block;
    grid-column: 1 / -1;
    background: #fff4f4;
    border: 1px solid #fecaca;
    color: #991b1b;
    padding: 12px 14px;
    border-radius: 10px;
    margin-bottom: 14px;
}
.td-validation-summary.validation-summary-valid { display: none; }

/* Katalog arama sonrası tekli/çoklu seçim */
.td-selection-tools {
    display: flex;
    gap: 8px;
    align-items: center;
    flex-wrap: wrap;
    margin-top: 8px;
}
.td-selection-tools button {
    border: 0;
    background: #111827;
    color: #fff;
    border-radius: 8px;
    padding: 8px 10px;
    font-weight: 700;
    cursor: pointer;
}
.td-selection-count {
    color: #374151;
    font-size: 13px;
}
.td-select-cell {
    width: 34px;
    vertical-align: middle;
}
.td-row-selected {
    outline: 2px solid #2563eb;
    background: #eff6ff !important;
}
.td-scroll-table tbody tr {
    cursor: pointer;
}
.td-scroll-table tbody tr input,
.td-scroll-table tbody tr select,
.td-scroll-table tbody tr button,
.td-scroll-table tbody tr a,
.td-scroll-table tbody tr textarea {
    cursor: auto;
}

/* TD.v1 rapor, yazdirma, yardim balonlari */
.td-help-dot {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #111827;
    color: #fff;
    font-weight: 800;
    font-size: 12px;
    cursor: pointer;
    margin-left: 6px;
}

.td-small-note {
    display: block;
    margin-top: 5px;
    color: #4b5563;
    font-size: 12px;
}

.print-only { display: none; }

@media print {
    header, footer, .no-print, .td-action-row, .td-danger-btn, .td-secondary-btn, .td-primary-btn { display: none !important; }
    .container { max-width: 100% !important; width: 100% !important; }
    .td-page-shell, .td-panel-wrap { max-width: 100% !important; margin: 0 !important; padding: 0 !important; }
    .td-card { border: 1px solid #999 !important; box-shadow: none !important; page-break-inside: avoid; }
    .print-only { display: block !important; }
    body { background: white !important; color: black !important; }
}

/* Teklif verme modülü */
.td-alert-danger {
    border: 1px solid #fecaca;
    background: #fef2f2;
    color: #991b1b;
    border-radius: 12px;
    padding: 12px 16px;
    margin: 14px 0;
    font-weight: 700;
}

.td-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.td-form-grid label {
    display: block;
    font-weight: 800;
    margin-bottom: 6px;
}

.td-form-grid input,
.td-form-grid select,
.td-form-grid textarea {
    width: 100%;
    border: 1px solid #d1d5db;
    border-radius: 10px;
    padding: 10px 12px;
}

.td-form-full {
    grid-column: 1 / -1;
}

.td-full-btn {
    width: 100%;
    display: block;
    text-align: center;
    border: 0;
}

.td-checkbox-line {
    display: flex !important;
    align-items: center;
    gap: 8px;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    padding: 12px;
    margin: 0 !important;
}

.td-checkbox-line input {
    width: auto !important;
}

.td-mini-section-head {
    margin-bottom: 12px;
}

.td-inner-table {
    box-shadow: none;
    margin: 0;
}

.td-action-row-mini {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.td-accept-btn {
    background: #047857 !important;
    color: #fff !important;
    border: 0;
}

.td-danger-mini {
    background: #991b1b !important;
    color: #fff !important;
    border: 0;
}

@media (max-width: 768px) {
    .td-form-grid {
        grid-template-columns: 1fr;
    }
}

/* OTURUM KİMLİK PANELİ */
.td-top-session{display:flex;align-items:center;gap:8px;margin-left:auto}.td-session-pill{display:inline-flex;flex-direction:column;gap:2px;border-radius:10px;padding:8px 12px;text-decoration:none;font-weight:800;font-size:13px;border:1px solid #e5e7eb}.td-session-pill small{font-weight:700;opacity:.85}.td-admin-pill{background:#111827;color:#fff!important}.td-firma-pill{background:#ecfeff;color:#164e63!important;border-color:#a5f3fc}.td-guest-pill{background:#f3f4f6;color:#374151}.td-app-shell{display:flex;gap:18px;align-items:flex-start}.td-left-identity{width:230px;flex:0 0 230px;position:sticky;top:78px}.td-main-content{flex:1;min-width:0}.td-identity-card{border-radius:16px;padding:14px;background:#fff;border:1px solid #e5e7eb;box-shadow:0 10px 24px rgba(15,23,42,.06);font-size:13px;line-height:1.65}.td-identity-card.admin{border-left:5px solid #111827}.td-identity-card.firma{border-left:5px solid #0891b2}.td-identity-title{font-weight:900;font-size:16px;margin-bottom:8px}.td-identity-card a{display:block;margin-top:8px;padding:8px 10px;border-radius:8px;background:#111827;color:#fff!important;text-decoration:none;text-align:center;font-weight:800}.td-trust-big{font-size:16px;font-weight:900}.td-session-form-card{border:1px solid #a5f3fc;background:#ecfeff;border-radius:12px;padding:13px;line-height:1.7}.td-session-form-card small{display:block;color:#0f766e;font-weight:700;margin-top:4px}@media(max-width:1100px){.td-app-shell{display:block}.td-left-identity{position:static;width:auto;margin-bottom:14px}.td-top-session{display:none}}@media print{.td-left-identity,.td-top-session{display:none!important}.td-app-shell{display:block!important}.td-main-content{width:100%!important}}


/* TD.v1 kesin hizalama: sol kimlik paneli + talep tablo/buton taşması */
.td-app-shell {
    max-width: 1280px;
    margin: 24px auto;
    padding: 0 16px;
    box-sizing: border-box;
}
.td-main-content .td-page-shell,
.td-main-content .td-panel-wrap {
    max-width: 100%;
    width: 100%;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
.td-page-header-flex {
    align-items: flex-start;
    flex-wrap: wrap;
}
.td-page-header-flex > div:first-child {
    min-width: 260px;
    flex: 1 1 320px;
}
.td-action-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    align-items: stretch;
    gap: 8px;
    max-width: 720px;
    margin-top: 0;
}
.td-action-row .td-primary-btn,
.td-action-row .td-secondary-btn,
.td-action-row button {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    white-space: normal;
    line-height: 1.15;
    max-width: 150px;
}
.td-table-card {
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    overflow-y: visible;
    box-sizing: border-box;
}
.td-table-card .td-clean-table {
    min-width: 900px;
}
.td-clean-table th,
.td-clean-table td {
    overflow-wrap: anywhere;
    word-break: normal;
}
.td-clean-table td:last-child,
.td-clean-table th:last-child {
    min-width: 86px;
    white-space: nowrap;
    text-align: center;
}
.td-small-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    white-space: normal;
    line-height: 1.1;
    text-align: center;
}
.td-wolf-score {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    border-radius: 999px;
    padding: 4px 8px;
    background: #fff7ed;
    color: #9a3412;
    font-weight: 900;
    white-space: nowrap;
}
@media (max-width: 1100px) {
    .td-app-shell {
        display: block;
        margin: 18px auto;
    }
    .td-action-row {
        justify-content: flex-start;
        max-width: none;
        margin-top: 12px;
    }
}
@media (max-width: 720px) {
    .td-action-row .td-primary-btn,
    .td-action-row .td-secondary-btn,
    .td-action-row button {
        flex: 1 1 140px;
        max-width: none;
    }
    .td-table-card .td-clean-table {
        min-width: 760px;
    }
}

/* =========================================================
   TD.v1 MOCKUP AYNISI TECH UI - Kilit tasarım katmanı
   ========================================================= */
:root{
    --td-bg:#f4f8fb;
    --td-panel:#ffffff;
    --td-ink:#0f172a;
    --td-soft:#64748b;
    --td-line:#e6edf4;
    --td-sidebar:#071421;
    --td-sidebar-2:#0d1b2b;
    --td-teal:#0f766e;
    --td-teal-2:#0b8f7f;
    --td-teal-soft:#e8f8f5;
    --td-danger:#dc2626;
    --td-danger-soft:#fee2e2;
    --td-ok:#16a34a;
    --td-ok-soft:#dcfce7;
    --td-shadow:0 20px 60px rgba(15,23,42,.10);
    --td-shadow-sm:0 10px 30px rgba(15,23,42,.07);
    --td-radius:20px;
}
*{box-sizing:border-box}
body.td-auth-body{margin:0!important;background:radial-gradient(circle at top left,#eefdfb 0,#f4f8fb 28%,#f6f8fb 100%)!important;color:var(--td-ink);font-family:Inter,Segoe UI,system-ui,-apple-system,BlinkMacSystemFont,Arial,sans-serif;overflow-x:hidden}
.td-tech-shell{min-height:100vh;display:grid;grid-template-columns:230px minmax(0,1fr);background:var(--td-bg)}
.td-tech-sidebar{position:sticky;top:0;height:100vh;background:linear-gradient(180deg,#071421,#0b1726 62%,#08131f);color:#e5f2f3;padding:22px 18px;box-shadow:14px 0 40px rgba(15,23,42,.10);display:flex;flex-direction:column;z-index:1050}
.td-tech-logo{display:flex;align-items:center;gap:12px;text-decoration:none;color:#fff;margin-bottom:38px}
.td-tech-logo img{width:42px;height:42px;filter:drop-shadow(0 8px 18px rgba(20,184,166,.28))}
.td-tech-logo b{display:block;font-size:22px;letter-spacing:.08em;line-height:1;font-weight:950;color:#fff}
.td-tech-logo small{display:block;margin-top:5px;font-size:10px;letter-spacing:.1em;text-transform:uppercase;color:#a7f3d0;font-weight:800}
.td-side-title{font-size:12px;letter-spacing:.08em;text-transform:uppercase;color:#7d94aa;margin:2px 0 12px;font-weight:900}
.td-lang-menu{display:flex;flex-direction:column;gap:9px}
.td-lang-menu a{height:42px;display:flex;align-items:center;gap:10px;padding:0 12px;border-radius:14px;color:#dce9ef;text-decoration:none;font-weight:850;font-size:14px;border:1px solid transparent;transition:.18s ease;background:transparent}
.td-lang-menu a:first-child,.td-lang-menu a:hover{background:rgba(20,184,166,.12);border-color:rgba(20,184,166,.22);color:#fff;transform:translateX(2px)}
.td-lang-menu span{font-size:19px;line-height:1}
.td-side-spacer{flex:1}
.td-side-exit button{width:100%;display:flex;align-items:center;gap:10px;border:0;background:transparent;color:#e5eef5;font-weight:900;padding:13px 10px;border-radius:14px;text-align:left}
.td-side-exit button:hover{background:rgba(255,255,255,.08)}
.td-side-exit img{width:18px;height:18px;filter:invert(1)}
.td-tech-main{min-width:0;display:flex;flex-direction:column}
.td-tech-topbar{height:82px;background:rgba(255,255,255,.94);backdrop-filter:saturate(180%) blur(16px);border-bottom:1px solid var(--td-line);display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;padding:0 26px;gap:22px;position:sticky;top:0;z-index:900;box-shadow:0 6px 24px rgba(15,23,42,.04)}
.td-top-left{display:flex;align-items:center;gap:14px;min-width:180px}.td-current-user strong{font-weight:950;font-size:16px;color:#0f172a;white-space:nowrap}.td-menu-toggle{width:42px;height:42px;border:0;border-radius:13px;background:#ecfdf5;display:inline-flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;box-shadow:0 8px 24px rgba(15,118,110,.10)}
.td-menu-toggle span{width:18px;height:2px;border-radius:9px;background:#0f766e;display:block}.td-icon-nav{display:flex;align-items:center;gap:2px;justify-content:center;min-width:0;overflow-x:auto;scrollbar-width:none}.td-icon-nav::-webkit-scrollbar{display:none}
.td-icon-nav a{height:58px;min-width:108px;display:inline-flex;align-items:center;justify-content:center;gap:8px;text-decoration:none;color:#122033;font-weight:950;font-size:13px;border-radius:0;padding:0 10px;white-space:nowrap;transition:.18s ease;border-bottom:3px solid transparent}
.td-icon-nav a:hover{background:#f8fafc;border-bottom-color:#0f766e;color:#0f766e}.td-icon-nav img{width:23px;height:23px;object-fit:contain}.td-top-right{display:flex;align-items:center;gap:12px;justify-content:flex-end}.td-bell{width:44px;height:44px;border:0;background:#fff;border-radius:50%;box-shadow:0 10px 28px rgba(15,23,42,.08);display:grid;place-items:center}.td-bell img{width:21px;height:21px}.td-user-pill{display:grid;grid-template-columns:42px auto;grid-template-rows:auto auto;column-gap:10px;align-items:center;min-width:166px}.td-user-pill span{grid-row:1/3;width:42px;height:42px;border-radius:50%;display:grid;place-items:center;background:#0f172a;color:#fff;font-weight:950}.td-user-pill b{font-size:14px;line-height:1.1;font-weight:950}.td-user-pill small{color:#64748b;font-size:12px;font-weight:700}
.td-tech-content{width:100%;max-width:1440px;margin:0 auto;padding:34px 34px 60px}.td-page-shell,.td-page-wrap,.admin-panel-wrap,.admin-login-wrap{max-width:1260px!important;margin:0 auto!important;padding:0!important}.td-page-header,.admin-panel-header{background:#fff!important;color:#0f172a!important;border-radius:var(--td-radius)!important;border:1px solid var(--td-line)!important;box-shadow:var(--td-shadow-sm)!important;padding:26px 30px!important;margin:0 0 22px!important;min-height:118px;position:relative;overflow:hidden}.td-page-header:before,.admin-panel-header:before{content:"";position:absolute;right:24px;top:-42px;width:120px;height:120px;border-radius:50%;background:rgba(15,118,110,.08)}.td-page-header h1,.admin-panel-header h1{color:#0f172a!important;font-size:32px!important;line-height:1.08!important;font-weight:1000!important;margin:0 0 8px!important;letter-spacing:-.035em}.td-page-header p,.admin-panel-header p{color:#475569!important;margin:0!important;font-weight:650}.td-page-header-flex{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:24px!important}.td-action-row,.td-action-row-mini{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.td-primary-btn,.td-secondary-btn,.td-module-btn,.admin-link-button,.admin-small-button,.td-small-btn,.td-filter-bar button,.td-filter-bar a,.td-accept-btn,.td-danger-mini,.td-warning-mini,.td-danger-btn{min-height:44px;border-radius:12px!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:8px;text-decoration:none!important;font-weight:950!important;font-size:14px!important;padding:10px 18px!important;border:1px solid #d7e2ea!important;box-shadow:0 10px 24px rgba(15,23,42,.06);transition:.18s ease;white-space:nowrap}.td-primary-btn,.td-module-btn,.td-filter-bar button,.td-accept-btn{background:linear-gradient(180deg,#0c9485,#0f766e)!important;color:#fff!important;border-color:#0f766e!important}.td-secondary-btn,.td-small-btn,.td-filter-bar a,.admin-link-button{background:#fff!important;color:#0f172a!important}.td-primary-btn:hover,.td-secondary-btn:hover,.td-small-btn:hover,.td-module-btn:hover{transform:translateY(-1px);box-shadow:0 16px 34px rgba(15,23,42,.10)}.td-danger-btn,.td-danger-mini{background:#b91c1c!important;color:#fff!important;border-color:#b91c1c!important}.td-warning-mini{background:#f59e0b!important;color:#111827!important;border-color:#f59e0b!important}.td-small-btn,.td-danger-mini,.td-warning-mini{min-height:34px!important;padding:7px 11px!important;font-size:12px!important;box-shadow:none}.td-filter-bar{display:grid!important;grid-template-columns:minmax(220px,1fr) 220px 110px 110px!important;gap:12px!important;margin:20px 0!important;align-items:center}.td-filter-bar input,.td-filter-bar select,.td-filter-bar textarea,.td-form-grid input,.td-form-grid select,.td-form-grid textarea,input,select,textarea{border:1px solid #dce6ee!important;border-radius:13px!important;min-height:46px;padding:0 14px!important;box-shadow:0 8px 22px rgba(15,23,42,.035);font-weight:650;color:#0f172a;background:#fff}.td-filter-bar input:focus,.td-filter-bar select:focus,input:focus,select:focus,textarea:focus{outline:none!important;border-color:#0f766e!important;box-shadow:0 0 0 4px rgba(15,118,110,.12)!important}.td-table-card,.td-card,.admin-table-card,.admin-form-card,.td-info-card,.admin-stat-card,.admin-next-box{background:#fff!important;border:1px solid var(--td-line)!important;border-radius:var(--td-radius)!important;box-shadow:var(--td-shadow-sm)!important}.td-table-card{padding:16px!important;overflow:hidden}.td-clean-table{width:100%!important;border-collapse:separate!important;border-spacing:0!important;background:#fff}.td-clean-table thead th{background:#f8fafc!important;color:#334155!important;font-size:13px!important;text-transform:none!important;font-weight:950!important;padding:18px 15px!important;border-bottom:1px solid var(--td-line)!important;white-space:nowrap}.td-clean-table tbody td{padding:18px 15px!important;border-bottom:1px solid #edf2f7!important;vertical-align:middle!important;color:#0f172a!important;font-size:14px!important}.td-clean-table tbody tr:hover{background:#fbfefd}.td-clean-table tbody tr:last-child td{border-bottom:0!important}.td-clean-table strong{font-weight:950;color:#0f172a}.td-clean-table small{color:#64748b;font-weight:700}.td-status{display:inline-flex!important;align-items:center;justify-content:center;min-width:78px;padding:7px 11px!important;border-radius:999px!important;font-weight:950!important;font-size:12px!important;line-height:1.1;text-transform:capitalize}.td-status-tamamlandi,.td-status-Tamamlandı,.td-status-siparis_verildi,.td-status-aktif,.td-status-kabul_edildi,.td-status-gecerli{background:var(--td-ok-soft)!important;color:#047857!important}.td-status-kapandi,.td-status-Kapandı,.td-status-iptal_edildi,.td-status-reddedildi{background:var(--td-danger-soft)!important;color:#dc2626!important}.td-status-teklif_toplaniyor,.td-status-pazarlikta,.td-status-siparis_olusturuldu{background:#e0f2fe!important;color:#0369a1!important}.td-status-hazirlaniyor,.td-status-sevkiyatta,.td-status-alici_onayi_bekliyor{background:#fef3c7!important;color:#92400e!important}.td-wolf-score{display:inline-flex;background:#fff7ed;color:#9a3412;border-radius:999px;padding:5px 9px;font-weight:950;font-size:12px}.td-info-grid,.admin-grid{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:16px!important;margin:20px 0!important}.td-info-card,.admin-stat-card{padding:22px!important}.td-info-card span,.admin-stat-card span{font-size:13px;color:#64748b;font-weight:900}.td-info-card strong,.admin-stat-card strong{display:block;color:#0f766e;font-size:34px;font-weight:1000;line-height:1.1;margin-top:8px}.td-card{padding:26px!important;margin:20px 0!important}.td-card h2{font-weight:1000;letter-spacing:-.025em;color:#0f172a}.td-module-grid{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:12px!important;margin-top:18px}.td-module-btn{min-height:58px!important;justify-content:flex-start!important}.td-detail-grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.td-alert-info,.admin-alert{background:#ecfeff!important;color:#155e75!important;border:1px solid #bae6fd!important;border-radius:16px!important;padding:14px 18px!important;font-weight:900!important;margin:16px 0!important}.td-sidebar-backdrop{display:none}.td-public-body{background:#f6f8fb!important}
@media (max-width:1180px){.td-tech-shell{grid-template-columns:88px minmax(0,1fr)}.td-tech-sidebar{padding:18px 12px;align-items:center}.td-tech-logo span,.td-side-title,.td-lang-menu a:not(:first-child),.td-lang-menu a{font-size:0}.td-lang-menu a{width:48px;justify-content:center;padding:0}.td-lang-menu span{font-size:22px}.td-side-exit button{font-size:0;justify-content:center}.td-icon-nav a span{display:none}.td-icon-nav a{min-width:58px}.td-current-user{display:none}.td-user-pill b,.td-user-pill small{display:none}.td-user-pill{min-width:auto;display:block}}
@media (max-width:820px){body.td-auth-body{background:#f5f9fc!important}.td-tech-shell{display:block}.td-tech-sidebar{position:fixed;left:0;top:0;width:290px;max-width:86vw;transform:translateX(-105%);transition:.22s ease;align-items:stretch;z-index:1200}.td-tech-sidebar.is-open{transform:translateX(0)}.td-tech-logo span,.td-side-title,.td-side-exit button{font-size:initial}.td-lang-menu a{font-size:14px;width:auto;justify-content:flex-start}.td-sidebar-backdrop.is-open{display:block;position:fixed;inset:0;background:rgba(2,6,23,.42);z-index:1100}.td-tech-topbar{height:72px;display:flex;justify-content:space-between;padding:0 14px}.td-icon-nav{display:none}.td-current-user{display:block}.td-top-right{gap:8px}.td-user-pill{display:grid;min-width:auto}.td-user-pill b,.td-user-pill small{display:none}.td-user-pill span{width:38px;height:38px}.td-tech-content{padding:18px 14px 44px}.td-page-header,.admin-panel-header{padding:22px!important;border-radius:18px!important;display:block!important;min-height:0}.td-page-header h1,.admin-panel-header h1{font-size:28px!important}.td-page-header .td-action-row,.td-page-header-flex .td-action-row{margin-top:18px;display:grid!important;grid-template-columns:1fr!important;width:100%}.td-primary-btn,.td-secondary-btn,.td-module-btn{width:100%!important}.td-filter-bar{grid-template-columns:1fr!important}.td-table-card{background:transparent!important;border:0!important;box-shadow:none!important;padding:0!important}.td-clean-table,.td-clean-table thead,.td-clean-table tbody,.td-clean-table tr,.td-clean-table td{display:block!important;width:100%!important}.td-clean-table thead{display:none!important}.td-clean-table tbody tr{background:#fff!important;border:1px solid var(--td-line)!important;border-radius:20px!important;box-shadow:var(--td-shadow-sm)!important;padding:16px!important;margin:0 0 14px!important}.td-clean-table tbody td{border:0!important;padding:7px 0!important;display:grid!important;grid-template-columns:128px minmax(0,1fr);gap:8px;font-size:14px!important}.td-clean-table tbody td:before{content:attr(data-label);color:#64748b;font-weight:950;font-size:12px}.td-clean-table tbody td:empty{display:none!important}.td-clean-table tbody td:first-child{display:block!important;font-size:15px!important;padding-bottom:10px!important}.td-clean-table tbody td:first-child:before{display:none}.td-action-row,.td-action-row-mini{display:grid!important;grid-template-columns:1fr 1fr;gap:8px;width:100%}.td-action-row .td-small-btn,.td-action-row-mini .td-small-btn,.td-action-row-mini form,.td-action-row-mini button{width:100%!important}.td-status{min-width:auto}.td-info-grid,.admin-grid,.td-module-grid,.td-detail-grid{grid-template-columns:1fr!important}.td-card{padding:20px!important}.td-top-left{min-width:0}.td-current-user strong{max-width:180px;display:block;overflow:hidden;text-overflow:ellipsis}}
@media (max-width:420px){.td-tech-content{padding:12px 10px 36px}.td-page-header h1{font-size:24px!important}.td-clean-table tbody td{grid-template-columns:108px minmax(0,1fr)}.td-action-row,.td-action-row-mini{grid-template-columns:1fr}.td-filter-bar input,.td-filter-bar select{min-height:44px}.td-user-pill{display:none}}

/* =========================================================
   TD.v1 Mockup Kilit Düzeltme Paketi
   Dil menüsü, işlem butonları, mobil üst menü, ülke kapsamı
   ========================================================= */
body.td-auth-body {
    margin-bottom: 0 !important;
    background: #f4f8fb !important;
}

.td-tech-shell {
    grid-template-columns: 235px minmax(0, 1fr) !important;
}

.td-tech-sidebar {
    background: linear-gradient(180deg, #061421 0%, #071827 52%, #06111d 100%) !important;
    padding: 24px 18px !important;
}

.td-side-title,
.td-lang-toggle {
    width: 100%;
    background: transparent !important;
    border: 0 !important;
    color: #7f95a8 !important;
    text-transform: uppercase;
    letter-spacing: .075em;
    font-size: 12px !important;
    font-weight: 950 !important;
    margin: 16px 0 10px !important;
    padding: 0 !important;
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    box-shadow: none !important;
    min-height: auto !important;
}

.td-lang-chevron {
    color: #d7f5ef;
    font-size: 15px;
    transition: transform .18s ease;
}

.td-lang-toggle[aria-expanded="false"] .td-lang-chevron {
    transform: rotate(-90deg);
}

.td-lang-menu {
    display: none !important;
    flex-direction: column;
    gap: 10px !important;
}

.td-lang-menu.is-open {
    display: flex !important;
}

.td-lang-menu a { display: none !important; }

.td-lang-item {
    width: 100%;
    height: 42px;
    display: grid;
    grid-template-columns: 28px 32px minmax(0, 1fr);
    align-items: center;
    gap: 8px;
    border: 1px solid rgba(148, 163, 184, .18);
    border-radius: 14px;
    background: rgba(15, 23, 42, .24);
    color: #dce9ef;
    padding: 0 10px;
    font-weight: 900;
    text-align: left;
    cursor: pointer;
    transition: .16s ease;
}

.td-lang-item img {
    width: 24px;
    height: 17px;
    border-radius: 4px;
    object-fit: cover;
    box-shadow: 0 0 0 1px rgba(255,255,255,.18);
}

.td-lang-code {
    color: #34d5c4;
    font-size: 12px;
    font-weight: 1000;
}

.td-lang-item b {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 13px;
    color: #eaf7f7;
}

.td-lang-item:hover,
.td-lang-item.active {
    background: rgba(13, 148, 136, .20);
    border-color: rgba(45, 212, 191, .42);
    transform: translateX(3px);
}

.td-lang-item.active {
    box-shadow: inset 3px 0 0 #14b8a6;
}

.td-side-exit,
.td-side-exit button,
.td-exit-button {
    width: 100%;
}

.td-side-exit button,
.td-exit-button {
    min-height: 44px !important;
    border: 0 !important;
    background: transparent !important;
    color: #eef9f8 !important;
    display: inline-flex !important;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
    font-weight: 950 !important;
    padding: 0 4px !important;
    box-shadow: none !important;
}

.td-side-exit button img,
.td-exit-button img {
    width: 18px;
    height: 18px;
    filter: brightness(0) invert(1);
}

.td-icon-nav {
    display: flex !important;
    align-items: center;
    justify-content: center;
    gap: 22px;
    min-width: 0;
    overflow-x: auto;
    scrollbar-width: thin;
}

.td-icon-nav a {
    color: #0f172a !important;
    text-decoration: none !important;
    display: inline-flex !important;
    align-items: center;
    gap: 8px;
    font-weight: 950 !important;
    font-size: 13px !important;
    padding: 8px 2px !important;
    white-space: nowrap;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}

.td-icon-nav a img {
    width: 20px;
    height: 20px;
    opacity: .92;
}

.td-icon-nav a:hover {
    color: #0f766e !important;
}

.td-page-shell {
    max-width: 1180px !important;
}

.td-page-header,
.admin-panel-header {
    border-radius: 18px !important;
    box-shadow: 0 16px 40px rgba(15,23,42,.055) !important;
}

.td-action-row-mini,
.td-action-row {
    gap: 8px !important;
}

.td-clean-table td:last-child,
.td-clean-table th:last-child {
    min-width: 135px;
    text-align: center;
}

.td-action-row-mini {
    justify-content: center !important;
}

.td-action-row-mini form {
    display: inline-flex !important;
    margin: 0 !important;
}

.td-small-btn,
.td-action-row-mini .td-small-btn,
.td-action-row-mini button.td-small-btn,
.td-action-row-mini a.td-small-btn {
    min-height: auto !important;
    min-width: 64px !important;
    max-width: 96px;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    color: #0f172a !important;
    padding: 6px 5px !important;
    border-radius: 12px !important;
    display: inline-flex !important;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    font-size: 11px !important;
    line-height: 1.08 !important;
    font-weight: 950 !important;
    white-space: normal !important;
    text-align: center;
}

.td-small-btn.td-primary-btn,
.td-action-row-mini .td-primary-btn,
.td-action-row-mini .td-accept-btn {
    color: #0f766e !important;
    background: transparent !important;
}

.td-action-row-mini .td-danger-mini,
.td-danger-mini.td-small-btn {
    color: #dc2626 !important;
    background: transparent !important;
}

.td-small-btn img,
.td-iconified img {
    width: 19px !important;
    height: 19px !important;
    object-fit: contain;
    filter: none !important;
}

.td-small-btn:hover,
.td-action-row-mini .td-small-btn:hover,
.td-iconified:hover {
    background: #eefaf8 !important;
    color: #0f766e !important;
    transform: translateY(-1px);
}

.td-status,
.td-status-pill {
    min-width: auto !important;
    max-width: 110px;
    padding: 7px 10px !important;
    white-space: normal !important;
    word-break: normal;
    text-align: center;
    text-transform: none !important;
}

.td-status-siparis_tamamlandi,
.td-status-tamamlandi,
.td-status-Tamamlandı {
    background: #dcfce7 !important;
    color: #047857 !important;
}

.td-demand-layout {
    align-items: start;
}

.td-step-rail {
    position: sticky;
    top: 96px;
}

.td-country-picker {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(190px, 1fr)) !important;
    gap: 10px !important;
    max-height: none !important;
    overflow: visible !important;
    padding: 14px !important;
    border: 1px solid #dce6ee !important;
    border-radius: 16px !important;
    background: #fbfdff !important;
}

.td-country-picker label {
    min-height: 54px;
    display: flex !important;
    align-items: center;
    justify-content: flex-start;
    gap: 12px;
    border: 1px solid #e8eef4;
    border-radius: 14px;
    background: #fff;
    padding: 10px 12px !important;
    font-weight: 900;
    color: #334155;
    box-shadow: 0 8px 18px rgba(15,23,42,.025);
}

.td-country-picker input[type="checkbox"] {
    width: 22px !important;
    height: 22px !important;
    min-height: 0 !important;
    accent-color: #0f766e;
    box-shadow: none !important;
    padding: 0 !important;
}

.td-country-picker small {
    margin-left: auto;
    color: #64748b;
    font-weight: 1000;
}

@media (max-width: 1180px) {
    .td-tech-shell { grid-template-columns: 235px minmax(0,1fr) !important; }
    .td-tech-sidebar { align-items: stretch !important; }
    .td-tech-logo span,
    .td-side-title,
    .td-lang-menu a:not(:first-child),
    .td-lang-menu a { font-size: inherit !important; }
    .td-lang-item { width: 100% !important; }
    .td-side-exit button { font-size: inherit !important; justify-content: flex-start !important; }
    .td-icon-nav a span { display: inline !important; }
    .td-icon-nav a { min-width: auto !important; }
}

@media (max-width: 980px) {
    .td-tech-shell { display: block !important; }
    .td-tech-sidebar {
        position: fixed !important;
        left: 0; top: 0;
        width: 292px;
        max-width: 88vw;
        transform: translateX(-105%);
        transition: transform .22s ease;
        z-index: 1200;
    }
    .td-tech-sidebar.is-open { transform: translateX(0); }
    .td-sidebar-backdrop.is-open { display:block; position:fixed; inset:0; background:rgba(2,6,23,.42); z-index:1100; }
    .td-tech-topbar {
        height: auto !important;
        min-height: 72px;
        display: grid !important;
        grid-template-columns: 1fr auto;
        gap: 8px 12px;
        padding: 12px 14px !important;
        align-items: center;
    }
    .td-top-left { grid-column: 1 / 2; }
    .td-top-right { grid-column: 2 / 3; }
    .td-icon-nav {
        grid-column: 1 / -1;
        order: 10;
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
        width: 100%;
        overflow: visible;
        padding: 8px 0 2px;
        border-top: 1px solid #e7eef4;
    }
    .td-icon-nav a {
        min-height: 42px !important;
        justify-content: flex-start;
        border: 1px solid #dfe8ef !important;
        border-radius: 14px;
        background: #fff !important;
        padding: 9px 10px !important;
        box-shadow: 0 8px 18px rgba(15,23,42,.035) !important;
        font-size: 12px !important;
    }
    .td-icon-nav a img { width: 17px; height: 17px; }
    .td-user-pill b,.td-user-pill small { display:none !important; }
    .td-tech-content { padding: 18px 14px 44px !important; }
    .td-country-picker { grid-template-columns: 1fr !important; }
}

@media (max-width: 760px) {
    .td-page-header-flex,
    .td-page-header {
        display: block !important;
        padding: 22px !important;
    }
    .td-page-header .td-action-row {
        margin-top: 16px;
        display: grid !important;
        grid-template-columns: 1fr !important;
    }
    .td-clean-table tbody td:last-child {
        display: block !important;
    }
    .td-action-row-mini,
    .td-action-row {
        justify-content: flex-start !important;
    }
    .td-action-row-mini {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px !important;
    }
    .td-action-row-mini .td-small-btn,
    .td-action-row-mini form,
    .td-action-row-mini button.td-small-btn {
        width: 100% !important;
        max-width: none !important;
    }
}

@media (max-width: 460px) {
    .td-icon-nav { grid-template-columns: 1fr; }
}

/* TDv1 final table/action/language cleanup 2026-06-09 */
.td-tech-content{
    max-width: 1320px;
    margin: 0 auto;
    padding-left: 24px;
    padding-right: 24px;
}
.td-page-shell{
    max-width: 1240px !important;
    width: min(1240px, calc(100vw - 360px)) !important;
}
@media (max-width: 1180px){
    .td-page-shell{width: 100% !important;}
}
.td-page-header,
.td-table-card,
.td-filter-bar{
    max-width: 100%;
}
.td-filter-bar{
    display: grid !important;
    grid-template-columns: minmax(260px, 1fr) 220px 110px 110px;
    gap: 12px;
    align-items: center;
}
.td-filter-bar input,
.td-filter-bar select,
.td-filter-bar button,
.td-filter-bar a{
    height: 44px;
    white-space: nowrap;
}
.td-table-card{
    overflow-x: auto !important;
    overflow-y: visible !important;
    border-radius: 18px;
}
.td-clean-table{
    width: 100%;
    min-width: 1120px !important;
    table-layout: auto !important;
    border-collapse: separate;
    border-spacing: 0;
}
.td-clean-table th,
.td-clean-table td{
    white-space: nowrap !important;
    word-break: keep-all !important;
    overflow-wrap: normal !important;
    vertical-align: middle !important;
    padding: 16px 14px !important;
    font-size: 13px;
    line-height: 1.25;
}
.td-clean-table td strong,
.td-clean-table td b,
.td-clean-table small{
    white-space: nowrap !important;
}
.td-clean-table th:first-child,
.td-clean-table td:first-child{
    min-width: 165px;
}
.td-clean-table th:nth-child(2),
.td-clean-table td:nth-child(2){
    min-width: 170px;
}
.td-clean-table th:last-child,
.td-clean-table td:last-child{
    min-width: 112px !important;
    width: 112px;
    text-align: center;
}
.td-clean-table .td-action-row,
.td-action-row-mini{
    display: inline-flex !important;
    flex-direction: column !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    min-width: 104px;
    margin: 0 !important;
}
.td-small-btn,
.td-compact-action{
    min-width: 98px !important;
    height: 34px !important;
    padding: 6px 10px !important;
    border-radius: 12px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    white-space: nowrap !important;
    line-height: 1 !important;
    font-size: 12px !important;
    font-weight: 900 !important;
    text-decoration: none !important;
    border: 1px solid #d9e3ea !important;
    background: #fff !important;
    color: #071627 !important;
    box-shadow: 0 6px 14px rgba(15,23,42,.05);
}
.td-compact-action img,
.td-iconified img{
    width: 16px;
    height: 16px;
    flex: 0 0 16px;
}
.td-primary-btn.td-small-btn,
.td-primary-btn.td-compact-action,
.td-accept-btn.td-compact-action{
    background: #0f8f7e !important;
    border-color: #0f8f7e !important;
    color: #fff !important;
}
.td-danger-mini.td-compact-action{
    background:#b91c1c !important;
    border-color:#b91c1c !important;
    color:#fff !important;
}
.td-warning-mini.td-compact-action{
    background:#fff7ed !important;
    border-color:#fed7aa !important;
    color:#9a3412 !important;
}
.td-status,
.td-status-pill{
    min-width: 92px;
    height: 30px;
    padding: 6px 10px !important;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    white-space: nowrap !important;
    line-height: 1 !important;
    border-radius: 999px !important;
    font-size: 12px !important;
    font-weight: 1000 !important;
}
.td-status-siparis_tamamlandi,
.td-status-tamamlandi,
.td-status-gecerli,
.td-status-kabul_edildi,
.td-status-aktif{
    background: #d1fae5 !important;
    color: #047857 !important;
}
.td-status-kapandi,
.td-status-reddedildi,
.td-status-iptal_edildi{
    background: #fee2e2 !important;
    color: #b91c1c !important;
}
.td-status-teklif_toplaniyor,
.td-status-siparis_olusturuldu,
.td-status-siparis_verildi{
    background: #e0f2fe !important;
    color: #0369a1 !important;
}
.td-status-pazarlikta,
.td-status-hazirlaniyor,
.td-status-sevkiyatta,
.td-status-teslim_edildi{
    background: #fef3c7 !important;
    color: #92400e !important;
}
.td-lang-toggle{
    width: 100%;
    border: 0;
    background: transparent;
    color: #8ba4b6;
    display:flex;
    justify-content:space-between;
    align-items:center;
    cursor:pointer;
}
.td-lang-menu{
    display: none;
    flex-direction: column;
    gap: 10px;
}
.td-lang-menu.is-open{
    display: flex;
}
.td-lang-chevron{
    transition: transform .18s ease;
}
.td-lang-toggle[aria-expanded="true"] .td-lang-chevron{
    transform: rotate(180deg);
}
.td-lang-item{
    min-height: 42px !important;
}
.td-lang-item b{
    white-space: nowrap;
}
.td-lang-item[data-lang="tm"] b::first-letter{
    text-transform: uppercase;
}
.td-country-picker{
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)) !important;
    gap: 10px !important;
    align-items: stretch !important;
    justify-content: flex-start !important;
    padding: 12px !important;
    max-height: none !important;
    overflow: visible !important;
}
.td-country-picker label{
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 10px !important;
    min-height: 54px;
    margin: 0 !important;
    padding: 12px 14px !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 14px !important;
    background: #fff !important;
    text-align: left !important;
    font-weight: 900 !important;
}
.td-country-picker input[type="checkbox"]{
    width: 22px !important;
    height: 22px !important;
    flex: 0 0 22px;
    accent-color: #0f8f7e;
}
.td-country-picker small{
    margin-left: auto;
    opacity: .72;
}
.td-side-exit{
    margin-top: auto;
}
.td-exit-button{
    width: 100%;
    justify-content: flex-start !important;
    gap: 9px;
}
@media(max-width: 860px){
    .td-tech-content{padding: 16px 12px;}
    .td-filter-bar{grid-template-columns: 1fr 1fr;}
    .td-filter-bar input{grid-column: 1 / -1;}
    .td-clean-table{min-width: 0 !important;}
    .td-clean-table thead{display:none;}
    .td-clean-table tbody,
    .td-clean-table tr,
    .td-clean-table td{display:block;width:100%;}
    .td-clean-table tr{
        padding:14px;
        border:1px solid #e5edf3;
        border-radius:18px;
        margin: 0 0 12px;
        background:#fff;
        box-shadow: 0 14px 26px rgba(15,23,42,.06);
    }
    .td-clean-table td{
        display:flex !important;
        justify-content:space-between;
        align-items:center;
        gap:12px;
        padding:8px 0 !important;
        border:0 !important;
        white-space: normal !important;
    }
    .td-clean-table td::before{
        content: attr(data-label);
        color:#64748b;
        font-weight:900;
        min-width:112px;
        text-align:left;
    }
    .td-clean-table td:last-child{width:100%;min-width:0!important;}
    .td-clean-table td:last-child::before{display:none;}
    .td-clean-table .td-action-row,
    .td-action-row-mini{flex-direction:row!important;flex-wrap:wrap!important;justify-content:flex-start!important;width:100%;}
    .td-small-btn,.td-compact-action{min-width: 118px !important;}
}
.td-page-header .td-action-row .td-primary-btn,
.td-page-header .td-action-row .td-secondary-btn,
.td-page-header .td-action-row button,
.td-filter-bar button,
.td-filter-bar a{
    max-width: none !important;
    white-space: nowrap !important;
}
.td-clean-table .td-action-row .td-primary-btn,
.td-clean-table .td-action-row .td-secondary-btn,
.td-clean-table .td-action-row button,
.td-action-row-mini .td-primary-btn,
.td-action-row-mini .td-secondary-btn,
.td-action-row-mini button{
    max-width: none !important;
    white-space: nowrap !important;
}

/* =========================================================
   TD.v1 GENIS SAYFA + SCROLLSUZ TEK SATIR TABLO FIX
   Amaç: Kullanıcı sağa-sola sürüklemesin, içerik alanı tüm genişliği kullansın.
   ========================================================= */
body.td-auth-body,
.td-tech-main,
.td-tech-content,
.td-main-content {
    overflow-x: hidden !important;
}

.td-tech-content {
    max-width: none !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 28px 32px 64px !important;
}

.td-page-shell,
.td-page-wrap,
.admin-panel-wrap,
.td-main-content .td-page-shell,
.td-main-content .td-panel-wrap {
    max-width: none !important;
    width: 100% !important;
    margin: 0 !important;
}

.td-page-header,
.admin-panel-header,
.td-filter-bar,
.td-table-card,
.td-card,
.admin-table-card,
.admin-form-card {
    width: 100% !important;
    max-width: none !important;
}

.td-table-card {
    overflow-x: hidden !important;
    overflow-y: visible !important;
    padding: 14px 16px !important;
}

.td-table-card::-webkit-scrollbar,
.td-responsive-table::-webkit-scrollbar,
.td-scroll-table::-webkit-scrollbar {
    display: none !important;
}

.td-responsive-table,
.td-scroll-table,
.td-scroll-table-tall {
    overflow-x: hidden !important;
}

.td-clean-table,
.td-table,
.td-inner-table {
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    table-layout: auto !important;
}

.td-clean-table th,
.td-clean-table td,
.td-table th,
.td-table td,
.td-inner-table th,
.td-inner-table td {
    white-space: nowrap !important;
    word-break: normal !important;
    overflow-wrap: normal !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    padding: 13px 10px !important;
    font-size: 12.5px !important;
    line-height: 1.18 !important;
    vertical-align: middle !important;
}

.td-clean-table th:first-child,
.td-clean-table td:first-child,
.td-table th:first-child,
.td-table td:first-child {
    min-width: 155px !important;
    max-width: 220px !important;
}

.td-clean-table th:nth-child(2),
.td-clean-table td:nth-child(2),
.td-table th:nth-child(2),
.td-table td:nth-child(2) {
    min-width: 145px !important;
    max-width: 260px !important;
}

.td-clean-table th:last-child,
.td-clean-table td:last-child,
.td-table th:last-child,
.td-table td:last-child {
    min-width: 126px !important;
    width: 126px !important;
    max-width: 140px !important;
    overflow: visible !important;
    text-align: center !important;
}

.td-clean-table td:last-child *,
.td-table td:last-child *,
.td-inner-table td:last-child * {
    overflow: visible !important;
    text-overflow: clip !important;
}

.td-clean-table .td-action-row,
.td-clean-table .td-action-row-mini,
.td-table .td-action-row,
.td-table .td-action-row-mini,
.td-inner-table .td-action-row,
.td-inner-table .td-action-row-mini {
    display: inline-grid !important;
    grid-template-columns: 1fr !important;
    gap: 5px !important;
    min-width: 112px !important;
    width: 112px !important;
    justify-items: center !important;
    align-items: center !important;
    margin: 0 auto !important;
}

.td-small-btn,
.td-compact-action,
.td-action-row-mini .td-small-btn,
.td-action-row-mini a.td-small-btn,
.td-action-row-mini button.td-small-btn {
    min-width: 96px !important;
    width: 96px !important;
    max-width: 96px !important;
    height: 30px !important;
    min-height: 30px !important;
    padding: 5px 7px !important;
    border-radius: 10px !important;
    font-size: 11px !important;
    line-height: 1 !important;
    white-space: nowrap !important;
    display: inline-flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 4px !important;
}

.td-small-btn img,
.td-compact-action img,
.td-iconified img {
    width: 14px !important;
    height: 14px !important;
    flex: 0 0 14px !important;
}

.td-status,
.td-status-pill {
    min-width: 78px !important;
    max-width: 96px !important;
    height: 28px !important;
    padding: 5px 8px !important;
    font-size: 11px !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
}

.td-filter-bar {
    grid-template-columns: minmax(280px, 1fr) 220px 118px 118px !important;
}

.td-icon-nav {
    overflow-x: hidden !important;
    flex-wrap: wrap !important;
}

@media (min-width: 981px) {
    .td-tech-shell {
        grid-template-columns: 235px minmax(0, 1fr) !important;
    }
    .td-tech-content {
        padding-left: 34px !important;
        padding-right: 34px !important;
    }
    .td-clean-table th,
    .td-clean-table td,
    .td-table th,
    .td-table td {
        font-size: 12.2px !important;
    }
}

@media (min-width: 1500px) {
    .td-clean-table th,
    .td-clean-table td,
    .td-table th,
    .td-table td {
        font-size: 13px !important;
        padding-left: 12px !important;
        padding-right: 12px !important;
    }
    .td-clean-table th:last-child,
    .td-clean-table td:last-child,
    .td-table th:last-child,
    .td-table td:last-child {
        width: 142px !important;
        min-width: 142px !important;
    }
    .td-clean-table .td-action-row,
    .td-clean-table .td-action-row-mini,
    .td-table .td-action-row,
    .td-table .td-action-row-mini {
        width: 126px !important;
        min-width: 126px !important;
    }
    .td-small-btn,
    .td-compact-action,
    .td-action-row-mini .td-small-btn,
    .td-action-row-mini a.td-small-btn,
    .td-action-row-mini button.td-small-btn {
        width: 110px !important;
        max-width: 110px !important;
        min-width: 110px !important;
    }
}

@media (max-width: 980px) {
    .td-tech-content {
        padding: 16px 12px 44px !important;
    }
    .td-table-card,
    .td-responsive-table,
    .td-scroll-table,
    .td-scroll-table-tall {
        overflow: visible !important;
    }
    .td-clean-table,
    .td-clean-table thead,
    .td-clean-table tbody,
    .td-clean-table tr,
    .td-clean-table td {
        display: block !important;
        width: 100% !important;
        min-width: 0 !important;
        max-width: none !important;
    }
    .td-clean-table thead {
        display: none !important;
    }
    .td-clean-table tbody tr {
        background: #fff !important;
        border: 1px solid #e5edf3 !important;
        border-radius: 18px !important;
        padding: 14px !important;
        margin-bottom: 12px !important;
        box-shadow: 0 14px 26px rgba(15,23,42,.06) !important;
    }
    .td-clean-table td {
        display: grid !important;
        grid-template-columns: 118px minmax(0,1fr) !important;
        gap: 10px !important;
        white-space: normal !important;
        overflow: visible !important;
        text-overflow: clip !important;
        padding: 8px 0 !important;
        border: 0 !important;
    }
    .td-clean-table td::before {
        content: attr(data-label);
        color: #64748b;
        font-weight: 950;
        font-size: 12px;
    }
    .td-clean-table td:last-child {
        width: 100% !important;
        max-width: none !important;
    }
    .td-clean-table td:last-child::before {
        display: none !important;
    }
    .td-clean-table .td-action-row,
    .td-clean-table .td-action-row-mini {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0,1fr)) !important;
        width: 100% !important;
        min-width: 0 !important;
        gap: 8px !important;
    }
    .td-small-btn,
    .td-compact-action,
    .td-action-row-mini .td-small-btn,
    .td-action-row-mini a.td-small-btn,
    .td-action-row-mini button.td-small-btn {
        width: 100% !important;
        max-width: none !important;
        min-width: 0 !important;
        height: 36px !important;
    }
}


/* =========================================================
   TD.v1 FINAL TEMİZLEME: hız + geniş tablo + dil menüsü
   Bu blok önceki UI bloklarını ezerek tek, temiz davranış verir.
   ========================================================= */
html.notranslate, body.notranslate { translate: no; }
body.td-auth-body{margin:0!important;background:#f4f8fb!important;overflow-x:hidden!important}
.td-tech-shell{grid-template-columns:235px minmax(0,1fr)!important;min-height:100vh!important;background:#f4f8fb!important}
.td-tech-main{min-width:0!important;width:100%!important}
.td-tech-content{width:100%!important;max-width:none!important;margin:0!important;padding:28px 30px 58px!important}
.td-page-shell,.td-page-wrap,.admin-panel-wrap,.admin-login-wrap{width:100%!important;max-width:none!important;margin:0!important;padding:0!important}
.td-page-header,.admin-panel-header{width:100%!important;max-width:none!important;margin:0 0 22px!important}
.td-page-header-flex{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:18px!important}

/* Üst menü sıkışmasın: metin gerekiyorsa iki satıra değil, kompakt tek satıra iner. */
.td-tech-topbar{height:auto!important;min-height:76px!important;padding:10px 24px!important;align-items:center!important;gap:16px!important}
.td-icon-nav{display:flex!important;align-items:center!important;justify-content:center!important;gap:14px!important;flex-wrap:wrap!important;overflow:visible!important;line-height:1!important}
.td-icon-nav a{display:inline-flex!important;align-items:center!important;gap:6px!important;min-width:auto!important;max-width:none!important;white-space:nowrap!important;text-decoration:none!important;font-size:12px!important;font-weight:950!important;color:#0f172a!important;padding:7px 4px!important}
.td-icon-nav img{width:17px!important;height:17px!important;flex:0 0 auto!important}
.td-icon-nav span{display:inline!important;white-space:nowrap!important;overflow:visible!important;text-overflow:clip!important}

/* Sol dil menüsü: üst üste binme yok, bayraklar sabit, Türkmence doğru. */
.td-tech-sidebar{width:235px!important;padding:24px 18px!important;overflow:hidden!important}
.td-lang-menu{display:none!important;flex-direction:column!important;gap:10px!important;width:100%!important;overflow:visible!important}
.td-lang-menu.is-open{display:flex!important}
.td-lang-item{width:100%!important;height:42px!important;min-height:42px!important;display:grid!important;grid-template-columns:26px 30px minmax(0,1fr)!important;align-items:center!important;gap:8px!important;border:1px solid rgba(148,163,184,.22)!important;border-radius:14px!important;background:rgba(15,23,42,.22)!important;color:#eaf7f7!important;padding:0 10px!important;box-shadow:none!important;overflow:hidden!important;line-height:1!important;text-align:left!important}
.td-lang-item img{width:24px!important;height:17px!important;object-fit:cover!important;border-radius:4px!important;display:block!important;max-width:24px!important;min-width:24px!important}
.td-lang-code{font-size:12px!important;font-weight:1000!important;color:#34d5c4!important;line-height:1!important;white-space:nowrap!important}
.td-lang-item b{display:block!important;min-width:0!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important;font-size:12px!important;font-weight:950!important;color:#f1fbfb!important;line-height:1.1!important}
.td-lang-item:hover,.td-lang-item.active{background:rgba(13,148,136,.22)!important;border-color:rgba(45,212,191,.55)!important;transform:none!important}
.td-lang-item.active{box-shadow:inset 3px 0 0 #14b8a6!important}
.td-side-title,.td-lang-toggle{width:100%!important;display:flex!important;align-items:center!important;justify-content:space-between!important;color:#8fa5b7!important;font-size:12px!important;font-weight:950!important;letter-spacing:.08em!important;background:transparent!important;border:0!important;box-shadow:none!important;padding:0!important;margin:16px 0 10px!important;text-transform:uppercase!important;min-height:auto!important}
.td-side-exit{margin-top:auto!important}.td-exit-button{font-size:13px!important}.td-exit-button span{white-space:nowrap!important}

/* Tablo alanı dar kutu gibi kalmasın, masaüstünde scroll çıkmasın. */
.td-table-card,.admin-table-card{width:100%!important;max-width:none!important;padding:14px 16px!important;overflow:visible!important;background:#fff!important;border:1px solid #e4ebf1!important;border-radius:20px!important;box-shadow:0 14px 36px rgba(15,23,42,.06)!important}
.td-clean-table{width:100%!important;max-width:100%!important;table-layout:fixed!important;border-collapse:separate!important;border-spacing:0!important;background:#fff!important}
.td-clean-table thead th{padding:13px 9px!important;font-size:12px!important;line-height:1.05!important;font-weight:1000!important;color:#334155!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;background:#f8fafc!important;border-bottom:1px solid #e5edf4!important}
.td-clean-table tbody td{padding:14px 9px!important;font-size:12px!important;line-height:1.22!important;vertical-align:middle!important;border-bottom:1px solid #edf2f7!important;color:#0f172a!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
.td-clean-table tbody tr:last-child td{border-bottom:0!important}
.td-clean-table strong,.td-clean-table b{font-weight:950!important;white-space:nowrap!important}.td-clean-table small{font-size:11px!important;white-space:nowrap!important;color:#64748b!important}
.td-clean-table td:first-child,.td-clean-table th:first-child{width:16%!important}.td-clean-table td:nth-child(2),.td-clean-table th:nth-child(2){width:17%!important}.td-clean-table td:last-child,.td-clean-table th:last-child{width:12%!important;text-align:right!important;overflow:visible!important;white-space:normal!important}
.td-clean-table td:last-child .td-action-row,.td-clean-table td:last-child .td-action-row-mini{justify-content:flex-end!important;align-items:center!important;gap:6px!important;flex-wrap:nowrap!important;width:100%!important;display:flex!important}
.td-clean-table td:last-child form{display:inline-flex!important;margin:0!important}
.td-clean-table .td-small-btn,.td-clean-table .td-primary-btn,.td-clean-table .td-secondary-btn,.td-clean-table button,.td-clean-table .td-compact-action{min-height:30px!important;height:30px!important;padding:4px 8px!important;border-radius:10px!important;font-size:11px!important;font-weight:950!important;line-height:1!important;gap:4px!important;white-space:nowrap!important;box-shadow:none!important;width:auto!important;max-width:none!important}
.td-compact-action img,.td-iconified img{width:14px!important;height:14px!important;flex:0 0 auto!important}.td-compact-action span,.td-iconified span{white-space:nowrap!important}
.td-status,.td-status-pill{min-width:0!important;max-width:110px!important;padding:6px 9px!important;font-size:11px!important;line-height:1.05!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;border-radius:999px!important;text-transform:none!important}
.td-filter-bar{width:100%!important;display:grid!important;grid-template-columns:minmax(260px,1fr) 220px 130px 100px!important;gap:12px!important;align-items:center!important}.td-filter-bar input,.td-filter-bar select{width:100%!important}

/* Sipariş/teklif numaraları bölünmez ama tabloyu da patlatmaz. */
.td-clean-table td:first-child,.td-clean-table td:first-child *{white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}

/* Mobil: masaüstü tablosu değil kart görünümü. */
@media (max-width:1180px){
  .td-tech-shell{grid-template-columns:88px minmax(0,1fr)!important}.td-tech-sidebar{width:88px!important;padding:18px 12px!important;align-items:center!important}.td-tech-logo span,.td-side-title span,.td-lang-item b,.td-lang-code,.td-exit-button span{display:none!important}.td-lang-item{grid-template-columns:1fr!important;width:48px!important;padding:0!important;justify-items:center!important}.td-lang-item img{margin:auto!important}.td-tech-sidebar.is-open{width:290px!important;align-items:stretch!important}.td-tech-sidebar.is-open .td-tech-logo span,.td-tech-sidebar.is-open .td-side-title span,.td-tech-sidebar.is-open .td-lang-item b,.td-tech-sidebar.is-open .td-lang-code,.td-tech-sidebar.is-open .td-exit-button span{display:block!important}.td-tech-sidebar.is-open .td-lang-item{grid-template-columns:26px 30px minmax(0,1fr)!important;width:100%!important;padding:0 10px!important;justify-items:initial!important}
}
@media (max-width:820px){
  .td-tech-shell{display:block!important}.td-tech-sidebar{position:fixed!important;left:0!important;top:0!important;width:290px!important;max-width:86vw!important;height:100vh!important;transform:translateX(-105%)!important;transition:.2s ease!important;align-items:stretch!important;z-index:1200!important}.td-tech-sidebar.is-open{transform:translateX(0)!important}.td-tech-sidebar .td-tech-logo span,.td-tech-sidebar .td-side-title span,.td-tech-sidebar .td-lang-item b,.td-tech-sidebar .td-lang-code,.td-tech-sidebar .td-exit-button span{display:block!important}.td-tech-sidebar .td-lang-item{grid-template-columns:26px 30px minmax(0,1fr)!important;width:100%!important;padding:0 10px!important}.td-sidebar-backdrop.is-open{display:block!important;position:fixed!important;inset:0!important;background:rgba(2,6,23,.42)!important;z-index:1100!important}.td-tech-topbar{min-height:70px!important;display:flex!important;justify-content:space-between!important;padding:0 14px!important}.td-icon-nav{display:none!important}.td-tech-content{padding:18px 14px 44px!important}.td-page-header,.admin-panel-header{padding:22px!important;border-radius:18px!important;display:block!important;min-height:0!important}.td-page-header .td-action-row,.td-page-header-flex .td-action-row{margin-top:18px!important;display:grid!important;grid-template-columns:1fr!important;width:100%!important}.td-primary-btn,.td-secondary-btn,.td-module-btn{width:100%!important}.td-filter-bar{grid-template-columns:1fr!important}.td-table-card{background:transparent!important;border:0!important;box-shadow:none!important;padding:0!important}.td-clean-table,.td-clean-table thead,.td-clean-table tbody,.td-clean-table tr,.td-clean-table td{display:block!important;width:100%!important}.td-clean-table thead{display:none!important}.td-clean-table tbody tr{background:#fff!important;border:1px solid #e4ebf1!important;border-radius:20px!important;box-shadow:0 14px 36px rgba(15,23,42,.06)!important;padding:16px!important;margin:0 0 14px!important}.td-clean-table tbody td{border:0!important;padding:7px 0!important;display:grid!important;grid-template-columns:128px minmax(0,1fr)!important;gap:8px!important;font-size:14px!important;white-space:normal!important;overflow:visible!important;text-overflow:clip!important}.td-clean-table tbody td:before{content:attr(data-label);color:#64748b;font-weight:950;font-size:12px}.td-clean-table tbody td:first-child{display:block!important;font-size:15px!important;padding-bottom:10px!important}.td-clean-table tbody td:first-child:before{display:none!important}.td-clean-table td:last-child{text-align:left!important}.td-clean-table td:last-child .td-action-row,.td-clean-table td:last-child .td-action-row-mini{justify-content:flex-start!important;flex-wrap:wrap!important}.td-clean-table .td-small-btn,.td-clean-table .td-primary-btn,.td-clean-table .td-secondary-btn,.td-clean-table button,.td-clean-table .td-compact-action{width:auto!important;min-height:34px!important;height:auto!important}.td-user-pill b,.td-user-pill small{display:none!important}.td-user-pill{min-width:auto!important}.td-info-grid,.admin-grid,.td-module-grid,.td-detail-grid{grid-template-columns:1fr!important}
}

/* =========================================================
   TD.v1 MOBIL ÜST MENÜ GÖRÜNÜR FIX
   Firma Paneline Dön / Yeni Talep Aç / Açtığım Talepler / vb.
   mobilde kaybolmasın, kart buton olarak görünsün.
   ========================================================= */
@media (max-width: 820px) {
  .td-tech-topbar {
    display: grid !important;
    grid-template-columns: auto minmax(0, 1fr) auto !important;
    align-items: center !important;
    gap: 10px !important;
    min-height: auto !important;
    padding: 10px 12px 12px !important;
  }

  .td-top-left {
    grid-column: 1 / 3 !important;
    min-width: 0 !important;
  }

  .td-top-right {
    grid-column: 3 / 4 !important;
    justify-self: end !important;
  }

  .td-icon-nav {
    grid-column: 1 / -1 !important;
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 8px !important;
    width: 100% !important;
    overflow: visible !important;
    justify-content: stretch !important;
    align-items: stretch !important;
    padding-top: 6px !important;
  }

  .td-icon-nav a {
    width: 100% !important;
    min-width: 0 !important;
    height: auto !important;
    min-height: 42px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 7px !important;
    border: 1px solid #dbe7ef !important;
    background: #ffffff !important;
    border-radius: 13px !important;
    padding: 9px 10px !important;
    color: #0f172a !important;
    font-size: 12px !important;
    font-weight: 950 !important;
    line-height: 1.15 !important;
    box-shadow: 0 8px 20px rgba(15, 23, 42, .045) !important;
  }

  .td-icon-nav a img {
    width: 17px !important;
    height: 17px !important;
    flex: 0 0 17px !important;
  }

  .td-icon-nav a span {
    display: block !important;
    white-space: normal !important;
    overflow: visible !important;
    text-overflow: clip !important;
  }
}

@media (max-width: 420px) {
  .td-icon-nav {
    grid-template-columns: 1fr !important;
  }

  .td-icon-nav a {
    min-height: 40px !important;
  }
}
