/* Masterlift müşteri/cari modülü v49 */
.customers-page-head{align-items:center}
.customers-new-btn i{font-size:11px}
.customers-table{min-width:1060px}
.customers-table th:nth-child(1){width:24%}.customers-table th:nth-child(2){width:18%}.customers-table th:nth-child(3){width:17%}.customers-table th:nth-child(4){width:24%}
.customer-company{display:flex;align-items:center;gap:11px}.customer-company>span{width:38px;height:38px;border-radius:11px;display:grid;place-items:center;flex:none;background:#fff0f1;color:#d92935;font-weight:700}.customer-company p{margin:0}.customer-company b{display:block}.customer-company small{display:block;color:var(--muted)}
.customer-address{max-width:290px;white-space:normal;font-size:11px;line-height:1.45;color:#666d77}
.customer-service-count{display:inline-flex;align-items:baseline;gap:4px;padding:7px 10px;border-radius:10px;background:#eef7f3;color:#16855a}.customer-service-count strong{font-size:15px}.customer-service-count span{font-size:9px}
.customer-edit-btn{height:37px;padding:0 12px;border:1px solid #e1e3e7;border-radius:10px;display:inline-flex;align-items:center;gap:7px;background:#fff;color:#3b414b;font-size:10px;font-weight:600}.customer-edit-btn:hover{border-color:#efb8bc;color:#d92935;background:#fff7f8}
.customer-dialog{width:min(720px,calc(100% - 28px));max-height:calc(100vh - 30px);padding:0;border:0;border-radius:20px;background:transparent;overflow:visible}.customer-dialog::backdrop{background:#11151ccc;backdrop-filter:blur(6px)}
.customer-dialog-card{margin:0;background:#fff;border-radius:20px;overflow:hidden;box-shadow:0 30px 90px #0005}
.customer-dialog-head{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;padding:25px 27px 19px;border-bottom:1px solid var(--line)}.customer-dialog-head h2{margin:5px 0 2px;font-size:23px}.customer-dialog-head p{margin:0;color:var(--muted);font-size:11px}.customer-dialog-close{width:38px;height:38px;border:0;border-radius:11px;background:#f1f2f4;color:#555;font-size:17px}
.customer-dialog-body{padding:23px 27px}.customer-dialog-actions{display:flex;justify-content:flex-end;gap:9px;padding:0 27px 25px}
.customer-lookup-field{position:relative}.customer-suggestions{position:absolute;z-index:35;left:0;right:0;top:calc(100% + 7px);max-height:315px;padding:6px;border:1px solid #e1e3e7;border-radius:13px;background:#fff;box-shadow:0 18px 45px #11151c24;overflow:auto}.customer-suggestions[hidden]{display:none}
.customer-suggestion-item{width:100%;padding:9px;border:0;border-radius:9px;display:flex;align-items:center;gap:10px;background:#fff;text-align:left;color:#242932}.customer-suggestion-item:hover{background:#f7f7f6}.customer-suggestion-item>span:first-child{width:34px;height:34px;border-radius:10px;display:grid;place-items:center;flex:none;background:#fff0f1;color:#d92935;font-weight:700}.customer-suggestion-item>span:last-child{min-width:0;display:flex;flex-direction:column}.customer-suggestion-item strong{font-size:11px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.customer-suggestion-item small{font-size:8.5px;color:#858b94;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.customer-suggestion-empty{padding:12px 10px;color:#7b818a;font-size:9px;line-height:1.45}
.customer-linked-note{grid-column:1/-1;display:none;align-items:center;gap:7px;margin-top:-7px;padding:8px 10px;border-radius:9px;background:#eaf8f2;color:#16855a;font-size:9px}.customer-linked-note.show{display:flex}
@media(min-width:901px){.desktop-nav a{width:96px!important;flex-basis:96px!important;padding:0 7px!important;font-size:11px!important}}
@media(max-width:900px){.mobile-nav a{width:16.666%!important;flex-basis:16.666%!important;min-width:0!important}.mobile-nav a,.mobile-nav a b{font-size:8.5px!important}.customers-page-head{display:flex!important;align-items:center!important}.customers-new-btn{width:100%;margin-top:15px}.customer-search-row .search-box,.customer-search-row .search-box input{width:100%}.developer-credit{margin-bottom:calc(96px + env(safe-area-inset-bottom))}}
@media(max-width:620px){.customers-page-head{display:block!important}.customer-dialog{width:calc(100% - 18px);max-height:calc(100vh - 18px)}.customer-dialog-card{max-height:calc(100vh - 18px);overflow:auto}.customer-dialog-head{padding:20px 19px 15px}.customer-dialog-body{padding:18px 19px;grid-template-columns:1fr!important}.customer-dialog-body .span-2{grid-column:span 1}.customer-dialog-actions{position:sticky;bottom:0;padding:13px 19px 18px;background:#fff;display:grid;grid-template-columns:1fr 1fr}.customers-table{min-width:900px}}
@media print{.customer-dialog,.customer-suggestions{display:none!important}}

/* Mobil uyumlu bağımsız müşteri kayıt sayfası */
.customer-page-form{width:min(900px,100%);margin:0 auto}.customer-page-card{padding:28px}.customer-page-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:24px;padding-top:20px;border-top:1px solid var(--line)}
@media(max-width:900px){.customer-form-head{margin-bottom:16px}.customer-page-form{width:100%}.customer-page-card{padding:20px}.customer-page-actions{position:sticky;z-index:5;bottom:82px;margin:20px -20px -20px;padding:13px 20px calc(13px + env(safe-area-inset-bottom));display:grid;grid-template-columns:1fr 1.35fr;background:rgba(255,255,255,.96);box-shadow:0 -12px 30px rgba(21,25,34,.07);backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px)}.customer-page-actions .btn{width:100%;min-height:46px}.customer-page-card .field-grid{grid-template-columns:1fr!important}.customer-page-card .span-2{grid-column:span 1!important}}

/* V63 permanent customer delete */
.customer-row-actions{display:flex;align-items:center;justify-content:flex-end;gap:7px;white-space:nowrap}.customer-delete-form{display:inline-flex;margin:0}.customer-delete-btn{height:37px;padding:0 12px;border:1px solid #f1cfd2;border-radius:10px;display:inline-flex;align-items:center;gap:7px;background:#fff4f5;color:#cf2633;font:600 10px/1 'Poppins',Arial,sans-serif}.customer-delete-btn:hover{border-color:#e99aa1;background:#ffe9eb;color:#ad1420}.customers-table th:last-child,.customers-table td:last-child{width:190px}
@media(max-width:900px){.customer-row-actions{justify-content:flex-start}.customers-table th:last-child,.customers-table td:last-child{width:190px}}
