﻿/* Shared listing/form contract approved on Customer. V1 remains outside this scope. */
body.pro-home-v2.v2-listing-standard {
    --customer-art: url('../../media/pro-login/pro-architecture-headers-v2.jpg?v=20261026.2');
    --customer-art-y: 44%;
    --customer-art-x: 50%;
    --customer-art-size: 100%;
}
body.pro-home-v2.v2-listing-standard.v2-fixed-screen #kt_content { padding-top:12px!important; padding-bottom:12px!important; }
body.pro-home-v2.v2-listing-standard .card>.card-header.v2-component-header {
    min-height:50px; padding:6px 20px!important; gap:6px;
}
body.pro-home-v2.v2-listing-standard .card>.card-header.v2-component-header .my-1 { margin-block:0!important; }

/* Full-width material, with complementary crisp/blurred layers. Neither layer ends halfway. */
body.pro-home-v2.v2-listing-standard .v2-component-header::before,
body.pro-home-v2.v2-listing-standard .v2-component-header::after {
    content:""; position:absolute; inset:0; height:auto; z-index:-1; border-radius:inherit;
    pointer-events:none; background-image:var(--customer-art); background-repeat:no-repeat;
    background-size:max(var(--customer-art-size), 900px) auto;
    background-position:var(--customer-art-x) var(--customer-art-y);
    opacity:.22; filter:grayscale(1); border:0;
}
body.pro-home-v2.v2-listing-standard .v2-component-header::before {
    mask-image:linear-gradient(90deg,#000 0%,#0009 38%,#0003 75%,#0001 100%);
}
body.pro-home-v2.v2-listing-standard .v2-component-header::after {
    filter:grayscale(1) blur(2px);
    mask-image:linear-gradient(90deg,transparent 15%,#0003 50%,#0006 100%);
}
/* Listing scopes are full-width radio choices, with one scroll area below the header. */
body.pro-home-v2.v2-listing-standard .v2-scope-drawer { max-width:100vw; }
body.pro-home-v2.v2-listing-standard .v2-scope-drawer>.card { height:100%; min-height:0; overflow:hidden; }
body.pro-home-v2.v2-listing-standard .v2-scope-drawer .card-header { flex:none; }
body.pro-home-v2.v2-listing-standard .v2-scope-drawer .card-body {
    display:flex; flex-direction:column; flex:1; min-height:0; padding:16px!important; overflow:hidden;
}
body.pro-home-v2.v2-listing-standard .v2-scope-scroll {
    flex:1; min-height:0; height:auto!important; max-height:none!important;
    margin:0!important; padding:2px!important; overflow:auto;
}
body.pro-home-v2.v2-listing-standard :is(.v2-scope-drawer,.v2-choice-modal) [data-kt-element="options"]>.pb-10 {
    display:flex; flex-direction:column; gap:10px; padding:0!important;
}
body.pro-home-v2.v2-listing-standard :is(.v2-scope-drawer,.v2-choice-modal) label.btn {
    position:relative; display:flex!important; align-items:center; gap:12px; flex:none;
    width:100%!important; min-width:0; height:auto!important; min-height:78px;
    padding:12px 14px!important; margin:0!important; box-sizing:border-box;
    border:1px solid var(--v2-line)!important; border-radius:11px!important;
    background:var(--v2-surface)!important; color:var(--v2-ink)!important;
    white-space:normal; text-align:left; box-shadow:none!important;
}
body.pro-home-v2.v2-listing-standard :is(.v2-scope-drawer,.v2-choice-modal) label.btn>.svg-icon {
    display:flex; align-items:center; justify-content:center; flex:0 0 32px;
    width:32px; height:32px; margin:0!important; color:var(--v2-accent-ink)!important;
}
body.pro-home-v2.v2-listing-standard :is(.v2-scope-drawer,.v2-choice-modal) label.btn>.svg-icon svg {
    width:32px!important; height:32px!important; max-width:32px; max-height:32px;
}
body.pro-home-v2.v2-listing-standard :is(.v2-scope-drawer,.v2-choice-modal) label.btn>span:last-child { flex:1; min-width:0; }
body.pro-home-v2.v2-listing-standard :is(.v2-scope-drawer,.v2-choice-modal) label.btn .text-dark { font-size:13px!important; line-height:20px; font-weight:600!important; }
body.pro-home-v2.v2-listing-standard :is(.v2-scope-drawer,.v2-choice-modal) label.btn .text-muted { display:block; margin-top:2px; font-size:12px!important; line-height:19px; font-weight:400!important; }
body.pro-home-v2.v2-listing-standard :is(.v2-scope-drawer,.v2-choice-modal) label.btn:hover { background:var(--v2-accent-pale)!important; }
body.pro-home-v2.v2-listing-standard :is(.v2-scope-drawer,.v2-choice-modal) .btn-check:checked+label.btn {
    background:linear-gradient(90deg,var(--v2-accent-soft),var(--v2-accent-pale))!important;
    border-color:var(--v2-accent-light)!important;
}
body.pro-home-v2.v2-listing-standard :is(.v2-scope-drawer,.v2-choice-modal) .btn-check:checked+label.btn::before {
    content:""; position:absolute; left:0; top:10px; bottom:10px; width:3px;
    border-radius:4px; background:var(--v2-accent);
}
body.pro-home-v2.v2-listing-standard :is(.v2-scope-drawer,.v2-choice-modal) .btn-check:focus-visible+label.btn {
    outline:2px solid var(--v2-accent); outline-offset:1px;
}

/* Single and multiple choices share the same 10px text inset and 36px empty height. */
body.pro-home-v2.v2-listing-standard :is(.drawer,.modal,#kt_content) .select2-container { width:100%!important; min-width:0; }
body.pro-home-v2.v2-listing-standard :is(.drawer,.modal,#kt_content) .select2-container .select2-selection {
    box-sizing:border-box; padding:4px 32px 4px 10px!important; min-height:36px!important;
    display:flex; align-items:center; border-radius:9px;
}
body.pro-home-v2.v2-listing-standard :is(.drawer,.modal,#kt_content) .select2-container .select2-selection--single { height:36px!important; }
body.pro-home-v2.v2-listing-standard :is(.drawer,.modal,#kt_content) .select2-selection--single .select2-selection__rendered {
    padding:0!important; margin:0!important; line-height:26px!important; font-size:12px!important;
}
body.pro-home-v2.v2-listing-standard :is(.drawer,.modal,#kt_content) .select2-container .select2-selection--multiple {
    height:auto!important; max-height:none!important; flex-wrap:wrap; gap:4px; overflow:visible;
}
body.pro-home-v2.v2-listing-standard :is(.drawer,.modal,#kt_content) .select2-selection--multiple .select2-selection__rendered {
    display:contents!important; padding:0!important; margin:0!important;
}
body.pro-home-v2.v2-listing-standard :is(.drawer,.modal,#kt_content) .select2-selection--multiple .select2-search--inline {
    display:flex!important; align-items:center; margin:0!important; min-height:26px; max-width:100%;
}
body.pro-home-v2.v2-listing-standard :is(.drawer,.modal,#kt_content) .select2-selection--multiple .select2-search__field {
    height:26px!important; min-height:26px!important; line-height:26px!important; margin:0!important;
    padding:0!important; font-size:12px!important; max-width:100%; vertical-align:middle;
    background:transparent!important; border:0!important; box-shadow:none!important;
}
body.pro-home-v2.v2-listing-standard :is(.drawer,.modal,#kt_content) .select2-selection__choice {
    float:none!important; margin:0!important; max-width:100%; white-space:normal; overflow-wrap:anywhere;
    line-height:20px!important; padding:3px 6px!important; display:inline-flex; align-items:center; gap:4px;
}
body.pro-home-v2.v2-listing-standard :is(.drawer,.modal,#kt_content) .select2-selection__choice__display { min-width:0; }
body.pro-home-v2.v2-listing-standard :is(.drawer,.modal,#kt_content) .select2-selection__choice__remove { flex:none; }

/* Chromium's native scrollbar buttons are disabled; Firefox keeps its thin native track. */
body.pro-home-v2.v2-listing-standard * { scrollbar-width:thin; scrollbar-color:var(--v2-line) transparent; }
@supports selector(::-webkit-scrollbar) {
    body.pro-home-v2.v2-listing-standard * { scrollbar-width:auto!important; scrollbar-color:auto!important; }
    body.pro-home-v2.v2-listing-standard *::-webkit-scrollbar { width:7px; height:7px; }
    body.pro-home-v2.v2-listing-standard *::-webkit-scrollbar-track { background:transparent; }
    body.pro-home-v2.v2-listing-standard *::-webkit-scrollbar-thumb { background:var(--v2-line); border-radius:8px; }
    body.pro-home-v2.v2-listing-standard *::-webkit-scrollbar-button { display:none!important; width:0!important; height:0!important; }
    body.pro-home-v2.v2-listing-standard *::-webkit-scrollbar-corner { background:transparent; }
}
@media(max-width:767.98px) {
    body.pro-home-v2.v2-listing-standard #kt_header { --customer-art-x:76%; }
    body.pro-home-v2.v2-listing-standard.v2-fixed-screen #kt_content { padding-block:10px!important; }
    body.pro-home-v2.v2-listing-standard .card>.card-header.v2-component-header { padding:6px 12px!important; }
}

body.pro-home-v2.v2-listing-standard .v2-choice-modal .modal-dialog { max-width:410px!important; }
body.pro-home-v2.v2-listing-standard .v2-choice-modal .modal-body { padding:18px!important; flex:0 1 auto; }
/* Month choices use the same themed widget as the filter fields. */
body.pro-home-v2.v2-listing-standard .flatpickr-current-month .customer-native-month { display:none!important; }
body.pro-home-v2.v2-listing-standard .flatpickr-current-month .select2-container { width:104px!important; text-align:left; vertical-align:middle; }
body.pro-home-v2.v2-listing-standard .flatpickr-current-month .select2-selection { height:30px!important; min-height:30px!important; padding:0 24px 0 8px!important; border:0!important; background:var(--v2-accent-pale)!important; }
body.pro-home-v2.v2-listing-standard .flatpickr-current-month .select2-selection__rendered { padding:0!important; line-height:30px!important; font-size:12px!important; }
body.pro-home-v2.v2-listing-standard .flatpickr-current-month .select2-selection__arrow { right:6px!important; }
body.pro-home-v2.v2-listing-standard .flatpickr-calendar .select2-dropdown { min-width:132px; text-align:left; }
body.pro-home-v2.v2-listing-standard .flatpickr-calendar .select2-results__options { max-height:220px; }
body.pro-home-v2.v2-listing-standard .flatpickr-calendar :is(.flatpickr-prev-month,.flatpickr-next-month) svg { fill:var(--v2-accent-ink)!important; }

/* Dropdown searches match the table's 36px search; token-entry fields stay compact. */
body.pro-home-v2.v2-listing-standard .select2-search--dropdown.customer-dropdown-search {
    position:relative; padding:8px 10px!important;
}
body.pro-home-v2.v2-listing-standard .customer-dropdown-search .select2-search__field {
    box-sizing:border-box; width:100%!important; height:36px!important; min-height:36px!important;
    margin:0!important; padding:6px 10px 6px 38px!important; line-height:22px!important;
    font-size:12px!important; border:1px solid var(--v2-line)!important; border-radius:9px!important;
    color:var(--v2-ink)!important; background:var(--v2-surface)!important;
}
body.pro-home-v2.v2-listing-standard .customer-dropdown-search .select2-search__field::placeholder { color:var(--v2-muted); opacity:1; }
body.pro-home-v2.v2-listing-standard .customer-search-symbol {
    position:absolute; left:21px; top:15px; display:flex; align-items:center; justify-content:center;
    width:22px; height:22px; pointer-events:none; color:var(--v2-accent-ink);
}
body.pro-home-v2.v2-listing-standard .customer-search-symbol svg { width:22px!important; height:22px!important; }

body.pro-home-v2.v2-listing-standard .select2-container.v2-image-select .select2-selection { min-height:48px!important; height:auto!important; }
body.pro-home-v2.v2-listing-standard .select2-container.v2-image-select .select2-selection__rendered { display:flex; align-items:center; min-height:36px; }
body.pro-home-v2.v2-listing-standard .select2-container.v2-image-select img { width:32px!important; height:32px!important; object-fit:cover; border-radius:7px; margin-right:8px; }
body.pro-home-v2.v2-listing-standard .card-header.v2-component-header .card-title { margin-block:0!important; min-height:36px; }
body.pro-home-v2.v2-listing-standard .v2-data-scroll th { white-space:nowrap; }
body.pro-home-v2.v2-listing-standard .v2-data-scroll th:is(.sorting,.sorting_asc,.sorting_desc) { padding-right:20px!important; }
body.pro-home-v2.v2-listing-standard .v2-data-scroll th:is(.sorting,.sorting_asc,.sorting_desc)::after { margin-left:5px; }

/* Tools / definitions: semantic icon pairs, compact consistent tiles; V1 retains its original rules. */
body.pro-home-v2 #kt_content[data-pro-page="AraclarAyarlar"] .v2-settings-grid {display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:10px;margin:0;}
body.pro-home-v2 #kt_content .v2-settings-grid::before,body.pro-home-v2 #kt_content .v2-settings-grid::after {display:none;}
body.pro-home-v2 #kt_content .v2-settings-cell {width:auto;max-width:none;padding:0;min-width:0;}
body.pro-home-v2 #kt_content .v2-settings-wrap {padding:0!important;margin:0!important;}
body.pro-home-v2 #kt_content .v2-settings-tile {display:flex!important;align-items:center;justify-content:center;width:100%;min-height:88px;height:100%;margin:0!important;padding:12px 10px!important;border:1px solid var(--v2-line)!important;border-radius:12px;background:var(--v2-surface)!important;color:var(--v2-ink)!important;box-shadow:none;transition:background-color .15s,border-color .15s;}
body.pro-home-v2 #kt_content .v2-settings-tile:hover {background:var(--v2-accent-soft)!important;border-color:var(--v2-accent)!important;color:var(--v2-accent-ink)!important;}
body.pro-home-v2 #kt_content .v2-settings-tile>.col-xl-12 {display:flex;align-items:center;gap:10px;width:100%;}
body.pro-home-v2 #kt_content .v2-settings-tile :is(.svg-icon,svg[data-pro-icon]) {display:inline-flex!important;flex:none;width:30px!important;height:30px!important;margin:0!important;opacity:1;visibility:visible;}
body.pro-home-v2 #kt_content .v2-settings-tile :is(.text-dark,.fw-bolder,.fs-5) {color:inherit!important;font-size:12px!important;line-height:1.45;font-weight:600!important;text-align:left!important;}
body.pro-home-v2 #kt_content .v2-settings-tile .v2-action-caption {display:block!important;}
body.pro-home-v2 #kt_content[data-pro-page="AraclarAyarlar"] :is(#araclar,#tanimlar) {padding:12px!important;}
body.pro-home-v2 #kt_content[data-pro-page="AraclarAyarlar"] :is(#araclar,#tanimlar)>.card>.card-body {padding:0!important;}
@media(min-width:1200px) {body.pro-home-v2 #kt_content[data-pro-page="AraclarAyarlar"] .v2-settings-grid {grid-template-columns:repeat(6,minmax(0,1fr));}}
@media(max-width:575px) {body.pro-home-v2 #kt_content[data-pro-page="AraclarAyarlar"] .v2-settings-grid {grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;}body.pro-home-v2 #kt_content .v2-settings-tile {min-height:78px;padding:10px 8px!important;}body.pro-home-v2 #kt_content .v2-settings-tile>.col-xl-12 {gap:7px;}}

/* Choice cards: hover is soft; the left active marker belongs only to checked items. */
body.pro-home-v2.v2-listing-standard :is(.v2-scope-drawer,.v2-choice-modal) .btn-check:not(:checked)+label.btn:hover{
    background:var(--v2-accent-soft)!important;border-color:var(--v2-line)!important;
    color:var(--v2-accent-ink)!important;box-shadow:none!important;
}
body.pro-home-v2.v2-listing-standard :is(.v2-scope-drawer,.v2-choice-modal) .btn-check:not(:checked)+label.btn:hover::before{display:none!important}
body.pro-home-v2.v2-listing-standard :is(.v2-scope-drawer,.v2-choice-modal) .btn-check:not(:checked)+label.btn:hover .text-dark{color:var(--v2-accent-ink)!important}
body.pro-home-v2.v2-listing-standard :is(.v2-scope-drawer,.v2-choice-modal) .btn-check:not(:checked)+label.btn:hover .text-muted{color:var(--v2-muted)!important}

/* Shared choice drawers across every V2 page, including sorting and status. */
body.pro-home-v2 .v2-scope-drawer { max-width:100vw; }
body.pro-home-v2 .v2-scope-drawer>.card { height:100%; min-height:0; overflow:hidden; }
body.pro-home-v2 .v2-scope-drawer .card-header { flex:none; }
body.pro-home-v2 .v2-scope-drawer .card-body {
    display:flex; flex-direction:column; flex:1; min-height:0; padding:16px!important; overflow:hidden;
}
body.pro-home-v2 .v2-scope-scroll {
    flex:1; min-height:0; height:auto!important; max-height:none!important;
    margin:0!important; padding:2px!important; overflow:auto;
}
body.pro-home-v2 :is(.v2-scope-drawer,.v2-choice-modal) [data-kt-element="options"]>.pb-10 {
    display:flex; flex-direction:column; gap:10px; padding:0!important;
}
body.pro-home-v2 :is(.v2-scope-drawer,.v2-choice-modal) label.btn {
    position:relative; display:flex!important; align-items:center; gap:12px; flex:none;
    width:100%!important; min-width:0; height:auto!important; min-height:78px;
    padding:12px 14px!important; margin:0!important; box-sizing:border-box;
    border:1px solid var(--v2-line)!important; border-radius:11px!important;
    background:var(--v2-surface)!important; color:var(--v2-ink)!important;
    white-space:normal; text-align:left; box-shadow:none!important;
}
body.pro-home-v2 :is(.v2-scope-drawer,.v2-choice-modal) label.btn>.svg-icon {
    display:flex; align-items:center; justify-content:center; flex:0 0 32px;
    width:32px; height:32px; margin:0!important; color:var(--v2-accent-ink)!important;
}
body.pro-home-v2 :is(.v2-scope-drawer,.v2-choice-modal) label.btn>.svg-icon svg {
    width:32px!important; height:32px!important; max-width:32px; max-height:32px;
}
body.pro-home-v2 :is(.v2-scope-drawer,.v2-choice-modal) label.btn>span:last-child { flex:1; min-width:0; }
body.pro-home-v2 :is(.v2-scope-drawer,.v2-choice-modal) label.btn .text-dark { font-size:13px!important; line-height:20px; font-weight:600!important; }
body.pro-home-v2 :is(.v2-scope-drawer,.v2-choice-modal) label.btn .text-muted { display:block; margin-top:2px; font-size:12px!important; line-height:19px; font-weight:400!important; }
body.pro-home-v2 :is(.v2-scope-drawer,.v2-choice-modal) label.btn:hover { background:var(--v2-accent-pale)!important; }
body.pro-home-v2 :is(.v2-scope-drawer,.v2-choice-modal) .btn-check:checked+label.btn {
    background:linear-gradient(90deg,var(--v2-accent-soft),var(--v2-accent-pale))!important;
    border-color:var(--v2-accent-light)!important;
}
body.pro-home-v2 :is(.v2-scope-drawer,.v2-choice-modal) .btn-check:checked+label.btn::before {
    content:""; position:absolute; left:0; top:10px; bottom:10px; width:3px;
    border-radius:4px; background:var(--v2-accent);
}
body.pro-home-v2 :is(.v2-scope-drawer,.v2-choice-modal) .btn-check:focus-visible+label.btn {
    outline:2px solid var(--v2-accent); outline-offset:1px;
}


body.pro-home-v2 .v2-scope-drawer label.btn:not(:last-child){margin-bottom:10px!important;}
body.pro-home-v2 .v2-scope-drawer label.btn .text-dark{color:var(--v2-ink)!important;}
body.pro-home-v2 .v2-scope-drawer label.btn .text-muted{color:var(--v2-muted)!important;}
body.pro-home-v2 .v2-scope-drawer label.btn:is(:hover,:focus-visible){background:var(--v2-accent-soft)!important;border-color:var(--v2-line)!important;color:var(--v2-accent-ink)!important;}
body.pro-home-v2 .v2-scope-drawer label.btn:hover::before{display:none!important;}
body.pro-home-v2 .v2-scope-drawer .btn-check:checked+label.btn,
body.pro-home-v2 .v2-scope-drawer label.btn.active{background:linear-gradient(90deg,var(--v2-accent-soft),var(--v2-accent-pale))!important;border-color:var(--v2-accent-light)!important;}
body.pro-home-v2 .v2-scope-drawer .btn-check:checked+label.btn::before,
body.pro-home-v2 .v2-scope-drawer label.btn.active::before{content:"";display:block!important;position:absolute;left:0;top:10px;bottom:10px;width:3px;border-radius:4px;background:var(--v2-accent);}
