* {
    box-sizing: border-box;
}

:root {
    --bg: #0f172a;
    --bg-dark: #0b1120;
    --card: #1e293b;
    --card-soft: #24344c;
    --border: rgba(148, 163, 184, 0.22);
    --text: #f1f5f9;
    --muted: #94a3b8;
    --yellow: #facc15;
    --yellow-hover: #eab308;
    --green: #22c55e;
    --red: #ef4444;
    --input-bg: #e8f0fe;
}

html {
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    min-height: 100vh;
    font-family: Arial, sans-serif;
    background:
        radial-gradient(circle at top left, rgba(250, 204, 21, 0.08), transparent 28%),
        linear-gradient(135deg, var(--bg-dark), var(--bg));
    color: var(--text);
    font-size: 16px;
}

.container {
    width: min(94%, 1200px);
    max-width: 100%;
    margin: 28px auto;
    box-sizing: border-box;
}

.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 18px;
    margin-bottom: 24px;
}

.header-left {
    min-width: 0;
}

.header-right {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
}

.header h1,
.header h2 {
    margin: 0;
    font-size: 34px;
    line-height: 1.1;
    letter-spacing: -0.5px;
}

.header-logo-link {
    color: inherit;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.header-logo-link:hover {
    color: var(--yellow);
}

.header-logo-icon {
    width: 42px;
    height: 42px;
    object-fit: contain;
    object-position: center;
    display: block;
    flex-shrink: 0;
}

.nav {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 10px;
}

.nav a,
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    background: var(--yellow);
    color: #111827;
    padding: 11px 18px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 800;
    border: 0;
    cursor: pointer;
    box-shadow: none;
    text-shadow: none;
    transition: transform .15s ease, background .15s ease;
    white-space: nowrap;
}

.nav a:hover,
.btn:hover {
    transform: translateY(-1px);
    background: var(--yellow-hover);
    box-shadow: none;
}

.nav .nav-upcoming {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    min-height: 44px;
    padding: 11px 18px;
    border-radius: 12px;
    border: 1px dashed rgba(148, 163, 184, 0.45);
    background: rgba(51, 65, 85, 0.35);
    color: #94a3b8;
    font-weight: 800;
    white-space: nowrap;
    cursor: not-allowed;
    transition: background .18s ease, border-color .18s ease, color .18s ease, transform .18s ease;
}

.nav .nav-upcoming:hover {
    background: rgba(71, 85, 105, 0.45);
    border-color: rgba(250, 204, 21, 0.42);
    color: #cbd5e1;
    transform: translateY(-1px);
}

.nav .nav-upcoming:hover::after {
    content: "Yakında";
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: calc(100% + 8px);
    font-size: 12px;
    font-weight: 700;
    color: #111827;
    background: var(--yellow);
    padding: 4px 8px;
    border-radius: 8px;
    white-space: nowrap;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}

.nav .nav-dropdown {
    position: relative;
    display: inline-flex;
    align-items: stretch;
}

.nav .nav-dropdown-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-height: 44px;
    padding: 11px 18px;
    border-radius: 12px;
    border: 0;
    background: var(--yellow);
    color: #111827;
    font-weight: 800;
    font-size: inherit;
    font-family: inherit;
    cursor: pointer;
    white-space: nowrap;
    box-shadow: none;
    text-shadow: none;
    transition: transform .15s ease, background .15s ease;
}

.nav .nav-dropdown-toggle:hover {
    transform: translateY(-1px);
    background: var(--yellow-hover);
}

.nav .nav-dropdown-toggle .dropdown-chevron {
    font-size: 11px;
    opacity: 0.85;
}

.nav .nav-dropdown-menu {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    min-width: 220px;
    padding: 8px;
    border-radius: 12px;
    border: 1px solid rgba(148, 163, 184, 0.3);
    background: rgba(15, 23, 42, 0.96);
    box-shadow: 0 18px 30px rgba(0, 0, 0, 0.32);
    z-index: 70;
}

.nav .nav-dropdown-menu.open {
    display: block;
}

.nav .nav-dropdown-menu a {
    display: flex !important;
    width: 100%;
    min-height: auto !important;
    justify-content: flex-start;
    border-radius: 10px;
    padding: 10px 12px !important;
    margin: 0 0 4px;
    background: transparent !important;
    color: #e2e8f0 !important;
    font-weight: 700;
    text-decoration: none;
    box-shadow: none;
    transform: none;
}

.nav .nav-dropdown-menu a:last-of-type {
    margin-bottom: 0;
}

.nav .nav-dropdown-menu a:hover {
    background: rgba(51, 65, 85, 0.7) !important;
    color: #f8fafc !important;
    transform: none !important;
}

.nav .nav-dropdown-menu .nav-submenu-upcoming {
    display: flex;
    width: 100%;
    min-height: auto;
    margin-top: 4px;
    padding: 10px 12px;
    justify-content: flex-start;
    font-size: 14px;
}

.user-info {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--muted);
    margin-left: 8px !important;
}

.user-info a {
    min-height: auto;
    padding: 0;
    background: transparent;
    color: var(--yellow);
    box-shadow: none;
    display: inline;
}

.user-info .user-name {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #f3f4f6;
    font-weight: 700;
    font-size: 14px;
}

.user-info .user-name i {
    color: var(--yellow);
    font-size: 12px;
}

.user-info .profile-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 38px;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.45);
    border: 1px solid rgba(148, 163, 184, 0.35);
    color: #e2e8f0 !important;
    font-weight: 700;
    transition: background .15s ease, border-color .15s ease, color .15s ease;
}

.user-info .profile-toggle {
    border: 0;
    cursor: pointer;
}

.user-info .profile-link-text {
    display: inline-flex;
    flex-direction: column;
    align-items: flex-start;
    line-height: 1.1;
}

.user-info .profile-link-mobile-text {
    display: none;
    font-weight: 800;
    color: #f8fafc;
}

.user-info .profile-link-text small {
    color: #94a3b8;
    font-size: 11px;
    font-weight: 700;
    margin-bottom: 2px;
}

.user-info .profile-link-text strong {
    color: #f8fafc;
    font-size: 15px;
    font-weight: 800;
    letter-spacing: 0.1px;
}

.user-info .dropdown-chevron {
    color: #cbd5e1 !important;
    font-size: 10px;
    margin-left: 2px;
}

.user-info .profile-link i {
    color: var(--yellow);
    font-size: 12px;
}

.user-info .profile-link:hover {
    background: rgba(30, 41, 59, 0.7);
    border-color: rgba(250, 204, 21, 0.42);
    color: #f8fafc !important;
    transform: none;
}

.profile-dropdown {
    position: relative;
    display: inline-flex;
}

.profile-menu {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    width: 210px;
    padding: 8px;
    border-radius: 12px;
    border: 1px solid rgba(148, 163, 184, 0.3);
    background: rgba(15, 23, 42, 0.96);
    box-shadow: 0 18px 30px rgba(0, 0, 0, 0.32);
    z-index: 60;
}

.profile-menu.open {
    display: block;
}

.profile-menu a {
    display: block !important;
    width: 100%;
    min-height: auto !important;
    border-radius: 10px;
    padding: 10px 12px !important;
    margin: 0;
    background: transparent !important;
    color: #e2e8f0 !important;
    font-weight: 700;
    text-decoration: none;
}

.profile-menu a:hover {
    background: rgba(51, 65, 85, 0.7) !important;
    color: #f8fafc !important;
    transform: none !important;
}

.profile-menu .logout-item {
    color: #fecaca !important;
}

.profile-menu .logout-item:hover {
    background: rgba(239, 68, 68, 0.2) !important;
    color: #fee2e2 !important;
}

.user-info .logout-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 38px;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(239, 68, 68, 0.14);
    border: 1px solid rgba(239, 68, 68, 0.35);
    color: #fecaca;
    font-weight: 700;
    transition: background .15s ease, color .15s ease, border-color .15s ease;
}

.user-info .logout-link:hover {
    background: rgba(239, 68, 68, 0.22);
    border-color: rgba(248, 113, 113, 0.6);
    color: #fee2e2;
    transform: none;
}

.menu-toggle {
    display: none;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: var(--yellow);
    color: #111827;
    font-size: 24px;
    font-weight: 900;
    cursor: pointer;
    user-select: none;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
}

.card,
.table-card {
    background: rgba(30, 41, 59, 0.94);
    border: 1px solid var(--border);
    border-radius: 22px;
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.22);
}

.card {
    padding: 24px;
}

.card h2,
.card h3 {
    margin-top: 0;
    margin-bottom: 16px;
    font-size: 28px;
    letter-spacing: -0.4px;
}

.card p {
    color: #cbd5e1;
    line-height: 1.55;
}

.card small {
    display: block;
    color: var(--muted);
    margin-bottom: 8px;
    font-weight: 700;
}

.card > h3:last-child {
    margin-bottom: 0;
}

form {
    width: 100%;
    max-width: 520px;
}

.card form {
    max-width: 100%;
}

label {
    display: block;
    margin: 14px 0 7px;
    color: #cbd5e1;
    font-size: 15px;
    font-weight: 800;
}

input,
select,
textarea {
    width: 100%;
    min-height: 48px;
    padding: 12px 14px;
    border-radius: 13px;
    border: 1px solid rgba(148, 163, 184, 0.28);
    background: var(--input-bg);
    color: #0f172a;
    font-size: 16px;
    outline: none;
    margin: 0;
}

textarea {
    resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
    border-color: var(--yellow);
    box-shadow: 0 0 0 3px rgba(250, 204, 21, 0.18);
}

input::placeholder,
textarea::placeholder {
    color: #64748b;
}

button.btn,
form .btn {
    margin-top: 18px;
    margin-right: 10px;
}

.table-card {
    margin-top: 24px;
    overflow-x: auto;
    overflow-y: hidden;
}

table {
    width: 100%;
    border-collapse: collapse;
    min-width: 760px;
}

th {
    background: rgba(51, 65, 85, 0.88);
    color: #e2e8f0;
    text-align: left;
    padding: 15px;
    font-size: 14px;
}

td {
    padding: 14px 15px;
    border-top: 1px solid rgba(148, 163, 184, 0.14);
    color: #dbeafe;
}

td a,
.card a:not(.btn) {
    color: var(--yellow);
    text-decoration: none;
    font-weight: 800;
}

.positive {
    color: var(--green) !important;
}

.negative {
    color: var(--red) !important;
}

hr {
    border: 0;
    height: 1px;
    background: rgba(148, 163, 184, 0.2);
    margin: 22px 0;
}

img {
    max-width: 100%;
}

.mobile-cards {
    display: none;
}

.mobile-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 12px;
    margin-bottom: 12px;
}

.mobile-card img {
    width: 100%;
    height: 140px;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 10px;
}

.mobile-card-body b {
    display: block;
    font-size: 16px;
    margin-bottom: 4px;
}

.mobile-card-body small {
    display: block;
    color: var(--muted);
    margin: 6px 0;
}

.mobile-card .btn {
    margin-top: 8px;
}

@media (max-width: 900px) {
    html {
        overflow-x: hidden;
    }

    .container {
        width: 94%;
        max-width: 100%;
        margin: 18px auto;
        min-width: 0;
        box-sizing: border-box;
    }

    /* display:contents + flex üst üste binince taşma ve hamburger hizası bozuluyordu */
    .header {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        align-items: center;
        gap: 10px 12px;
    }

    .header-left {
        grid-column: 1;
        grid-row: 1;
        min-width: 0;
    }

    .header-left .header-logo-link {
        min-width: 0;
        max-width: 100%;
    }

    .header-right {
        display: contents;
    }

    .menu-toggle {
        grid-column: 2;
        grid-row: 1;
        justify-self: end;
        align-self: center;
    }

    .header h1,
    .header h2 {
        font-size: 28px;
        margin-bottom: 0;
    }

    .header-logo-link {
        gap: 8px;
    }

    .header-logo-icon {
        width: 32px;
        height: 32px;
    }

    .menu-toggle {
        display: inline-flex;
    }

    .header .nav {
        display: none !important;
        grid-column: 1 / -1;
        grid-row: 2;
        width: 100%;
        max-width: 100%;
        min-width: 0;
        box-sizing: border-box;
        flex-direction: column;
        align-items: stretch;
        justify-content: flex-start;
        gap: 8px;
        margin-top: 0;
        overflow: visible;
        flex-wrap: nowrap;
        padding-bottom: 0;
    }

    .header .nav.open {
        display: flex !important;
    }

    .header .nav a {
        width: 100%;
        justify-content: flex-start;
    }

    .header .nav .nav-upcoming {
        width: 100%;
        justify-content: flex-start;
    }

    .header .nav .nav-dropdown {
        width: 100%;
        flex-direction: column;
        align-items: stretch;
    }

    .header .nav .nav-dropdown-toggle {
        width: 100%;
        justify-content: space-between;
    }

    .header .nav .nav-dropdown-menu {
        position: static;
        width: 100%;
        margin-top: 8px;
        box-shadow: none;
    }

    .header .nav .user-info {
        margin-left: 0 !important;
        display: block;
        padding-top: 8px;
        color: var(--muted);
    }

    .header .nav .user-info .profile-dropdown {
        width: 100%;
        position: relative;
    }

    .header .nav .user-info .profile-link {
        width: 100%;
        justify-content: space-between;
        min-height: 42px;
        padding: 10px 14px;
        border-radius: 11px;
        font-size: 14px;
        background: rgba(250, 204, 21, 0.18);
        border: 1px solid rgba(250, 204, 21, 0.45);
        color: #f8fafc !important;
    }

    .header .nav .user-info .profile-link .profile-link-text {
        display: none;
    }

    .header .nav .user-info .profile-link .profile-link-mobile-text {
        display: inline-block;
    }

    .user-info .profile-link-text strong {
        font-size: 14px;
    }

    .header .nav .user-info .profile-menu {
        position: absolute;
        top: calc(100% + 8px);
        left: 0;
        right: auto;
        width: 100%;
        margin-top: 0;
        box-shadow: 0 18px 30px rgba(0, 0, 0, 0.32);
    }

    .header .nav .user-info a {
        min-height: 42px;
        font-size: 14px;
    }

    .nav a,
    .btn {
        min-height: 42px;
        padding: 10px 14px;
        border-radius: 11px;
        font-size: 14px;
    }

    .card {
        padding: 18px;
        border-radius: 18px;
    }

    .card h2,
    .card h3 {
        font-size: 23px;
    }

    input,
    select,
    textarea {
        min-height: 46px;
        font-size: 15px;
    }

    table {
        min-width: 720px;
    }

    .araclar-table-card > table,
    .araclar-table-card table,
    .cop-table-card > table,
    .cop-table-card table {
        display: none !important;
    }

    .araclar-table-card .mobile-cards,
    .cop-table-card .mobile-cards {
        display: block !important;
    }

    /* Detayli gorunumde tabloyu mobilde gizleme. Yatay kaydirma ile goster. */
    .araclar-list-wrap .araclar-list-table {
        display: table !important;
    }

    .araclar-ozet-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }

    .araclar-ozet-kart {
        width: 100%;
    }

    .araclar-ozet-kart-genis {
        grid-column: 1 / -1;
    }
}

.mobile-bottom-bar {
    display: none;
}

@media (max-width: 900px) {
    body {
        padding-bottom: calc(96px + env(safe-area-inset-bottom, 0px));
    }
    .container {
        padding-bottom: 0;
    }
    .mobile-bottom-bar {
        position: fixed;
        left: 0;
        right: 0;
        width: 100vw;
        margin: 0;
        box-sizing: border-box;
        bottom: 0;
        z-index: 1200;
        height: calc(74px + env(safe-area-inset-bottom, 0px));
        background: rgba(15, 23, 42, 0.95);
        border-top: 1px solid rgba(148, 163, 184, 0.24);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        display: grid;
        grid-template-columns: repeat(5, minmax(0, 1fr));
        align-items: center;
        justify-items: center;
        padding: 8px calc(8px + env(safe-area-inset-left, 0px)) calc(8px + env(safe-area-inset-bottom, 0px)) calc(8px + env(safe-area-inset-right, 0px));
    }
    .mobile-bottom-item {
        text-decoration: none;
        color: #cbd5e1;
        font-size: 12px;
        font-weight: 700;
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 2px;
        min-height: 48px;
        min-width: 0;
        border-radius: 12px;
        position: relative;
    }
    .mobile-bottom-item i {
        font-size: 14px;
        line-height: 1;
    }
    .mobile-bottom-item span {
        line-height: 1;
    }
    .mobile-bottom-item-logo {
        width: 58px;
        height: 58px;
        margin: -24px 0 0;
        justify-self: center;
        border-radius: 50%;
        background: linear-gradient(135deg, #312e81, #7c3aed);
        border: 2px solid rgba(255, 255, 255, 0.18);
        box-shadow: 0 8px 24px rgba(15, 23, 42, 0.38);
    }
    .mobile-bottom-item-logo img {
        width: 34px;
        height: 34px;
        object-fit: contain;
    }
}

@media (max-width: 600px) {
    body {
        font-size: 15px;
    }

    .container {
        width: 96%;
        margin: 14px auto;
    }

    .header h1,
    .header h2 {
        font-size: 24px;
    }

    .header-logo-link {
        gap: 7px;
    }

    .header-logo-icon {
        width: 26px;
        height: 26px;
    }

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

    .nav a,
    .btn {
        min-height: 40px;
        padding: 9px 12px;
        font-size: 13px;
    }

    .card {
        padding: 15px;
    }

    .card h2,
    .card h3 {
        font-size: 21px;
    }

    th,
    td {
        padding: 11px 12px;
        font-size: 13px;
    }

    table {
        min-width: 620px;
    }

    .table-card {
        border-radius: 16px;
        -webkit-overflow-scrolling: touch;
    }

    .card,
    .table-card {
        width: 100%;
    }

    .araclar-ozet-kart,
    .araclar-ozet-kart-genis {
        min-height: 62px !important;
        padding: 7px 8px !important;
    }

    .araclar-ozet-kart small {
        margin-bottom: 2px;
        font-size: 12px;
    }

    .araclar-ozet-kart b {
        font-size: 22px;
    }

}

@media (max-width: 480px) {
    .container {
        width: 100%;
        padding: 0 10px;
        box-sizing: border-box;
    }

    .card,
    .table-card {
        border-radius: 14px;
    }

    .nav a,
    .btn {
        white-space: nowrap;
    }

    .header-logo-link span {
        display: inline-block;
        max-width: min(200px, 48vw);
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        vertical-align: bottom;
    }

    .araclar-section-title {
        font-size: 22px;
    }

    .araclar-sort-pill {
        font-size: 11px;
        padding: 6px 10px;
    }
}

@media (min-width: 901px) {
    .mobile-cards {
        display: none !important;
    }
}
@media (max-width: 900px) {
    .musteriler-table-card table {
        display: none !important;
    }

    .musteriler-table-card + .mobile-cards {
        display: block !important;
    }
}

@media (min-width: 901px) {
    .mobile-cards {
        display: none !important;
    }
}
.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-top: 20px;
}

.dash-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 24px;
    text-align: center;
    text-decoration: none;
    color: var(--text);
    font-size: 20px;
    font-weight: 700;
    display: flex;
    flex-direction: column;
    gap: 10px;
    justify-content: center;
    align-items: center;
    transition: 0.2s;
}

.dash-card:hover {
    transform: translateY(-3px);
    background: var(--card-soft);
}

/* Tablet */
@media (max-width: 900px) {
    .dashboard-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Telefon */
@media (max-width: 500px) {
    .dashboard-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Araclar page */
.araclar-section-card {
    padding: 22px;
}

.araclar-section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
    border-bottom: 2px solid #e5e7eb;
    padding-bottom: 8px;
}

.araclar-section-title {
    margin: 0;
    font-size: clamp(24px, 2.2vw, 30px);
    font-weight: 800;
    line-height: 1.15;
}

.araclar-trash-btn {
    padding: 9px 14px;
    min-height: auto;
}

.araclar-header-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: flex-end;
    margin-left: auto;
}

.araclar-bottom-actions {
    display: flex;
    justify-content: flex-end;
    margin-top: 14px;
}

.araclar-view-switch {
    display: inline-flex;
    border: 1px solid rgba(148, 163, 184, 0.35);
    border-radius: 12px;
    overflow: hidden;
    background: rgba(15, 23, 42, 0.65);
}

.araclar-view-btn {
    color: #cbd5e1;
    text-decoration: none;
    padding: 8px 12px;
    font-size: 13px;
    font-weight: 700;
    line-height: 1;
    border-right: 1px solid rgba(148, 163, 184, 0.3);
}

.araclar-view-btn:last-child {
    border-right: 0;
}

.araclar-view-btn:hover {
    color: #f8fafc;
    background: rgba(51, 65, 85, 0.55);
}

.araclar-view-btn.active {
    background: rgba(250, 204, 21, 0.18);
    color: var(--yellow);
}

.araclar-view-switch-wrap {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.araclar-view-label {
    color: #cbd5e1;
    font-size: 13px;
    font-weight: 600;
}

.araclar-card-sort-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: 10px 12px;
    margin-bottom: 14px;
    padding: 10px 12px;
    border-radius: 14px;
    background: rgba(15, 23, 42, 0.45);
    border: 1px solid rgba(148, 163, 184, 0.16);
}

.araclar-card-sort-label {
    color: #cbd5e1;
    font-size: 13px;
    font-weight: 700;
    flex-shrink: 0;
}

.araclar-card-sort-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

.araclar-sort-pill {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 7px 12px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 800;
    text-decoration: none;
    color: #e2e8f0 !important;
    background: rgba(51, 65, 85, 0.55);
    border: 1px solid rgba(148, 163, 184, 0.22);
    transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.araclar-sort-pill:hover {
    border-color: rgba(250, 204, 21, 0.35);
    color: #f8fafc !important;
    background: rgba(51, 65, 85, 0.85);
}

.araclar-sort-pill.active {
    background: rgba(250, 204, 21, 0.16);
    border-color: rgba(250, 204, 21, 0.45);
    color: var(--yellow) !important;
}

.araclar-ozet-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 2fr;
    gap: 10px;
    margin-bottom: 14px;
}

.araclar-ozet-toggle {
    display: flex !important;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    max-width: 100%;
    margin: 0 0 12px !important;
    min-height: 50px;
    padding: 12px 16px;
    border: 1px solid rgba(244, 114, 182, 0.42);
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.32), rgba(236, 72, 153, 0.32), rgba(59, 130, 246, 0.32), rgba(250, 204, 21, 0.32)) !important;
    color: #f8fafc !important;
    font-weight: 800;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 8px 22px rgba(76, 29, 149, 0.35);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.araclar-ozet-toggle:hover {
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.32), rgba(236, 72, 153, 0.32), rgba(59, 130, 246, 0.32), rgba(250, 204, 21, 0.32)) !important;
    color: #ffffff !important;
    transform: none !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 8px 22px rgba(76, 29, 149, 0.35);
}

.araclar-ozet-wrap {
    margin-bottom: 10px;
}

.araclar-ozet-kart {
    background: linear-gradient(160deg, rgba(20, 31, 52, 0.92), rgba(10, 20, 38, 0.9));
    border: 1px solid rgba(120, 200, 255, 0.25);
    border-radius: 16px;
    padding: 18px 16px;
    min-height: 132px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    overflow: hidden;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06), 0 10px 22px rgba(0, 0, 0, 0.25);
}

.araclar-ozet-kart-neon::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    pointer-events: none;
    box-shadow: inset 0 0 18px rgba(120, 220, 255, 0.2);
}

.araclar-ozet-kart small {
    display: block;
    color: #dbeafe;
    font-size: 14px;
    font-weight: 800;
    margin-bottom: 8px;
    text-shadow: 0 0 8px rgba(125, 211, 252, 0.25);
}

.araclar-ozet-kart:not(.araclar-ozet-kart-genis) small {
    font-size: 16px;
    text-align: center;
}

.araclar-ozet-kart b {
    display: block;
    color: #f8fafc;
    font-size: 30px;
    line-height: 1.1;
    letter-spacing: -0.4px;
    text-align: center;
    text-shadow: 0 0 14px rgba(147, 197, 253, 0.25);
}

.araclar-ozet-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.araclar-ozet-kart-genis {
    min-height: 132px;
    justify-content: flex-start;
}

.araclar-ozet-kart-maliyet b {
    color: #fcd34d;
    text-shadow: 0 0 14px rgba(250, 204, 21, 0.35);
}

.araclar-ozet-ikon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 54px;
    height: 54px;
    margin: 0 auto 10px;
    border-radius: 12px;
    background: rgba(125, 211, 252, 0.12);
    border: 1px solid rgba(125, 211, 252, 0.32);
    color: #bae6fd;
    font-size: 26px;
    text-shadow: 0 0 10px rgba(125, 211, 252, 0.4);
}

.araclar-ozet-kart-maliyet .araclar-ozet-ikon {
    color: #fde68a;
    border-color: rgba(250, 204, 21, 0.4);
    background: rgba(250, 204, 21, 0.14);
    text-shadow: 0 0 10px rgba(250, 204, 21, 0.45);
}

#araclarProfitPercent {
    color: var(--yellow);
    font-size: 14px;
    font-weight: 800;
}

#araclarProfitRange {
    width: 100%;
    margin-top: 0;
    margin-bottom: 2px;
    accent-color: #38bdf8;
}

.araclar-ozet-kart-genis .araclar-ozet-head {
    margin-bottom: 2px;
}

.araclar-ozet-kart-genis .profit-results div:first-child b {
    color: #fcd34d;
    text-shadow: 0 0 10px rgba(250, 204, 21, 0.35);
}

.araclar-ozet-kart-genis .profit-results div:last-child b {
    color: #6ee7b7;
    text-shadow: 0 0 10px rgba(16, 185, 129, 0.35);
}

.araclar-list-wrap {
    overflow-x: auto;
}

.araclar-list-table {
    width: 100%;
}

.araclar-sort-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: inherit;
    text-decoration: none;
}

.araclar-sort-link:hover {
    color: var(--yellow);
}

.metric-center {
    text-align: center;
}

th.metric-center .araclar-sort-link {
    width: 100%;
    justify-content: center;
}

.araclar-list-row {
    cursor: pointer;
}

.araclar-list-row:hover {
    background: rgba(250, 204, 21, 0.08);
}

.araclar-search-wrap {
    margin: 0;
    max-width: none;
    width: 100%;
    min-width: 0;
}

.araclar-search-wrap input {
    width: 100%;
}

.araclar-search-bar {
    display: flex;
    align-items: stretch;
    gap: 8px;
}

.araclar-search-bar input {
    flex: 1 1 auto;
    min-width: 0;
}

.araclar-search-btn {
    min-height: 46px;
    padding: 0 14px;
    white-space: nowrap;
}

.araclar-tools-row {
    display: grid;
    grid-template-columns: minmax(0, 70%) minmax(0, 30%);
    align-items: stretch;
    gap: 8px;
    margin: 10px 0 8px;
    width: 100%;
    max-width: 100%;
    min-width: 0;
}

.araclar-tools-row .araclar-ozet-toggle {
    margin: 0;
    min-height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    width: 100%;
}

.araclar-tools-row .araclar-search-wrap {
    width: 100%;
    min-width: 0;
    max-width: 100%;
    box-sizing: border-box;
}

@media (max-width: 700px) {
    .araclar-tools-row {
        grid-template-columns: minmax(0, 58%) minmax(0, 42%);
        gap: 4px;
        width: 100%;
        max-width: 100%;
    }

    .araclar-tools-row .araclar-ozet-toggle {
        width: 100%;
        min-width: 0;
        padding-left: 6px;
        padding-right: 6px;
        font-size: 12px;
        white-space: normal;
        line-height: 1.2;
    }

    .araclar-tools-row .araclar-ozet-toggle i {
        display: none;
    }

    .araclar-tools-row .araclar-ozet-toggle span {
        display: block;
        width: 100%;
        text-align: center;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .araclar-search-wrap {
        max-width: 100%;
        width: 100%;
        padding-left: 8px;
        padding-right: 8px;
    }

    .araclar-search-wrap .input-money-wrap {
        min-width: 0;
        width: 100%;
    }

    .araclar-search-wrap input {
        min-width: 0;
        font-size: 12px;
        padding-right: 30px;
    }

    .araclar-search-wrap .money-symbol {
        right: 8px;
    }

    .araclar-search-btn {
        min-height: 40px;
        padding: 0 10px;
        font-size: 12px;
    }
}

.arac-list-no-photo {
    width: 70px;
    height: 50px;
    border-radius: 8px;
    border: 1px dashed rgba(148, 163, 184, 0.45);
    background: rgba(30, 41, 59, 0.7);
    color: #94a3b8;
    font-size: 10px;
    font-weight: 700;
    line-height: 1.2;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 4px;
}

.araclar-sales-title {
    margin-top: 30px;
    margin-bottom: 10px;
    border-bottom: 2px solid #e5e7eb;
    padding-bottom: 6px;
}

.finans-hareket-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 16px;
}

.finans-hareket-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 10px;
    background: rgba(15, 23, 42, 0.45);
    border: 1px solid rgba(148, 163, 184, 0.25);
}

.finans-hareket-saat {
    min-width: 48px;
    font-size: 12px;
    color: #94a3b8;
    font-weight: 700;
}

.finans-hareket-text {
    color: #e2e8f0;
    font-size: 14px;
    white-space: normal;
    word-break: break-word;
}

.finans-hareket-body {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.finans-hareket-extra {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.finans-pill {
    font-size: 12px;
    font-weight: 700;
    padding: 4px 8px;
    border-radius: 999px;
    border: 1px solid rgba(148, 163, 184, 0.35);
    background: rgba(30, 41, 59, 0.55);
    color: #cbd5e1;
    white-space: normal;
}

@media (max-width: 600px) {
    .finans-hareket-item {
        flex-direction: column;
        gap: 6px;
    }

    .finans-hareket-saat {
        min-width: auto;
    }
}

.finans-pill.is-profit {
    color: #22c55e;
    border-color: rgba(34, 197, 94, 0.4);
    background: rgba(34, 197, 94, 0.12);
}

.finans-pill.is-loss {
    color: #f87171;
    border-color: rgba(248, 113, 113, 0.4);
    background: rgba(248, 113, 113, 0.12);
}

.finans-pill.is-trade {
    color: var(--yellow);
    border-color: rgba(250, 204, 21, 0.45);
    background: rgba(250, 204, 21, 0.14);
}

.araclar-month-title {
    margin-top: 20px;
    margin-bottom: 6px;
    color: #475569;
    font-weight: 600;
}

.arac-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 14px;
}

.arac-cards-grid-spaced {
    margin-bottom: 20px;
}

.arac-item-card {
    text-decoration: none;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(148, 163, 184, 0.2);
    background: rgba(15, 23, 42, 0.45);
    transition: border-color 0.16s ease, transform 0.16s ease;
}

.arac-item-card:hover {
    transform: translateY(-2px);
    border-color: rgba(250, 204, 21, 0.4);
}

.arac-item-card img,
.arac-empty-photo {
    width: 100%;
    height: 150px;
    object-fit: cover;
}

.arac-foto-wrap {
    position: relative;
}

.arac-empty-photo {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
    font-weight: 700;
    background: rgba(30, 41, 59, 0.8);
}

.arac-item-body {
    padding: 12px;
}

.arac-item-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
}

.arac-item-top b {
    color: #f8fafc;
    font-size: 16px;
}

.arac-price {
    color: var(--yellow);
    font-weight: 800;
    font-size: 13px;
}

.arac-title {
    color: #e2e8f0;
    margin-top: 6px;
    font-size: 14px;
    line-height: 1.35;
}

.arac-item-body small {
    display: block;
    margin-top: 8px;
    color: #94a3b8;
    font-size: 12px;
}

.arac-basic-name {
    color: #f8fafc;
    font-size: 16px;
    font-weight: 800;
    line-height: 1.35;
}

.arac-basic-meta {
    margin-top: 6px !important;
    color: #cbd5e1 !important;
    font-size: 12px;
}

.arac-metric-row {
    margin-top: 10px;
    display: flex;
    gap: 8px;
    width: 100%;
}

.arac-maliyet-chip {
    width: 85%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    padding: 8px 10px;
    border-radius: 11px;
    border: 1px solid rgba(250, 204, 21, 0.35);
    background: rgba(250, 204, 21, 0.14);
}

.arac-maliyet-label {
    color: #fde68a;
    font-size: 11px;
    font-weight: 700;
    line-height: 1;
}

.arac-maliyet-chip strong {
    color: #facc15;
    font-size: 14px;
    line-height: 1.2;
}

.arac-gun-chip {
    width: 15%;
    min-width: 56px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    padding: 8px 6px;
    border-radius: 11px;
    border: 1px solid rgba(250, 204, 21, 0.35);
    background: rgba(250, 204, 21, 0.14);
}

.arac-gun-chip strong {
    color: #f8fafc;
    font-size: 14px;
    line-height: 1.2;
}

.arac-plaka-badge {
    position: absolute;
    left: 50%;
    bottom: 8px;
    transform: translateX(-50%);
    min-width: 130px;
    padding: 6px 14px;
    border-radius: 9px;
    border: 2px solid rgba(17, 24, 39, 0.9);
    background: rgba(248, 250, 252, 0.95);
    color: #0f172a;
    font-weight: 800;
    font-size: 14px;
    text-align: center;
    letter-spacing: 0.5px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.28);
}

/* Dashboard page */
.dashboard-hero {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    padding: 28px;
    border-radius: 26px;
    background: linear-gradient(135deg, rgba(30, 41, 59, 0.96), rgba(15, 23, 42, 0.88));
    border: 1px solid rgba(250, 204, 21, 0.18);
    margin-bottom: 18px;
}

.dashboard-badge {
    display: inline-flex;
    padding: 7px 11px;
    border-radius: 999px;
    background: rgba(250, 204, 21, 0.12);
    border: 1px solid rgba(250, 204, 21, 0.24);
    color: var(--yellow);
    font-size: 13px;
    font-weight: 800;
    margin-bottom: 12px;
}

.dashboard-hero h2 { margin: 0; font-size: 34px; letter-spacing: -0.8px; }
.dashboard-hero p { margin: 10px 0 0; color: #94a3b8; line-height: 1.55; }
.dashboard-hero-actions { display: flex; gap: 10px; flex-wrap: wrap; justify-content: flex-end; }
.secondary-btn { background: #334155 !important; color: #fff !important; }
.icon-btn { gap: 8px; }

.hero-action-card {
    min-height: 74px; min-width: 190px; display: grid;
    grid-template-columns: 42px 1fr; grid-template-rows: auto auto;
    align-items: center; column-gap: 10px; text-decoration: none;
    border-radius: 18px; padding: 10px 14px;
    background: rgba(30, 41, 59, 0.96);
    border: 1px solid rgba(148, 163, 184, 0.24);
    transition: border-color 0.15s ease, background 0.15s ease;
}
.hero-action-card i {
    grid-row: 1 / 3; width: 42px; height: 42px; display: inline-flex;
    align-items: center; justify-content: center; border-radius: 12px;
    color: var(--yellow); background: rgba(250, 204, 21, 0.12);
}
.hero-action-card span { color: #f8fafc; font-weight: 800; line-height: 1.1; }
.hero-action-card small { color: #94a3b8; font-size: 12px; line-height: 1.1; }
.hero-action-card:hover { background: rgba(30, 41, 59, 1); border-color: rgba(250, 204, 21, 0.38); }

.masraflar-tabs {
    display: inline-flex;
    gap: 8px;
    background: rgba(15, 23, 42, 0.55);
    border: 1px solid rgba(148, 163, 184, 0.2);
    border-radius: 12px;
    padding: 6px;
    margin-bottom: 14px;
}

.masraflar-tab-btn {
    border: 0;
    border-radius: 9px;
    padding: 8px 12px;
    background: transparent;
    color: #cbd5e1;
    font-weight: 700;
    cursor: pointer;
}

.masraflar-tab-btn.active {
    background: rgba(250, 204, 21, 0.18);
    color: #f8fafc;
}

.masraflar-tab-btn.masraflar-tab-disabled {
    opacity: 0.6;
    cursor: not-allowed;
    position: relative;
}

.masraflar-tab-btn.masraflar-tab-disabled:hover::after {
    content: attr(data-upcoming);
    position: absolute;
    left: 50%;
    top: calc(100% + 8px);
    transform: translateX(-50%);
    background: rgba(15, 23, 42, 0.96);
    color: #f8fafc;
    border: 1px solid rgba(250, 204, 21, 0.45);
    border-radius: 8px;
    padding: 5px 8px;
    font-size: 11px;
    white-space: nowrap;
    z-index: 20;
}

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

.masraf-vehicle-card {
    background: rgba(15, 23, 42, 0.5);
    border: 1px solid rgba(148, 163, 184, 0.18);
    border-radius: 14px;
    padding: 12px;
}

.masraf-vehicle-head {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin-bottom: 10px;
}

.masraf-vehicle-head small {
    display: block;
    color: #94a3b8;
    font-size: 12px;
}

.masraf-vehicle-head b {
    color: #f8fafc;
    font-size: 14px;
}

.masraf-vehicle-body > small {
    color: #94a3b8;
    font-weight: 700;
}

.masraf-item-list {
    list-style: none;
    margin: 8px 0 0;
    padding: 0;
    display: grid;
    gap: 7px;
}

.masraf-item-list li {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    font-size: 13px;
    color: #e2e8f0;
    border-bottom: 1px dashed rgba(148, 163, 184, 0.22);
    padding-bottom: 6px;
}

.masraf-item-list li strong {
    white-space: nowrap;
}

.masraf-vehicle-total {
    margin-top: 10px;
    color: #facc15;
    font-weight: 700;
}

@media (max-width: 900px) {
    .masraf-list-grid {
        grid-template-columns: 1fr;
    }

    .masraf-vehicle-head {
        grid-template-columns: 1fr;
        gap: 6px;
    }

    .masraf-item-list li {
        flex-direction: column;
        align-items: flex-start;
    }
}

.masraflar-page {
    margin-bottom: 90px;
}

.masraf-ozet-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
    margin-bottom: 12px;
}

.masraf-ozet-item {
    background: rgba(15, 23, 42, 0.5);
    border: 1px solid rgba(148, 163, 184, 0.16);
    border-radius: 12px;
    padding: 10px;
}

.masraf-ozet-item small {
    display: block;
    color: #94a3b8;
    font-size: 12px;
    margin-bottom: 6px;
}

.masraf-ozet-item b {
    color: #f8fafc;
    font-size: 15px;
    line-height: 1.3;
}

.masraf-filter-row {
    display: grid;
    grid-template-columns: 1.3fr 1fr 0.9fr 0.9fr auto;
    gap: 8px;
    margin-bottom: 12px;
    align-items: start;
}

.masraf-filter-row input,
.masraf-filter-row select {
    min-height: 42px;
    height: 42px;
    padding-top: 0;
    padding-bottom: 0;
}

.masraf-filter-date-field {
    display: flex;
    flex-direction: column;
    gap: 4px;
    color: #cbd5e1;
    font-size: 12px;
    font-weight: 600;
    margin: 0;
}

.masraf-filter-row .btn {
    min-height: 42px;
    height: 42px;
    margin: 0 !important;
    padding-top: 0;
    padding-bottom: 0;
    width: 100%;
    box-sizing: border-box;
}

.masraf-filter-btn-wrap {
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.masraf-filter-btn-spacer {
    display: block;
    visibility: hidden;
    color: #cbd5e1;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.2;
    min-height: 14px;
    line-height: 14px;
}

.masraf-card-top {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-bottom: 8px;
}

.masraf-card-top small {
    display: block;
    color: #94a3b8;
    font-size: 12px;
}

.masraf-card-top b {
    color: #f8fafc;
}

.masraf-card-metrics {
    display: grid;
    gap: 6px;
    font-size: 13px;
    color: #cbd5e1;
    margin-bottom: 10px;
}

.masraf-card-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.masraf-detail-panel {
    margin-top: 10px;
    background: rgba(2, 6, 23, 0.5);
    border: 1px solid rgba(148, 163, 184, 0.16);
    border-radius: 12px;
    padding: 10px;
}

.masraf-detail-head {
    font-weight: 700;
    color: #f8fafc;
    margin-bottom: 8px;
}

.masraf-detail-list {
    display: grid;
    gap: 8px;
}

.masraf-detail-item,
.masraf-general-item {
    border: 1px solid rgba(148, 163, 184, 0.15);
    border-radius: 10px;
    padding: 8px;
    background: rgba(15, 23, 42, 0.45);
}

.masraf-detail-line {
    display: grid;
    grid-template-columns: 0.8fr 0.9fr 1.5fr 0.8fr auto;
    gap: 8px;
    align-items: center;
    color: #e2e8f0;
    font-size: 13px;
}

.masraf-detail-actions {
    display: flex;
    gap: 8px;
    margin-top: 8px;
}

.btn-mini {
    min-height: 32px;
    padding: 6px 10px;
    font-size: 12px;
}

.btn-danger-soft {
    background: rgba(239, 68, 68, 0.32);
    border-color: rgba(248, 113, 113, 0.7);
    color: #fff5f5;
}

.btn-danger-soft:hover {
    background: rgba(239, 68, 68, 0.44);
    border-color: rgba(248, 113, 113, 0.9);
    color: #ffffff;
}

.masraf-edit-form {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
    margin-top: 8px;
}

.masraf-add-switch {
    display: flex;
    gap: 8px;
    margin-bottom: 10px;
}

.masraf-add-switch .btn.active {
    background: rgba(250, 204, 21, 0.18);
    border-color: rgba(250, 204, 21, 0.35);
}

.masraf-general-list {
    display: grid;
    gap: 10px;
}

.masraf-pagination {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    margin-top: 12px;
}

.masraf-pagination .btn.active {
    background: rgba(250, 204, 21, 0.18);
    border-color: rgba(250, 204, 21, 0.45);
}

.profile-page-card {
    max-width: 980px;
    margin: 0 auto 90px;
}

.profile-top-card {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 14px;
    border-radius: 14px;
    background: rgba(15, 23, 42, 0.5);
    border: 1px solid rgba(148, 163, 184, 0.2);
    margin-bottom: 12px;
}

.profile-top-card h3 {
    margin: 2px 0 4px;
}

.profile-top-card p {
    margin: 0;
    color: #cbd5e1;
}

.profile-top-meta {
    display: grid;
    gap: 6px;
    font-size: 13px;
    color: #e2e8f0;
}

.profile-alert {
    border-radius: 10px;
    padding: 10px 12px;
    margin-bottom: 10px;
    font-weight: 600;
}

.profile-alert-error {
    background: rgba(239, 68, 68, 0.18);
    border: 1px solid rgba(248, 113, 113, 0.45);
    color: #fecaca;
}

.profile-alert-success {
    background: rgba(34, 197, 94, 0.18);
    border: 1px solid rgba(74, 222, 128, 0.45);
    color: #bbf7d0;
}

.profile-layout {
    display: grid;
    grid-template-columns: 240px minmax(0, 1fr);
    gap: 12px;
}

.profile-sidebar {
    display: grid;
    gap: 8px;
    align-content: start;
    background: rgba(15, 23, 42, 0.35);
    border: 1px solid rgba(148, 163, 184, 0.16);
    border-radius: 12px;
    padding: 10px;
}

.profile-content {
    min-width: 0;
}

.profile-tab-btn {
    border: 1px solid rgba(148, 163, 184, 0.3);
    background: rgba(15, 23, 42, 0.45);
    color: #e2e8f0;
    border-radius: 10px;
    padding: 9px 12px;
    cursor: pointer;
    font-weight: 700;
    text-align: left;
}

.profile-tab-btn.active {
    border-color: rgba(250, 204, 21, 0.45);
    background: rgba(250, 204, 21, 0.14);
}

.profile-tab-panel {
    border: 1px solid rgba(148, 163, 184, 0.2);
    border-radius: 12px;
    padding: 12px;
    background: rgba(15, 23, 42, 0.4);
}

.profile-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    align-items: start;
}

.profile-form-grid label {
    display: grid;
    gap: 5px;
    color: #cbd5e1;
    font-size: 13px;
    font-weight: 600;
    align-content: start;
    align-self: start;
}

.profile-form-grid input,
.profile-form-grid select {
    min-height: 44px;
}

.profile-inline-error {
    color: #ef4444 !important;
    font-size: 12px;
    font-weight: 800;
    margin-top: 2px;
    display: block;
    min-height: 16px;
    visibility: hidden;
}

.profile-inline-error.is-visible {
    visibility: visible;
}

.profile-save-btn {
    grid-column: 1 / -1;
}

.profile-security-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 12px;
    align-items: start;
}

.profile-security-form {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    justify-items: start;
}

.profile-security-form label {
    width: 100%;
    display: grid;
    gap: 5px;
    color: #cbd5e1;
    font-size: 13px;
    font-weight: 600;
}

.profile-security-form input {
    min-height: 44px;
}

.profile-security-form .btn {
    min-width: 170px;
}

.profile-security-note {
    background: rgba(15, 23, 42, 0.5);
    border: 1px solid rgba(148, 163, 184, 0.22);
    border-radius: 12px;
    padding: 12px;
}

.profile-security-note h4 {
    margin: 0 0 8px;
    color: #f8fafc;
}

.profile-security-note p {
    margin: 0 0 8px;
    color: #cbd5e1;
    font-size: 13px;
    line-height: 1.45;
}

@media (max-width: 900px) {
    .profile-top-card {
        flex-direction: column;
    }
    .profile-layout {
        grid-template-columns: 1fr;
    }
    .profile-sidebar {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
    .profile-tab-btn {
        text-align: center;
        padding: 10px 8px;
        font-size: 12px;
    }
    .profile-security-layout {
        grid-template-columns: 1fr;
    }
    .profile-form-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .profile-form-grid .profile-save-btn {
        grid-column: 1 / -1;
    }
}

.masraf-vehicle-card.level-normal {
    border-color: rgba(148, 163, 184, 0.18);
}

.masraf-vehicle-card.level-mid {
    border-color: rgba(250, 204, 21, 0.4);
    box-shadow: 0 0 0 1px rgba(250, 204, 21, 0.12) inset;
}

.masraf-vehicle-card.level-high {
    border-color: rgba(251, 146, 60, 0.45);
    box-shadow: 0 0 0 1px rgba(251, 146, 60, 0.14) inset;
}

@media (max-width: 1100px) {
    .masraf-ozet-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .masraf-filter-row {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 900px) {
    .masraf-detail-line {
        grid-template-columns: 1fr;
        gap: 5px;
    }
    .masraf-edit-form {
        grid-template-columns: 1fr;
    }
    .masraf-filter-row {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .masraf-filter-row .btn {
        grid-column: 1 / -1;
    }
    .masraf-ozet-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .masraf-card-top {
        grid-template-columns: 1fr;
    }
}

.dashboard-section, .portfolio-card {
    background: rgba(30, 41, 59, 0.94);
    border: 1px solid rgba(148, 163, 184, 0.18);
    border-radius: 22px;
    padding: 20px;
    margin-bottom: 18px;
}
.dashboard-section-title { margin-bottom: 14px; }
.dashboard-section-title h3 { margin: 0; font-size: 20px; color: #f8fafc; }
.quick-actions-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }

.quick-action-card {
    min-height: 120px; display: flex; flex-direction: column; align-items: center; justify-content: center;
    gap: 12px; border-radius: 22px; text-decoration: none; background: rgba(30, 41, 59, 0.92);
    border: 1px solid rgba(148, 163, 184, 0.18); color: #f8fafc; font-weight: 800;
    transition: background 0.18s ease, border-color 0.18s ease;
}
.quick-action-card:hover { background: rgba(30, 41, 59, 1); border-color: rgba(250, 204, 21, 0.38); }
.quick-action-card i {
    width: 46px; height: 46px; display: flex; align-items: center; justify-content: center;
    border-radius: 15px; background: rgba(250, 204, 21, 0.12); color: var(--yellow); font-size: 22px;
}

.portfolio-section { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 14px; margin-bottom: 18px; }
.portfolio-card { margin-bottom: 0; }
.portfolio-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.portfolio-stats div { background: rgba(15, 23, 42, 0.38); border: 1px solid rgba(148, 163, 184, 0.12); border-radius: 16px; padding: 16px; }
.portfolio-stats small { display: block; color: #94a3b8; font-weight: 800; margin-bottom: 8px; }
.portfolio-stats b { display: block; color: #f8fafc; font-size: 28px; letter-spacing: -0.4px; }

.monthly-performance-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.monthly-performance-card { background: rgba(15, 23, 42, 0.38); border: 1px solid rgba(148, 163, 184, 0.12); border-radius: 16px; padding: 16px; }
.monthly-performance-card small { display: block; color: #94a3b8; font-weight: 800; margin-bottom: 8px; }
.monthly-performance-card b { display: block; color: #f8fafc; font-size: 22px; letter-spacing: -0.3px; }
.monthly-performance-card small,
.monthly-performance-card b {
    text-align: center;
}
.monthly-performance-section .dashboard-section-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}
.monthly-performance-inline-rate {
    font-weight: 800;
    font-size: 16px;
    line-height: 1;
    white-space: nowrap;
}
.monthly-history-grid {
    display: grid;
    gap: 12px;
}
.monthly-history-card {
    background: rgba(15, 23, 42, 0.3);
    border: 1px solid rgba(148, 163, 184, 0.14);
    border-radius: 16px;
    padding: 14px;
}
.monthly-history-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 10px;
}
.monthly-history-head b {
    color: #f8fafc;
    font-size: 16px;
}
.monthly-history-head span {
    font-size: 13px;
    font-weight: 800;
    white-space: nowrap;
}
.finans-ozet-card {
    text-align: center;
}
.finans-ozet-card b {
    text-align: center;
}

.vehicle-card-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.vehicle-mini-card {
    display: grid; grid-template-columns: 64px 1fr; gap: 10px; align-items: center; text-decoration: none;
    padding: 10px; border-radius: 16px; background: rgba(15, 23, 42, 0.38); border: 1px solid rgba(148, 163, 184, 0.12);
}
.vehicle-mini-card img, .vehicle-mini-card .empty-car-icon { width: 64px; height: 48px; border-radius: 11px; object-fit: cover; }
.vehicle-mini-card b { display: block; color: #f8fafc; font-size: 14px; }
.vehicle-mini-card span { display: block; color: #94a3b8; font-size: 12px; margin-top: 3px; }

.dashboard-stats-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-bottom: 18px; }
.stat-card, .focus-card, .recent-card {
    background: rgba(30, 41, 59, 0.94); border: 1px solid rgba(148, 163, 184, 0.18); border-radius: 22px; padding: 20px;
}
.stat-card small { display: block; color: #94a3b8; font-weight: 800; margin-bottom: 8px; }
.stat-card b { display: block; color: #f8fafc; font-size: 28px; letter-spacing: -0.4px; }
.stat-card span { display: block; margin-top: 8px; color: #94a3b8; font-size: 13px; }

.dashboard-bottom-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 14px; align-items: start; }
.focus-card { display: flex; gap: 15px; text-decoration: none; color: inherit; }
.focus-icon {
    width: 46px; height: 46px; flex-shrink: 0; border-radius: 15px; display: flex; align-items: center; justify-content: center;
    background: rgba(250, 204, 21, 0.12); color: var(--yellow); font-size: 20px;
}
.focus-card small { color: #94a3b8; font-weight: 800; }
.focus-card h3 { margin: 8px 0 6px; color: #f8fafc; font-size: 20px; }
.focus-card p { margin: 0; color: #94a3b8; }

.section-title-row { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 12px; }
.section-title-row h3 { margin: 0; font-size: 20px; }
.section-title-row a { color: var(--yellow); text-decoration: none; font-weight: 800; font-size: 13px; }

.recent-list { display: grid; gap: 10px; }
.recent-list a {
    display: grid; grid-template-columns: 56px 1fr auto; gap: 12px; align-items: center;
    text-decoration: none; padding: 10px; border-radius: 15px; background: rgba(15, 23, 42, 0.38);
    border: 1px solid rgba(148, 163, 184, 0.12);
}
.recent-list img, .empty-car-icon { width: 56px; height: 42px; border-radius: 10px; object-fit: cover; }
.empty-car-icon { display: flex; align-items: center; justify-content: center; background: rgba(250, 204, 21, 0.12); color: var(--yellow); }
.recent-list b { display: block; color: #f8fafc; }
.recent-list span { display: block; color: #94a3b8; font-size: 13px; margin-top: 3px; }
.recent-list strong { color: var(--yellow); font-size: 13px; white-space: nowrap; }
.empty-text { color: #94a3b8; margin: 0; }

@media (max-width: 900px) {
    .dashboard-hero { display: block; padding: 22px; }
    .dashboard-hero h2 { font-size: 28px; }
    .dashboard-hero-actions { justify-content: flex-start; margin-top: 16px; }
    .hero-action-card { min-width: 175px; }
    .quick-actions-grid { grid-template-columns: repeat(2, 1fr); }
    .dashboard-stats-grid { grid-template-columns: repeat(2, 1fr); }
    .dashboard-bottom-grid, .portfolio-section { grid-template-columns: 1fr; }
    .monthly-performance-grid { grid-template-columns: repeat(2, 1fr); }
    .monthly-performance-inline-rate {
        font-size: 13px;
    }
    .monthly-history-head {
        flex-wrap: wrap;
    }
}

@media (max-width: 520px) {
    .dashboard-stats-grid, .vehicle-card-list { grid-template-columns: 1fr; }
    .quick-action-card { min-height: 105px; }
    .recent-list a { grid-template-columns: 50px 1fr; }
    .recent-list strong { grid-column: 2; }
    .portfolio-stats, .monthly-performance-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
    .portfolio-stats div, .monthly-performance-card { padding: 10px; }
    .portfolio-stats small, .monthly-performance-card small { font-size: 11px; }
    .portfolio-stats b { font-size: 16px; }
    .monthly-performance-card b { font-size: 14px; }
    .monthly-performance-inline-rate {
        font-size: 12px;
    }
    .monthly-history-card {
        padding: 10px;
    }
    .monthly-history-head b {
        font-size: 14px;
    }
    .monthly-history-head span {
        font-size: 11px;
    }
    .finans-ozet-grid {
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 8px !important;
    }
    .finans-ozet-grid .finans-ozet-card {
        padding: 10px;
    }
    .finans-ozet-grid .finans-ozet-card small {
        font-size: 12px;
    }
    .finans-ozet-grid .finans-ozet-card b {
        font-size: 16px;
    }
}

.profit-sim { margin-top: 14px; }
.profit-head { display: flex; justify-content: space-between; margin-bottom: 8px; color: #94a3b8; font-weight: 700; }
.profit-sim input { width: 100%; margin-bottom: 12px; }
.profit-results { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.profit-results div { background: rgba(15, 23, 42, 0.38); border: 1px solid rgba(148, 163, 184, 0.12); border-radius: 12px; padding: 10px; }
.profit-results b { color: var(--yellow); }

/* Shared utility classes */
.hidden { display: none !important; }
.card-mb-20 { margin-bottom: 20px; }
.card-center { margin: auto; }
.card-max-420 { max-width: 420px; }
.card-max-500 { max-width: 500px; }
.card-max-520 { max-width: 520px; }
.card-max-650 { max-width: 650px; }
.no-shadow { box-shadow: none !important; text-shadow: none !important; }
.btn-no-shadow { box-shadow: none !important; text-shadow: none !important; }
.btn-secondary-dark { background: #334155 !important; color: #fff !important; }
.btn-danger-inline { background: #ef4444 !important; color: #fff !important; }
.btn-center { text-decoration: none; display: inline-flex; align-items: center; justify-content: center; }
.btn-inline-flex { display: inline-flex; align-items: center; gap: 6px; }
.full-width { width: 100%; }
.mt-8 { margin-top: 8px !important; }
.mt-10 { margin-top: 10px !important; }
.mt-12 { margin-top: 12px !important; }
.mt-20 { margin-top: 20px !important; }
.mb-20 { margin-bottom: 20px !important; }
.muted-text { color: #94a3b8; }
.musteri-price { margin-top: 6px; font-weight: 700; }
.thumb-70x50 { width: 70px; height: 50px; object-fit: cover; border-radius: 8px; }
.form-row { display: flex; gap: 10px; }
.form-col { flex: 1; }

/* Araç ekle — Türkiye plakası önizleme + parça giriş */
.plaka-tr-plate {
    display: flex;
    align-items: stretch;
    width: 100%;
    max-width: 460px;
    min-width: 0;
    border-radius: 10px;
    overflow: hidden;
    box-shadow:
        0 6px 20px rgba(0, 0, 0, 0.32),
        inset 0 0 0 1px rgba(15, 23, 42, 0.22);
    margin: 0 auto 12px;
}

.plaka-tr-blue {
    flex: 0 0 42px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(180deg, #0b4aa2 0%, #062d66 100%);
    padding: 8px 6px;
}

.plaka-tr-code {
    color: #f8fafc;
    font-weight: 900;
    font-size: 15px;
    letter-spacing: 0.04em;
    line-height: 1;
}

.plaka-tr-white {
    flex: 1;
    min-width: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: nowrap;
    padding: 12px 14px;
    overflow: hidden;
    background: linear-gradient(180deg, #ffffff 0%, #eef2f7 52%, #dfe6ef 100%);
    color: #0f172a;
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    font-weight: 900;
    letter-spacing: 0.08em;
}

.plaka-tr-part {
    font-size: clamp(22px, 4.5vw, 32px);
    line-height: 1;
    min-width: 1.25ch;
    text-align: center;
}

.plaka-tr-part-input {
    -webkit-appearance: none;
    appearance: none;
    border: none;
    outline: none;
    background: transparent;
    background-color: transparent;
    padding: 0;
    margin: 0;
    color: #0f172a;
    font-family: inherit;
    font-weight: 900;
    text-align: center;
    font-size: clamp(22px, 4.5vw, 32px);
    line-height: 1;
    caret-color: #0f172a;
    flex: 1 1 0;
    min-width: 0;
    box-shadow: none;
    border-radius: 0;
    display: block;
}

.plaka-tr-plate .plaka-tr-part-input::placeholder {
    color: rgba(15, 23, 42, 0.35);
}

.plaka-tr-part + .plaka-tr-part {
    border-left: 2px solid rgba(15, 23, 42, 0.2);
    margin-left: clamp(4px, 1vw, 12px);
    padding-left: clamp(4px, 1vw, 12px);
}

.plaka-inputs {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: stretch;
    gap: 10px;
    width: 100%;
    max-width: 460px;
    min-width: 0;
    box-sizing: border-box;
    margin: 0 auto;
}

.plaka-inputs input {
    width: auto;
    flex: 1 1 0;
    min-width: 0;
    text-align: center;
    font-weight: 800;
}

.plaka-inputs #plakaIl {
    flex: 0 0 88px;
    max-width: 88px;
}

.plaka-inputs #plakaHarf {
    flex: 1 1 auto;
}

.plaka-inputs #plakaNo {
    flex: 1 1 auto;
}

.muayene-picker-single {
    max-width: 520px;
}

.muayene-display-input {
    cursor: pointer;
    width: 100%;
}

.muayene-modal {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 14px;
}

.muayene-modal.is-open {
    display: flex;
}

.muayene-modal-backdrop {
    position: absolute;
    inset: 0;
    margin: 0;
    padding: 0;
    border: 0;
    background: rgba(15, 23, 42, 0.78);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    cursor: pointer;
}

.muayene-modal-panel {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: min(400px, 100%);
    box-sizing: border-box;
    max-height: min(88vh, 620px);
    overflow: auto;
    border-radius: 18px;
    border: 1px solid rgba(148, 163, 184, 0.28);
    background: rgba(30, 41, 59, 0.98);
    box-shadow: 0 24px 50px rgba(0, 0, 0, 0.45);
    padding: 14px 14px 16px;
}

.muayene-modal-head {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 8px;
    margin-bottom: 6px;
}

.muayene-modal-title {
    font-weight: 800;
    font-size: 16px;
    color: #f8fafc;
    text-align: center;
}

.muayene-modal-sub {
    margin: 0 0 12px;
    min-height: 1.2em;
    text-align: center;
    font-size: 13px;
    font-weight: 700;
    color: #94a3b8;
}

.muayene-back,
.muayene-close {
    border: 0;
    border-radius: 10px;
    padding: 8px 10px;
    font-weight: 800;
    font-size: 14px;
    cursor: pointer;
    background: rgba(51, 65, 85, 0.65);
    color: #e2e8f0;
}

.muayene-close {
    font-size: 22px;
    line-height: 1;
    padding: 4px 10px 6px;
}

.muayene-back:hover,
.muayene-close:hover {
    background: rgba(71, 85, 105, 0.85);
    color: #fff;
}

.muayene-step-body {
    margin-top: 4px;
}

.muayene-grid {
    display: grid;
    gap: 8px;
}

.muayene-grid-years {
    grid-template-columns: repeat(3, 1fr);
}

.muayene-grid-months {
    grid-template-columns: repeat(3, 1fr);
}

.muayene-pick-btn {
    border: 1px solid rgba(148, 163, 184, 0.22);
    border-radius: 12px;
    padding: 12px 8px;
    font-weight: 800;
    font-size: 15px;
    cursor: pointer;
    background: rgba(15, 23, 42, 0.55);
    color: #e2e8f0;
    transition: background 0.15s ease, border-color 0.15s ease, transform 0.12s ease;
}

.muayene-pick-btn:hover {
    background: rgba(250, 204, 21, 0.18);
    border-color: rgba(250, 204, 21, 0.45);
    color: #fffbeb;
    transform: translateY(-1px);
}

.muayene-pick-older {
    font-size: 13px;
    line-height: 1.2;
    letter-spacing: 0.02em;
}

.muayene-calendar {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.muayene-cal-head {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 4px;
    text-align: center;
    font-size: 11px;
    font-weight: 800;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.muayene-cal-cells {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 6px;
}

.muayene-cal-empty {
    min-height: 42px;
}

.muayene-cal-day {
    min-height: 42px;
    padding: 8px 4px;
    font-size: 15px;
}

.consent-box {
    margin-top: 10px;
    padding: 14px;
    border-radius: 12px;
    border: 1px solid rgba(148, 163, 184, 0.22);
    background: rgba(15, 23, 42, 0.35);
}
.consent-check {
    margin-top: 0;
    display: flex;
    align-items: center;
    gap: 8px;
    color: #cbd5e1;
    font-size: 14px;
    line-height: 1.4;
}
.consent-check a {
    color: #facc15;
    text-decoration: underline;
}
.consent-check a:hover {
    color: #fde68a;
}
.consent-check input[type="checkbox"] {
    width: 12px;
    height: 12px;
    margin-top: 0;
    flex-shrink: 0;
    accent-color: #facc15;
}
.auth-helper-text {
    margin: 0 0 12px;
    text-align: center;
    color: #cbd5e1;
    font-size: 17px;
    font-weight: 700;
    letter-spacing: 0.1px;
}
.auth-switch-box {
    margin-top: 14px;
    padding: 14px 12px;
    border-radius: 12px;
    background: rgba(15, 23, 42, 0.28);
    border: 1px solid rgba(148, 163, 184, 0.18);
}
.auth-login-btn {
    background: rgba(51, 65, 85, 0.85) !important;
    color: #e2e8f0 !important;
    border: 1px solid rgba(148, 163, 184, 0.28);
    transition: background .18s ease, border-color .18s ease, color .18s ease, transform .18s ease;
}
.auth-login-btn:hover {
    background: rgba(71, 85, 105, 0.95) !important;
    border-color: rgba(250, 204, 21, 0.38);
    color: #f8fafc !important;
    transform: translateY(-1px);
}
.login-meta-row {
    margin-top: 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}
.login-remember-wrap {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.login-remember-wrap input[type="checkbox"] {
    width: 16px;
    height: 16px;
    min-height: 16px;
    padding: 0;
    margin: 0;
    border-radius: 4px;
    vertical-align: middle;
}
.login-remember-label {
    margin: 0;
    font-size: 13px;
    color: #cbd5e1;
    font-weight: 700;
    cursor: pointer;
}
.login-forgot-link {
    color: var(--yellow) !important;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    margin-left: auto;
}
.login-forgot-link:hover {
    text-decoration: underline;
}
.phone-input-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
}
.phone-prefix {
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    padding: 0 12px;
    border-radius: 13px;
    border: 1px solid rgba(148, 163, 184, 0.28);
    background: rgba(15, 23, 42, 0.55);
    color: #f8fafc;
    font-weight: 700;
    white-space: nowrap;
}
.row-stretch { align-items: stretch; }
.gap-8 { gap: 8px; }
.uppercase-input { text-transform: uppercase; }
.input-money-wrap {
    position: relative;
    min-width: 0;
    max-width: 100%;
}
.input-money { padding-right: 34px !important; width: 100%; max-width: 100%; box-sizing: border-box; }
.money-symbol {
    position: absolute; right: 12px; top: 50%;
    transform: translateY(-50%); color: #64748b; font-weight: 700;
}

.arac-sat-money-row {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    flex: 1;
    min-width: 0;
}
.arac-sat-price-grid {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr auto;
    gap: 10px;
    align-items: center;
}
.arac-sat-dual-inputs {
    display: contents;
}
.arac-sat-dual-inputs .input-money-wrap {
    min-width: 0;
}
.arac-sat-money-row .input-money-wrap {
    flex: 1;
}
.arac-sat-takas-btn {
    padding: 9px 12px;
    min-height: 44px;
    border-radius: 12px;
    font-weight: 900;
    font-size: 12px;
    cursor: pointer;
    background: rgba(51, 65, 85, 0.45);
    border: 1px solid rgba(148, 163, 184, 0.22);
    color: #e2e8f0;
    text-decoration: none;
    transition: transform .15s ease, background .15s ease, border-color .15s ease;
    width: auto;
    margin-top: 0;
}
.arac-sat-takas-btn:hover {
    transform: translateY(-1px);
    background: rgba(71, 85, 105, 0.6);
    border-color: rgba(250, 204, 21, 0.35);
}

/* Takas panel (Takas butonundan açılan sekme) */
.takas-panel {
    background: rgba(15, 23, 42, 0.42);
    border: 1px solid rgba(148, 163, 184, 0.18);
    border-radius: 16px;
    padding: 14px 14px 12px;
    margin-top: 12px;
    max-width: 100%;
    overflow-x: hidden;
    box-sizing: border-box;
}
.takas-panel-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 10px;
}
.takas-panel-title {
    color: #f8fafc;
    font-size: 16px;
    font-weight: 900;
}
.takas-panel-close {
    background: rgba(51, 65, 85, 0.45);
    border: 1px solid rgba(148, 163, 184, 0.22);
    color: #e2e8f0;
    border-radius: 12px;
    padding: 8px 12px;
    font-weight: 900;
    cursor: pointer;
}
.takas-panel-close:hover {
    background: rgba(71, 85, 105, 0.6);
    border-color: rgba(250, 204, 21, 0.35);
}
.takas-grid {
    display: grid;
    gap: 12px;
}
.takas-field label {
    margin: 0 0 7px;
    font-size: 13px;
}
.takas-input {
    width: 100%;
    max-width: 100%;
}
.takas-plaka-part-input {
    border: none;
    outline: none;
    background: transparent;
    padding: 0;
    margin: 0;
    color: inherit;
    font-family: inherit;
    font-weight: 900;
    text-align: center;
    height: auto;
    caret-color: #0f172a;
}
.takas-plaka-part-input::placeholder {
    color: rgba(15, 23, 42, 0.35);
}
.takas-row-3 {
    display: grid;
    grid-template-columns: 0.8fr 1fr 1fr;
    gap: 10px;
}
.takas-money-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

@media (max-width: 600px) {
    .takas-row-3 {
        grid-template-columns: 0.55fr 1fr 1fr;
        gap: 8px;
    }
    .takas-money-row {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 600px) {
    .arac-sat-price-grid {
        grid-template-columns: 1fr 1fr;
    }
    .arac-sat-takas-btn {
        grid-column: 1 / -1;
        width: 100%;
        margin-top: 10px;
    }
}

/* Araç ekle — detaylı özellik (cam açılır sekme) */
.arac-ekle-extra-block {
    margin-top: 6px;
    max-width: 100%;
    min-width: 0;
}

.arac-ekle-details-toggle.arac-ekle-glass-toggle {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 12px;
    padding: 14px 18px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(148, 163, 184, 0.06));
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.28),
        inset 0 1px 0 rgba(255, 255, 255, 0.12);
    color: #f8fafc;
    font-weight: 800;
    font-size: 15px;
    font-family: inherit;
    letter-spacing: 0.02em;
    cursor: pointer;
    text-align: left;
    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease,
        transform 0.15s ease,
        background 0.2s ease;
}

.arac-ekle-details-toggle.arac-ekle-glass-toggle:hover {
    border-color: rgba(250, 204, 21, 0.45);
    background: linear-gradient(135deg, rgba(250, 204, 21, 0.14), rgba(255, 255, 255, 0.08));
    box-shadow:
        0 10px 36px rgba(0, 0, 0, 0.32),
        inset 0 1px 0 rgba(255, 255, 255, 0.16);
    transform: translateY(-1px);
}

.arac-ekle-details-toggle.arac-ekle-glass-toggle.is-open {
    border-color: rgba(250, 204, 21, 0.38);
    background: linear-gradient(135deg, rgba(250, 204, 21, 0.12), rgba(30, 41, 59, 0.55));
}

.arac-ekle-details-toggle .detayli-toggle-icon {
    flex-shrink: 0;
    font-size: 12px;
    color: var(--yellow);
    filter: drop-shadow(0 0 8px rgba(250, 204, 21, 0.35));
    transition: transform 0.22s ease;
}

.arac-ekle-details-toggle.is-open .detayli-toggle-icon {
    transform: rotate(180deg);
}

.arac-ekle-details-panel {
    margin-top: 10px;
}

.arac-ekle-details-panel[hidden] {
    display: none !important;
}

.arac-ekle-details-panel-inner {
    padding: 16px;
    border-radius: 14px;
    border: 1px solid rgba(148, 163, 184, 0.2);
    background: rgba(15, 23, 42, 0.42);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.arac-ekle-details-panel-inner .arac-ekle-detail-row + .arac-ekle-detail-row {
    margin-top: 12px;
}

.arac-ekle-details-panel-inner .arac-ekle-detail-row {
    align-items: flex-start;
}

.arac-ekle-details-panel-inner .arac-ekle-detail-col {
    min-width: 0;
}

.arac-ekle-details-panel-inner .arac-ekle-detail-col > label {
    margin-top: 0;
    margin-bottom: 6px;
}

.arac-ekle-details-panel-inner .muayene-picker-single {
    max-width: 100%;
    width: 100%;
}

.arac-ekle-details-panel-inner .arac-ekle-detail-col .input-money-wrap {
    margin-top: 0;
}

.arac-ekle-details-panel-inner .arac-ekle-detail-col textarea,
#aracNotlar {
    width: 100% !important;
    max-width: 100%;
    display: block;
    box-sizing: border-box;
}

.arac-yil-input {
    width: min(220px, 100%);
}

.arac-foto-input {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
}

.arac-foto-upload-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-height: 96px;
    border: 1px dashed rgba(250, 204, 21, 0.55);
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(30, 41, 59, 0.62), rgba(15, 23, 42, 0.52));
    color: #e2e8f0;
    cursor: pointer;
    transition: border-color .18s ease, transform .18s ease, background .18s ease;
    width: 100%;
    box-sizing: border-box;
}

.arac-foto-upload-card:hover {
    border-color: rgba(250, 204, 21, 0.9);
    background: linear-gradient(135deg, rgba(51, 65, 85, 0.7), rgba(15, 23, 42, 0.6));
    transform: translateY(-1px);
}

.arac-foto-upload-icon {
    color: var(--yellow);
    font-size: 20px;
    line-height: 1;
}

.arac-foto-upload-title {
    font-weight: 800;
    font-size: 14px;
}

.arac-foto-upload-sub {
    color: #94a3b8;
    font-size: 11px;
}

.arac-ekle-marka-model-row {
    align-items: stretch;
}

.arac-ekle-yil-col-inline {
    flex: 0 0 120px;
    max-width: 120px;
}

.degisen-boya-btn {
    width: 100%;
    margin-top: 0;
}

.arac-ekle-details-panel-inner .degisen-boya-btn {
    margin-top: 0 !important;
    margin-right: 0 !important;
}

#degisenBoyaOzet {
    display: block;
    margin-top: 6px;
    line-height: 1.25;
}

.degisen-boya-modal {
    position: fixed;
    inset: 0;
    display: none;
    z-index: 1200;
    overflow: hidden;
    overflow-x: hidden;
}

.degisen-boya-modal.is-open {
    display: block;
}

.degisen-boya-backdrop {
    position: absolute;
    inset: 0;
    border: 0;
    background: rgba(2, 6, 23, 0.72);
}

.degisen-boya-panel {
    position: relative;
    z-index: 1;
    width: min(720px, calc(100vw - 24px));
    max-height: calc(100vh - 24px);
    overflow-y: auto;
    overflow-x: hidden;
    margin: 12px auto 0;
    border-radius: 14px;
    border: 1px solid rgba(148, 163, 184, 0.24);
    background: #0f172a;
    padding: 14px;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.degisen-boya-panel::-webkit-scrollbar {
    width: 0;
    height: 0;
    display: none;
}

html.modal-scroll-lock,
body.modal-scroll-lock {
    background: #0f172a;
}

html.modal-scroll-lock {
    overflow: hidden !important;
}

body.modal-scroll-lock {
    position: fixed;
    overflow: hidden !important;
    width: 100%;
}

.degisen-boya-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 10px;
}

.degisen-boya-head h4 {
    margin: 0;
    color: #f8fafc;
}

.degisen-boya-close {
    border: 0;
    background: transparent;
    color: #cbd5e1;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
}

.degisen-boya-table {
    border: 1px solid rgba(148, 163, 184, 0.2);
    border-radius: 12px;
    overflow: hidden;
    background: rgba(15, 23, 42, 0.35);
}

.degisen-boya-thead,
.degisen-boya-row {
    display: grid;
    grid-template-columns: minmax(150px, 1.35fr) repeat(4, minmax(44px, 0.5fr));
    align-items: center;
    column-gap: 4px;
}

.degisen-boya-thead {
    padding: 10px 12px;
    border-bottom: 1px solid rgba(148, 163, 184, 0.2);
    background: rgba(15, 23, 42, 0.6);
}

.db-col {
    text-align: center;
    font-size: 15px;
    font-weight: 800;
}

.db-col-orijinal { color: #94a3b8; }
.db-col-lokal { color: #fb923c; }
.db-col-boyali { color: #60a5fa; }
.db-col-degisen { color: #f97316; }

.degisen-boya-row {
    padding: 8px 10px;
    border-bottom: 1px solid rgba(148, 163, 184, 0.13);
}

.degisen-boya-row:last-child {
    border-bottom: 0;
}

.degisen-boya-row-title {
    color: #e5e7eb;
    font-weight: 700;
    font-size: 17px;
    padding-right: 2px;
}

.db-dot {
    justify-self: center;
    width: 30px;
    height: 30px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.db-dot input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.db-dot span {
    width: 18px;
    height: 18px;
    border-radius: 999px;
    border: 2px solid rgba(203, 213, 225, 0.6);
    background: transparent;
    transition: border-color 0.16s ease, box-shadow 0.16s ease, background-color 0.16s ease;
}

@media (max-width: 600px) {
    .degisen-boya-thead,
    .degisen-boya-row {
        grid-template-columns: minmax(116px, 1fr) repeat(4, minmax(36px, 0.45fr));
        column-gap: 2px;
    }

    .degisen-boya-thead {
        padding: 8px 8px;
    }

    .db-col {
        font-size: 12px;
    }

    .degisen-boya-row {
        padding: 7px 8px;
    }

    .degisen-boya-row-title {
        font-size: 13px;
        padding-right: 0;
    }

    .db-dot {
        width: 24px;
        height: 24px;
    }

    .db-dot span {
        width: 14px;
        height: 14px;
    }
}

.db-dot:hover span {
    border-color: rgba(250, 204, 21, 0.8);
}

.db-dot input:checked + span {
    border-color: #60a5fa;
    box-shadow: inset 0 0 0 6px #3b82f6;
    background: #dbeafe;
}

.degisen-boya-actions {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    margin-top: 12px;
}

.ekleme-basarili-modal {
    position: fixed !important;
    inset: 0 !important;
    z-index: 2600 !important;
    background: rgba(2, 6, 23, 0.72);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
}

.ekleme-basarili-panel {
    width: min(560px, 100%);
    border-radius: 14px;
    border: 1px solid rgba(148, 163, 184, 0.24);
    background: #0f172a;
    padding: 20px;
    text-align: center;
}

.ekleme-basarili-panel h3 {
    margin: 0 0 8px;
    color: #f8fafc;
    font-size: 24px;
}

.ekleme-basarili-panel p {
    margin: 0;
    color: #cbd5e1;
}

.ekleme-basarili-actions {
    margin-top: 16px;
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: center;
}

.ekleme-basarili-actions .btn {
    margin: 0 !important;
}

.arac-ekle-submit-btn {
    margin-top: 20px;
}

.vehicle-cover-image { width: 100%; max-height: 260px; object-fit: cover; border-radius: 16px; margin-bottom: 12px; }

/* index.php */
.preview-login-btn { margin-top: 12px; width: 100%; }
.landing-top-links { position: absolute; top: 12px; right: 20px; display: flex; gap: 10px; z-index: 50; }
.header-btn { min-height: 36px; padding: 8px 14px !important; font-size: 13px !important; background: rgba(51, 65, 85, 0.9) !important; border: 1px solid rgba(148, 163, 184, 0.2); border-radius: 10px; color: #f8fafc !important; }
.header-btn:hover { background: rgba(71, 85, 105, 1) !important; }
.landing-hero { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 28px; align-items: stretch; }
.hero-content { padding: 38px; border-radius: 28px; background: linear-gradient(135deg, rgba(30, 41, 59, 0.94), rgba(15, 23, 42, 0.88)); border: 1px solid rgba(250, 204, 21, 0.18); position: relative; overflow: hidden; }
.hero-content::before { content: ''; position: absolute; width: 260px; height: 260px; right: -90px; top: -90px; background: rgba(250, 204, 21, 0.12); filter: blur(10px); border-radius: 50%; }
.hero-badge { display: inline-flex; padding: 8px 12px; border-radius: 999px; background: rgba(250, 204, 21, 0.12); border: 1px solid rgba(250, 204, 21, 0.28); color: var(--yellow); font-size: 13px; font-weight: 800; margin-bottom: 18px; }
.hero-content h1 { position: relative; margin: 0; font-size: 50px; line-height: 1.05; letter-spacing: -1.4px; }
.hero-content p { position: relative; max-width: 650px; margin: 20px 0 0; color: #cbd5e1; font-size: 18px; line-height: 1.65; }
.hero-actions { position: relative; display: flex; gap: 12px; margin-top: 28px; flex-wrap: wrap; }
.hero-primary, .hero-secondary { padding: 14px 24px !important; font-size: 16px !important; }
.hero-secondary { background: #334155 !important; color: #fff !important; }
.hero-trust { position: relative; display: grid; gap: 6px; margin-top: 26px; color: #94a3b8; font-size: 14px; }
.hero-preview { height: 100%; display: flex; flex-direction: column; justify-content: center; border-radius: 28px; padding: 18px 18px 12px; background: rgba(30, 41, 59, 0.55); border: 1px solid rgba(148, 163, 184, 0.18); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); box-shadow: 0 25px 70px rgba(0, 0, 0, 0.28); }
.login-panel-head { display: flex; align-items: center; gap: 14px; padding: 4px 2px 12px; border-bottom: 1px solid rgba(148, 163, 184, 0.16); margin-bottom: 12px; }
.login-panel-icon { width: 48px; height: 48px; border-radius: 16px; display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, rgba(250, 204, 21, 0.24), rgba(250, 204, 21, 0.08)); border: 1px solid rgba(250, 204, 21, 0.32); font-size: 22px; flex-shrink: 0; }
.login-panel-head h3 { margin: 0 0 5px; font-size: 20px; color: #f8fafc; }
.login-panel-head p { margin: 0; color: #94a3b8; font-size: 13px; line-height: 1.45; }
.preview-login { display: grid; gap: 8px; margin-top: 6px; }
.preview-login input { width: 100%; background: rgba(15, 23, 42, 0.6); border: 1px solid rgba(148, 163, 184, 0.2); border-radius: 12px; padding: 12px; color: #fff; transition: 0.2s; }
.preview-login input:focus { outline: none; border-color: rgba(250, 204, 21, 0.7); box-shadow: 0 0 0 2px rgba(250, 204, 21, 0.15); }
.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 22px; }
.landing-tools { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 16px; margin-top: 22px; align-items: start; }
.public-kdv-card { background: rgba(30, 41, 59, 0.9); border: 1px solid rgba(148, 163, 184, 0.18); border-radius: 22px; padding: 22px; }
.public-kdv-card h3 { margin: 8px 0 8px; font-size: 24px; color: var(--yellow); }
.public-kdv-card p { color: #cbd5e1; margin-bottom: 14px; line-height: 1.55; }
.feature-grid-home { grid-template-columns: repeat(2, 1fr); margin-top: 0; }
.feature-box { background: rgba(30, 41, 59, 0.9); border: 1px solid rgba(148, 163, 184, 0.18); border-radius: 22px; padding: 22px; }
.feature-box, .why-grid div { transition: transform .18s ease, border-color .18s ease, background .18s ease; }
.feature-box:hover, .why-grid div:hover { border-color: rgba(250, 204, 21, 0.38); background: rgba(30, 41, 59, 0.98); }
.feature-icon { width: 46px; height: 46px; border-radius: 14px; display: flex; align-items: center; justify-content: center; background: rgba(250, 204, 21, 0.12); margin-bottom: 14px; font-size: 22px; color: var(--yellow); }
.feature-icon i { color: var(--yellow) !important; }
.feature-grid .feature-box:nth-child(3) .feature-icon i,
.feature-grid .feature-box:nth-child(4) .feature-icon i { color: var(--yellow) !important; }
.info-sections { margin-top: 22px; }
.info-section-card { background: linear-gradient(135deg, rgba(30, 41, 59, 0.94), rgba(15, 23, 42, 0.86)); border: 1px solid rgba(148, 163, 184, 0.18); border-radius: 26px; padding: 32px; }
.about-split-card { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 24px; align-items: stretch; }
.about-free-box { background: rgba(250, 204, 21, 0.08); border: 1px solid rgba(250, 204, 21, 0.22); border-radius: 22px; padding: 24px; }
.free-highlight { margin-top: 16px; padding: 14px; border-radius: 14px; background: rgba(15, 23, 42, 0.42); border: 1px solid rgba(148, 163, 184, 0.16); color: #fde68a; line-height: 1.55; font-weight: 700; }
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 22px; }
.why-grid div { background: rgba(15, 23, 42, 0.42); border: 1px solid rgba(148, 163, 184, 0.14); border-radius: 16px; padding: 15px; }
.why-grid b i { color: var(--yellow) !important; }
html { scroll-behavior: smooth; }

/* kdv pages and sales forms */
.kdv-description { color: #cbd5e1; line-height: 1.5; }
.kdv-row-top { margin-top: 14px; }
.kdv-page-layout, .arac-sat-layout, .arac-ekle-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 20px;
    align-items: start;
    min-width: 0;
    max-width: 100%;
}
.info-panel { position: sticky; top: 20px; }
.info-warning { margin-top: 18px; border-radius: 14px; padding: 14px; line-height: 1.5; font-size: 14px; }
.info-box { margin-top: 12px; background: rgba(15, 23, 42, 0.45); border: 1px solid rgba(148, 163, 184, 0.2); border-radius: 12px; padding: 12px; }
.kdv-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.kdv-result { margin-top: 10px; background: rgba(15, 23, 42, 0.45); border: 1px solid rgba(148, 163, 184, 0.18); border-radius: 14px; padding: 12px; }
.kdv-result small { display: block; color: var(--muted); margin-bottom: 5px; font-weight: 800; font-size: 12px; }
.kdv-result b { font-size: 22px; color: #f8fafc; }
.kdv-result.highlight { border-color: rgba(250, 204, 21, 0.42); background: rgba(250, 204, 21, 0.10); }
.kdv-result.highlight b { color: var(--yellow); }
.noter-alert-box { background: #f8d7da; color: #721c24; padding: 12px; border-radius: 10px; font-size: 14px; margin-bottom: 16px; text-align: center; }
.arac-sat-form .arac-sat-kaydet-btn {
    display: flex;
    margin-left: auto;
    margin-right: auto;
}

/* hizli_arac_sat */
.noter-alis-bilgi { display: none; margin-bottom: 10px; padding: 10px 12px; border-radius: 12px; background: rgba(239, 68, 68, 0.15); border: 1px solid rgba(239, 68, 68, 0.4); color: #fecaca; font-size: 13px; font-weight: 600; }
.kdv-toggle { margin-top: 18px; }
.kdv-toggle-header { display: flex; justify-content: space-between; align-items: center; cursor: pointer; padding: 14px 16px; border: 1px solid rgba(250, 204, 21, 0.28); border-radius: 16px; margin-bottom: 10px; background: linear-gradient(135deg, rgba(250, 204, 21, 0.16), rgba(15, 23, 42, 0.28)); font-weight: 800; color: #f8fafc; }
#kdvToggleIcon { width: 26px; height: 26px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: rgba(250, 204, 21, 0.18); color: var(--yellow); font-size: 12px; }
.kdv-mini-box { border: 1px solid var(--border); border-radius: 18px; padding: 14px; background: rgba(15, 23, 42, 0.32); }

/* arac detay layouts */
.top-action-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.arrow-icon { font-size: 16px; }
.vehicle-detail-top-grid { display: grid; grid-template-columns: 3fr 1fr; gap: 20px; margin-bottom: 20px; }
.card-photo-wrap { padding: 0; overflow: hidden; }
.vehicle-detail-photo { width: 100%; height: 420px; object-fit: cover; display: block; }
.col-actions { display: flex; flex-direction: column; gap: 10px; }
.vehicle-detail-bottom-grid { display: grid; grid-template-columns: 1fr 3fr; gap: 20px; margin-top: 25px; min-width: 0; }
.vehicle-detail-bottom-grid .table-card {
    margin-top: 0;
    padding: 20px;
    overflow: hidden;
    min-width: 0;
}
.vehicle-detail-bottom-grid .table-card > h3 {
    margin: 0 0 12px;
    font-size: 28px;
}
.masraf-table-scroll {
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    min-width: 0;
}
.masraf-table-scroll table {
    margin-top: 0;
    min-width: 640px;
}

.masraf-toggle-bar {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 12px;
}

.masraf-toggle-btn {
    margin: 0 !important;
}

.masraf-toggle-btn.active {
    background: #facc15;
    color: #111827;
}

.masraf-panels-wrap .masraf-panel {
    margin-top: 0;
}

.masraf-panels-wrap .table-card.masraf-panel {
    overflow: visible;
    padding-top: 18px;
}

.masraf-panels-wrap .table-card.masraf-panel > h3 {
    margin: 0 0 12px;
    padding-left: 6px;
    line-height: 1.2;
}

.masraf-modal {
    position: fixed;
    inset: 0;
    z-index: 2400;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 14px;
}

.masraf-modal.is-open {
    display: flex;
}

.masraf-modal-backdrop {
    position: absolute;
    inset: 0;
    border: 0;
    background: rgba(2, 6, 23, 0.72);
}

.masraf-modal-panel {
    position: relative;
    z-index: 1;
    width: min(1040px, calc(100vw - 24px));
    max-height: calc(100vh - 24px);
    overflow: auto;
    margin: 0;
}

.masraf-modal-head {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    margin-bottom: 10px;
}

.masraf-modal-close {
    border: 0;
    background: transparent;
    color: #cbd5e1;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
}

.masraf-ekle-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 16px;
    min-width: 0;
}

.masraf-ekle-col,
.masraf-son-col {
    min-width: 0;
}

.masraf-son-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 8px;
}

.masraf-son-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 6px;
}

.masraf-son-head h3 {
    margin: 0;
    font-size: clamp(22px, 2.2vw, 28px);
    line-height: 1.15;
}

.masraf-son-toplam {
    color: #f8fafc;
    font-weight: 800;
    font-size: clamp(22px, 2.2vw, 28px);
    line-height: 1.15;
    text-align: right;
}

.masraf-son-item {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    padding: 8px 10px;
    border: 1px solid rgba(148, 163, 184, 0.18);
    border-radius: 10px;
    background: rgba(15, 23, 42, 0.32);
}

.masraf-son-item span {
    color: #cbd5e1;
    font-weight: 600;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.masraf-son-item b {
    color: #f8fafc;
    flex-shrink: 0;
}

.masraf-ekle-col form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.masraf-ekle-col form select,
.masraf-ekle-col form input[type="text"],
.masraf-ekle-col form input[type="number"],
.masraf-ekle-col form input[type="date"] {
    min-height: 46px;
    border-radius: 12px;
    border: 1px solid rgba(148, 163, 184, 0.34);
    background: linear-gradient(180deg, rgba(226, 232, 240, 0.95), rgba(203, 213, 225, 0.92));
    color: #0f172a;
    font-weight: 700;
    padding: 10px 12px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.55);
}

.masraf-ekle-col form input::placeholder {
    color: #64748b;
    font-weight: 600;
}

/* yeni arac_detay */
.detay-yeni-wrap {
    padding: 14px;
}

.detay-yeni-baslik {
    margin: 0 0 12px;
    font-size: clamp(22px, 2.6vw, 34px);
    font-weight: 900;
    letter-spacing: -0.3px;
}

.detay-yeni-title-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 10px;
}

.detay-yeni-title-row .detay-yeni-baslik {
    margin: 0;
}

.detay-yeni-title-row .masraf-toggle-btn {
    margin: 0 !important;
    white-space: nowrap;
}

.detay-yeni-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 14px;
}

.detay-yeni-mainfoto {
    border: 1px solid rgba(148, 163, 184, 0.25);
    border-radius: 10px;
    overflow: hidden;
    background: rgba(15, 23, 42, 0.28);
    position: relative;
}

.detay-yeni-mainfoto img {
    display: block;
    width: 100%;
    height: 520px;
    object-fit: cover;
}

.detay-takas-uyari {
    position: absolute;
    top: 12px;
    left: 12px;
    right: 12px;
    z-index: 5;
    background: rgba(239, 68, 68, 0.20);
    border: 1px solid rgba(239, 68, 68, 0.35);
    color: #f8fafc;
    border-radius: 14px;
    padding: 10px 12px;
    font-weight: 900;
    text-align: center;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.detay-takas-uyari i {
    color: var(--yellow);
    margin-right: 8px;
}

.detay-takas-uyari em {
    font-style: italic;
}

.detay-takas-ust-uyari {
    grid-column: 1 / -1;
    width: 100%;
    margin-top: 6px;
    padding: 0;
    border-radius: 0;
    background: transparent;
    border: none;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 6px;
    text-align: left;
    font-size: 12px;
    line-height: 1.35;
}

.detay-takas-ust-uyari i {
    color: var(--yellow);
}

.detay-takas-ust-uyari em {
    font-style: italic;
    color: #f8fafc;
    font-weight: 700;
}

.detay-yeni-thumbs {
    margin-top: 8px;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 6px;
}

.detay-thumb-btn {
    border: 1px solid rgba(148, 163, 184, 0.28);
    border-radius: 8px;
    padding: 0;
    overflow: hidden;
    background: #0f172a;
    cursor: pointer;
}

.detay-thumb-btn.active {
    border-color: rgba(250, 204, 21, 0.85);
    box-shadow: 0 0 0 2px rgba(250, 204, 21, 0.25);
}

.detay-thumb-btn img {
    width: 100%;
    height: 72px;
    object-fit: cover;
    display: block;
}

.detay-yeni-sag {
    border: 1px solid rgba(148, 163, 184, 0.25);
    border-radius: 10px;
    background: rgba(15, 23, 42, 0.26);
    padding: 14px;
}

.detay-yeni-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: nowrap;
}

.detay-yeni-actions .btn {
    margin: 0 !important;
}

.detay-yeni-fiyat-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin-bottom: 10px;
}

.detay-yeni-fiyat-grid .detay-yeni-fiyat-box:nth-child(3) {
    grid-column: 1 / -1;
}

.detay-yeni-fiyat-box {
    border: 1px solid rgba(255, 255, 255, 0.26);
    border-radius: 10px;
    padding: 10px 8px;
    background: linear-gradient(135deg, rgba(173, 216, 230, 0.16), rgba(148, 163, 184, 0.08));
    backdrop-filter: blur(9px);
    -webkit-backdrop-filter: blur(9px);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 6px 18px rgba(15, 23, 42, 0.28);
    text-align: center;
}

.detay-yeni-fiyat-box small {
    display: block;
    color: #dbeafe;
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 6px;
}

.detay-yeni-fiyat-box b {
    display: block;
    color: #f8fafc;
    font-size: 19px;
    line-height: 1.2;
}

.detay-yeni-fiyat-box:nth-child(1) {
    background: linear-gradient(135deg, rgba(147, 197, 253, 0.22), rgba(191, 219, 254, 0.1));
}

.detay-yeni-fiyat-box:nth-child(2) {
    background: linear-gradient(135deg, rgba(167, 243, 208, 0.2), rgba(209, 250, 229, 0.1));
}

.detay-yeni-fiyat-box:nth-child(3) {
    border: 1px solid rgba(255, 255, 255, 0.32);
    background: linear-gradient(135deg, rgba(254, 240, 138, 0.22), rgba(253, 224, 71, 0.1));
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25), 0 8px 20px rgba(15, 23, 42, 0.35);
}

.detay-yeni-fiyat-box:nth-child(3) small {
    font-size: 18px;
}

.detay-yeni-fiyat-box:nth-child(3) b {
    font-size: 20px;
}

.detay-yeni-liste {
    border-top: 1px solid rgba(148, 163, 184, 0.22);
}

.detay-liste-toggle {
    display: none;
}

.detay-yeni-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    padding: 9px 0;
    border-bottom: 1px dashed rgba(148, 163, 184, 0.2);
}

.detay-yeni-key {
    color: #cbd5e1;
    font-weight: 700;
}

.detay-yeni-val {
    color: #f8fafc;
    font-weight: 700;
    text-align: right;
}

.detay-alt-sekme-card {
    margin-top: 14px;
    padding: 14px;
}

.detay-alt-sekme-tabs {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.detay-sekme-btn {
    border: 1px solid rgba(148, 163, 184, 0.35);
    border-radius: 12px;
    background: rgba(15, 23, 42, 0.34);
    color: #cbd5e1;
    font-weight: 800;
    font-size: 17px;
    min-height: 48px;
    padding: 10px 16px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.detay-sekme-btn.active {
    background: #facc15;
    color: #111827;
    border-color: rgba(250, 204, 21, 0.9);
}

.detay-alt-sekme-panel {
    margin-top: 12px;
    border: 1px solid rgba(148, 163, 184, 0.22);
    border-radius: 12px;
    background: rgba(15, 23, 42, 0.28);
    color: #e2e8f0;
    padding: 12px;
    min-height: 96px;
    line-height: 1.55;
    white-space: normal;
}

.detay-sekme-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.detay-sekme-form textarea {
    width: 100%;
    min-height: 110px;
    border-radius: 12px;
    border: 1px solid rgba(148, 163, 184, 0.34);
    background: linear-gradient(180deg, rgba(226, 232, 240, 0.95), rgba(203, 213, 225, 0.92));
    color: #0f172a;
    font-weight: 700;
    padding: 12px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.55);
    resize: vertical;
}

.detay-sekme-form textarea::placeholder {
    color: #64748b;
    font-weight: 600;
}

.detay-sekme-form input[type="text"] {
    width: 100%;
    min-height: 46px;
    border-radius: 12px;
    border: 1px solid rgba(148, 163, 184, 0.34);
    background: linear-gradient(180deg, rgba(226, 232, 240, 0.95), rgba(203, 213, 225, 0.92));
    color: #0f172a;
    font-weight: 700;
    padding: 10px 12px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.55);
}

.detay-sekme-form input[type="text"]::placeholder {
    color: #64748b;
    font-weight: 600;
}

.detay-sekme-form .btn {
    align-self: center;
    min-width: 160px;
    min-height: 50px;
    font-size: 17px;
    font-weight: 800;
    padding: 10px 22px;
}

.detay-form-basarili {
    color: #86efac;
    font-weight: 800;
    font-size: 14px;
    margin-top: -2px;
    align-self: center;
    text-align: center;
}

.detay-satici-uyari {
    color: #facc15;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.form-help-warning {
    color: #facc15;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.degisen-boya-edit-grid {
    display: grid;
    gap: 8px;
    margin-top: 8px;
}

.degisen-boya-edit-row {
    display: grid;
    grid-template-columns: 1fr 180px;
    gap: 10px;
    align-items: center;
}

.degisen-boya-edit-row span {
    color: #e2e8f0;
    font-weight: 700;
}

.degisen-boya-edit-select {
    min-height: 42px;
}

.arac-duzenle-foto-card {
    width: 100%;
}

.duzenle-mevcut-foto-wrap {
    position: relative;
    margin-bottom: 12px;
}

.duzenle-mevcut-foto-wrap .vehicle-cover-image {
    margin-bottom: 0;
}

.duzenle-foto-sil-btn {
    position: absolute;
    right: 10px;
    bottom: 10px;
    width: 40px;
    height: 40px;
    border-radius: 999px;
    border: 0;
    background: rgba(220, 38, 38, 0.92);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 6px 14px rgba(15, 23, 42, 0.4);
}

.duzenle-foto-sil-btn:hover::after {
    content: "Mevcut fotoğrafı sil";
    position: absolute;
    right: 0;
    bottom: calc(100% + 8px);
    background: rgba(15, 23, 42, 0.95);
    color: #f8fafc;
    font-size: 12px;
    font-weight: 700;
    padding: 6px 8px;
    border-radius: 8px;
    white-space: nowrap;
}

.duzenle-mevcut-foto-wrap.is-marked-delete .vehicle-cover-image {
    opacity: 0.45;
    filter: grayscale(0.4);
}

.duzenle-mevcut-foto-wrap.is-marked-delete::after {
    content: "Kaydet butonuna bastığınızda kapak fotoğrafı silinecek";
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: calc(100% - 24px);
    text-align: center;
    color: #f8fafc;
    font-weight: 800;
    font-size: 14px;
    line-height: 1.35;
    text-shadow: 0 1px 2px rgba(15, 23, 42, 0.7);
    pointer-events: none;
}

.arac-duzenle-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 380px;
    gap: 15px;
    align-items: start;
}

.arac-duzenle-layout .card-max-650 {
    max-width: 100%;
    width: 100%;
}

.arac-duzenle-sidebar {
    position: sticky;
    top: 16px;
}

.arac-duzenle-sidebar h3 {
    margin: 0 0 10px;
}

.arac-duzenle-sidebar-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
}

.arac-duzenle-sidebar-item {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 7px;
    border-radius: 12px;
    border: 1px solid rgba(148, 163, 184, 0.22);
    background: rgba(15, 23, 42, 0.25);
    text-decoration: none;
}

.arac-duzenle-sidebar-thumb {
    width: 100%;
    height: 76px;
    border-radius: 8px;
    overflow: hidden;
    background: rgba(15, 23, 42, 0.35);
    display: flex;
    align-items: center;
    justify-content: center;
}

.arac-duzenle-sidebar-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.arac-duzenle-sidebar-thumb span {
    color: #94a3b8;
    font-size: 11px;
    text-align: center;
    padding: 4px;
}

.arac-duzenle-sidebar-meta {
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 2px;
}

.arac-duzenle-sidebar-meta strong {
    color: #f8fafc;
    font-size: 12px;
    line-height: 1.2;
}

.arac-duzenle-sidebar-meta span {
    color: #cbd5e1;
    font-size: 12px;
}

.detay-todo-listesi {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 12px;
}

.detay-todo-item {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 10px;
    border: 1px solid rgba(148, 163, 184, 0.2);
    background: rgba(15, 23, 42, 0.24);
}

.detay-todo-check {
    width: 22px;
    height: 22px;
    border-radius: 999px;
    border: 2px solid rgba(148, 163, 184, 0.65);
    background: transparent;
    cursor: pointer;
}

.detay-todo-item.is-complete .detay-todo-check {
    background: #22c55e;
    border-color: #22c55e;
    box-shadow: inset 0 0 0 4px rgba(15, 23, 42, 0.9);
}

.detay-todo-metin {
    color: #e2e8f0;
    font-weight: 700;
    flex: 1;
    text-align: left;
}

.detay-todo-item.is-complete .detay-todo-metin {
    text-decoration: line-through;
    opacity: 0.75;
}

.detay-masraf-listesi {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.detay-masraf-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 12px;
    align-items: start;
}

.detay-masraf-sol {
    justify-self: stretch;
}

.detay-masraf-ekle-btn {
    width: 100%;
    margin-top: 10px;
    min-height: 48px;
    font-size: 17px;
    font-weight: 800;
}

.detay-masraf-sag {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.detay-masraf-ozet-box {
    border: 1px solid rgba(148, 163, 184, 0.24);
    border-radius: 12px;
    padding: 10px 12px;
    background: rgba(15, 23, 42, 0.32);
}

.detay-masraf-ozet-box small {
    display: block;
    color: #cbd5e1;
    font-weight: 700;
    margin-bottom: 4px;
}

.detay-masraf-ozet-box b {
    color: #f8fafc;
    font-size: 20px;
    font-weight: 900;
}

.detay-masraf-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 10px;
    border: 1px solid rgba(148, 163, 184, 0.2);
    background: rgba(15, 23, 42, 0.24);
}

.detay-masraf-item-sol {
    color: #cbd5e1;
    font-weight: 700;
}

.detay-masraf-item-sag {
    color: #f8fafc;
    font-weight: 800;
    white-space: nowrap;
}

/* musteri/cop */
.musteri-detail-layout { display: grid; grid-template-columns: 1fr 2fr; gap: 20px; }
.customer-note-textarea { width: 100%; border-radius: 13px; padding: 12px; font-size: 16px; background: #e8f0fe; color: #0f172a; border: 1px solid rgba(148, 163, 184, 0.28); outline: none; }
.customer-note-textarea:focus { border-color: var(--yellow); box-shadow: 0 0 0 3px rgba(250, 204, 21, 0.18); }
.cop-section-card { padding: 22px; }
.cop-empty-state {
    margin-top: 10px;
    border: 1px solid rgba(148, 163, 184, 0.26);
    border-radius: 14px;
    padding: 22px 14px;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.12), rgba(236, 72, 153, 0.12));
    backdrop-filter: blur(9px);
    -webkit-backdrop-filter: blur(9px);
    text-align: center;
}

.cop-empty-state i {
    font-size: 28px;
    color: #facc15;
    margin-bottom: 8px;
}

.cop-empty-state p {
    margin: 0;
    color: #e2e8f0;
    font-size: 16px;
    font-weight: 800;
}

@media (max-width: 1000px) {
  .landing-hero, .about-split-card { grid-template-columns: 1fr; }
  .landing-tools { grid-template-columns: 1fr; }
  .feature-grid, .why-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .kdv-page-layout, .arac-sat-layout, .arac-ekle-layout, .vehicle-detail-top-grid, .vehicle-detail-bottom-grid, .musteri-detail-layout { grid-template-columns: 1fr; }
  .info-panel { position: static; }
  .detay-yeni-grid { grid-template-columns: 1fr; }
  .detay-yeni-mainfoto img { height: 300px; }
  .detay-yeni-fiyat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .detay-yeni-liste-wrap.is-collapsed .detay-yeni-liste {
    max-height: 114px;
    overflow: hidden;
    position: relative;
  }
  .detay-yeni-liste-wrap.is-collapsed .detay-yeni-liste::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 38px;
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
    background: linear-gradient(to bottom, rgba(15, 23, 42, 0), rgba(15, 23, 42, 0.92));
    pointer-events: none;
  }
  .detay-liste-toggle {
    display: flex;
    margin-top: 8px;
    margin-left: auto !important;
    margin-right: auto !important;
    gap: 10px;
    align-items: center;
    justify-content: center;
    width: max-content;
    max-width: 100%;
  }
  .masraf-ekle-grid { grid-template-columns: 1fr; }
  .masraf-modal-panel { width: min(700px, calc(100vw - 16px)); max-height: calc(100vh - 16px); }
  .detay-yeni-title-row { flex-wrap: wrap; }
  .detay-masraf-grid { grid-template-columns: 1fr; }
  .detay-masraf-sag { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
}
@media (max-width: 600px) {
  .form-row, .kdv-input-row { flex-direction: column; }
  .arac-sat-form .form-row {
    flex-direction: row;
    gap: 8px;
  }
  .arac-sat-form .form-row .form-col {
    width: 50%;
    max-width: 50%;
    min-width: 0;
  }
  .arac-duzenle-form .form-row {
    flex-direction: row;
    gap: 8px;
  }
  .arac-duzenle-form .form-row .form-col {
    width: 50%;
    max-width: 50%;
    min-width: 0;
  }
  .arac-duzenle-form .form-row.row-stretch .form-col {
    width: 100%;
    max-width: 100%;
  }
  .arac-duzenle-form .arac-ekle-details-panel-inner .arac-ekle-detail-row {
    flex-direction: column;
  }
  .arac-duzenle-form .arac-ekle-details-panel-inner .arac-ekle-detail-row .form-col {
    width: 100% !important;
    max-width: 100% !important;
  }
  .arac-duzenle-form .arac-ekle-details-panel-inner textarea {
    width: 100% !important;
    max-width: 100% !important;
  }
  .arac-ekle-details-panel-inner .arac-ekle-detail-row {
    align-items: stretch;
  }
  .arac-ekle-details-panel-inner .arac-ekle-detail-col {
    width: 100%;
    max-width: 100%;
  }
  #aracNotlar,
  #saticiAdres,
  #saticiNotu {
    width: 100% !important;
    max-width: 100% !important;
    display: block;
    box-sizing: border-box;
  }
  .arac-ekle-marka-model-row {
    flex-direction: row !important;
    flex-wrap: nowrap;
    gap: 8px;
  }
  .arac-ekle-yil-col-inline {
    flex: 0 0 84px;
    max-width: 84px;
  }
  .arac-ekle-inline-pair {
    flex-direction: row !important;
    flex-wrap: nowrap;
    gap: 8px;
    align-items: stretch;
  }
  .arac-ekle-inline-pair .form-col {
    flex: 1 1 0;
    min-width: 0;
  }
  .arac-ekle-inline-pair .input-money-wrap {
    flex: 1 1 0;
    min-width: 0;
  }
  .arac-ekle-inline-pair input,
  .arac-ekle-inline-pair .input-money {
    font-size: 14px;
    padding: 10px 8px;
    min-height: 44px;
  }
  .arac-ekle-layout .card {
    padding: 16px;
    min-width: 0;
    max-width: 100%;
    box-sizing: border-box;
  }

  .arac-ekle-form {
    min-width: 0;
    max-width: 100%;
  }

  .arac-ekle-inline-pair {
    max-width: 100%;
    min-width: 0;
  }

  .arac-ekle-layout .plaka-tr-plate {
    max-width: 100%;
  }
  .plaka-tr-part { font-size: 20px; }
  .plaka-tr-part + .plaka-tr-part { margin-left: 8px; padding-left: 8px; }
  .plaka-inputs { gap: 8px; }
  .plaka-inputs #plakaIl { flex: 0 0 76px; max-width: 76px; }

  .arac-ekle-form input[type="file"] {
    width: 100%;
    max-width: 100%;
    padding: 10px 8px;
    font-size: 14px;
  }

  .arac-ekle-form input[type="date"] {
    width: 100%;
    max-width: 100%;
  }

  .arac-ekle-form .btn[type="submit"],
  .arac-ekle-form button.btn {
    width: 100%;
    max-width: 100%;
    justify-content: center;
    margin-right: 0;
    box-sizing: border-box;
  }

  .arac-cards-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .araclar-section-card {
    padding: 14px;
  }

  .araclar-section-header {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }

  .araclar-view-switch-wrap {
    display: none !important;
  }

  .araclar-header-actions {
    width: 100%;
    justify-content: space-between;
  }

  .araclar-section-title {
    text-align: center;
  }

  .araclar-satilan-btn {
    display: none !important;
  }

  .araclar-section-title {
    text-align: left;
    padding-left: 4px;
  }

  .araclar-main-header {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .araclar-main-header .araclar-header-actions {
    width: auto;
    justify-content: flex-end;
    margin-left: auto;
  }

  .satilan-main-header {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .satilan-main-header .araclar-header-actions {
    width: auto;
    justify-content: flex-end;
    margin-left: auto;
  }

  .satilan-main-header .araclar-view-switch-wrap {
    display: none !important;
  }

  .satilan-main-header .satilan-mevcut-btn {
    display: none !important;
  }

  .araclar-tools-row {
    align-items: stretch;
  }

  .araclar-card-sort-bar {
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 8px;
  }

  .araclar-card-sort-links {
    justify-content: center;
    width: 100%;
  }

  .araclar-ozet-grid {
    grid-template-columns: 1fr 1fr !important;
  }

  .araclar-ozet-grid .araclar-ozet-kart-genis {
    grid-column: 1 / -1;
  }

  .muayene-modal-panel {
    width: 100%;
    max-width: min(400px, 100%);
    padding: 12px;
    box-sizing: border-box;
  }

  .vehicle-detail-photo {
    height: auto;
    min-height: 220px;
    max-height: 52vh;
  }

  .top-action-row {
    flex-wrap: nowrap;
    gap: 8px;
    align-items: center;
  }
  .top-action-row > .btn,
  .top-action-row .detay-yeni-actions .btn {
    min-height: 38px;
    padding: 8px 10px;
    font-size: 13px;
    white-space: nowrap;
  }
  .top-action-row .detay-yeni-actions {
    width: auto;
    justify-content: flex-end;
    gap: 6px;
    flex-wrap: nowrap;
  }
  .detay-yeni-fiyat-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
  }
  .detay-yeni-fiyat-box {
    padding: 8px 6px;
  }
  .detay-yeni-fiyat-box small {
    font-size: 15px;
  }
  .detay-yeni-fiyat-box b {
    font-size: 14px;
  }
}

@media (max-width: 900px) {
  .arac-duzenle-layout {
    grid-template-columns: 1fr;
  }
  .arac-duzenle-sidebar {
    display: none;
  }

  .arac-ekle-layout .info-panel {
    display: none !important;
  }
}