/* Calm medical dashboard, soft depth, strong hierarchy and responsive customer data. */
:root{--c362-ink:#103d51;--c362-teal:#126b68;--c362-ice:#edf6f8;--c362-stroke:#dbe7ec}
.app-body{background:radial-gradient(ellipse at 8% 4%,#ecf9f5 0%,transparent 32%),linear-gradient(148deg,#f5f8fc 0%,#eef6f8 55%,#f6f8fc 100%)}
.main-content .panel{border:1px solid #e0e9ee;box-shadow:0 16px 45px -42px #14374b;border-radius:19px}
.sidebar{background:linear-gradient(170deg,#fff 0%,#f7fbfa 100%)}
.nav-link{transition:background .15s,transform .15s,color .15s;border-radius:12px}
.nav-link:hover{transform:translateX(-2px);background:#e8f5f5}
.sidebar .nav-link.active{box-shadow:inset -3px 0 #16a085,0 8px 20px -18px #075559;background:#e8f6f5;color:#0c5455}
.crm362-customers{min-width:1250px;border-collapse:separate;border-spacing:0 7px;table-layout:auto}
.crm362-customers thead th{background:#123c49!important;color:#fff!important;padding:14px 12px;font-weight:800;white-space:nowrap;font-size:13px}
.crm362-customers .crm362-data-row{background:#fff;box-shadow:0 6px 16px -16px #175669;transition:background .17s,transform .17s}
.crm362-customers .crm362-data-row:hover{background:#f2fbfb;transform:translateY(-1px)}
.crm362-customers .crm362-data-row td{padding:15px 12px;border-top:1px solid #e5edf0;border-bottom:1px solid #e5edf0;vertical-align:middle}
.crm362-customers td:first-child{border-radius:0 12px 12px 0}
.crm362-customers td:last-child{border-radius:12px 0 0 12px}
.crm362-customers .crm362-name{font-size:16px;color:#0b3447;min-width:155px}
.crm362-customers .crm362-phone{font-family:Arial,Tahoma,sans-serif;direction:ltr;unicode-bidi:isolate;display:inline-block;white-space:nowrap;font-size:19px;letter-spacing:.5px;font-weight:800;color:#035e69;text-decoration:none;background:#ecf8fa;padding:8px 12px;border-radius:12px}
.crm362-customers .crm362-date{font-size:15px;font-weight:750;white-space:nowrap;color:#20566b;font-variant-numeric:tabular-nums}
.crm362-customers .crm362-date small{display:block;font-size:13px;color:#56798b;text-align:center;margin-top:3px}
.crm362-customers .crm362-service{min-width:170px;max-width:265px;font-size:13px;font-weight:650}
.crm362-customers .crm362-note{max-width:240px;min-width:120px;line-height:1.75;font-size:12px;color:#597387}
.crm362-idflag{display:block;color:#5c6880;font-size:11px;margin-top:4px}
.crm362-pay{display:inline-block;padding:7px 10px;border-radius:11px;font-size:12px;font-weight:800;white-space:nowrap}
.crm362-pay.yes{background:#daf4e7;color:#087143}.crm362-pay.check{background:#fff0d5;color:#83510e}.crm362-pay.no{background:#eef2f5;color:#58717b}
.crm362-full-link{display:block;text-align:center;font-size:12px;margin-top:6px;color:#547e8c}
.crm362-popup-open{white-space:nowrap;box-shadow:0 7px 16px -10px #195b66}
.crm362-customers .crm354-state{white-space:nowrap;min-width:112px;display:inline-flex;justify-content:center;align-items:center;gap:5px;border-radius:11px;padding:8px 10px;font-size:12px;font-weight:900;border:1px solid currentColor}
.crm354-state.tone-unanswered{background:#ffe7e8!important;color:#a52738!important;border-color:#f9bac2!important}
.crm354-state.tone-followup{background:#e2edff!important;color:#285abd!important;border-color:#aec6ff!important}
.crm354-state.tone-extra{background:#f0e6ff!important;color:#743ab5!important;border-color:#d7bbf5!important}
.crm354-state.tone-booked{background:#dcf6e6!important;color:#116b3f!important;border-color:#a5e2b9!important}
.crm354-state.tone-refused{background:#ffe6db!important;color:#a84320!important;border-color:#f6b8a0!important}
.crm354-state.tone-new{background:#e3f5f8!important;color:#226a7d!important;border-color:#bae4ee!important}
.crm354-state.tone-attended{background:#ccf7eb!important;color:#0c7562!important;border-color:#8bd8c5!important}
.crm362-filter-panel{background:linear-gradient(148deg,#fff,#f7fbfc)}
.crm362-filter-panel .panel-heading h3{font-size:22px;color:#123b53}
.crm362-filter-form label{font-size:13px;font-weight:750;color:#234d62}
.crm362-filter-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:15px;margin:16px 0}
.crm362-filter-grid input,.crm362-filter-grid select{width:100%;padding:13px;border:1px solid #cbdfe6;border-radius:12px;background:white;color:#17465b;font-weight:700;margin-top:8px}
.crm362-filter-form fieldset{border:1px solid #dce9ee;border-radius:15px;padding:16px;margin:15px 0;background:#f9fcfd}
.crm362-filter-form fieldset legend{padding:0 8px;color:#125c68;font-weight:850}
.crm362-period-choices,.crm362-status-choices{display:flex;gap:15px;flex-wrap:wrap}
.crm362-period-choices label,.crm362-status-choices label{display:inline-flex;gap:7px;align-items:center;border:1px solid #dbe7e9;background:#fff;border-radius:25px;padding:10px 14px;cursor:pointer}
.crm362-period-choices input,.crm362-status-choices input{accent-color:#147c7a}
.crm362-filter-actions{display:flex;gap:10px;justify-content:flex-start;margin-top:17px}
.crm362-overlay[hidden],.crm362-dialog form[hidden],.crm362-dialog [hidden]{display:none!important}
.crm362-modal-open{overflow:hidden}
.crm362-overlay{position:fixed;inset:0;z-index:9999;background:rgba(10,35,52,.65);backdrop-filter:blur(5px);display:flex;align-items:center;justify-content:center;padding:15px}
.crm362-dialog{direction:rtl;width:min(850px,100%);max-height:calc(100dvh - 30px);overflow-y:auto;background:linear-gradient(155deg,#fff,#f5fafb);border:1px solid #bdd7df;border-radius:22px;box-shadow:0 28px 90px #0b2d4759;padding:24px;outline:0}
.crm362-dialog-head{display:flex;justify-content:space-between;align-items:flex-start;gap:15px;border-bottom:1px solid #d9e7eb;padding-bottom:15px;margin-bottom:20px}
.crm362-eyebrow{text-transform:uppercase;letter-spacing:1.4px;font-size:11px;color:#2e8991;font-weight:900}
.crm362-dialog-head h2{font-size:25px;margin:6px 0;color:#11394b}
.crm362-dialog-head p{color:#5b788a;font-size:12px;margin:0}
.crm362-dismiss{width:38px;height:38px;border-radius:12px;background:#eaf3f6;border:0;color:#254d5a;font-size:28px;cursor:pointer}
.crm362-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px;margin-bottom:18px}
.crm362-fields label{font-size:13px;font-weight:750;color:#254b5c;display:flex;flex-direction:column;gap:7px;min-width:0}
.crm362-fields input,.crm362-fields select,.crm362-fields textarea{font:inherit;padding:11px 12px;border-radius:11px;background:#fff;border:1px solid #cddfe6;color:#143c4f;min-width:0;width:100%;box-sizing:border-box}
.crm362-wide{grid-column:1/-1}
.crm362-appointment{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.crm362-phone-input{font-family:Arial,Tahoma,sans-serif!important;font-size:18px!important;font-weight:800!important;text-align:left}
.crm362-info{background:#eaf5f4;color:#21605c;padding:12px 15px;border-radius:12px;font-size:12px;margin-bottom:13px}
.crm362-actions{display:flex;justify-content:flex-end;gap:10px;padding-top:11px;border-top:1px solid #d9e8ed}
.crm362-loading,.crm362-error{padding:25px;text-align:center;color:#126b73}
.crm362-error{background:#fff0ed;color:#a83e25;border-radius:12px}
.crm362-service-form{margin-top:15px;padding:18px;background:#eff7f7;border:1px solid #c9e4e2;border-radius:14px}
.crm362-service-form summary{font-size:16px;font-weight:850;cursor:pointer;color:#0e6665}
.crm362-service-form p{font-size:12px;color:#5c707c}
.crm362-confirm{display:flex;gap:8px;align-items:center;font-size:12px;color:#244f5d;margin:10px 0}
.login-body{background:radial-gradient(circle at 20% 23%,#cfeeea 0%,transparent 40%),linear-gradient(120deg,#eff7fa,#dcefea)}
.login-card{border:1px solid #d3e7ea;box-shadow:0 25px 100px -60px #103f4a;border-radius:24px}
.login-aside{background:linear-gradient(145deg,#0d5b61 0%,#14384d 70%,#1e3a57 100%)}
.login-aside .aside-decor{opacity:.2;background:radial-gradient(circle at 20% 15%,#b4ffe7,transparent 65%)}
.login-intro h1{color:#16475b}
@media(max-width:1100px){.crm362-filter-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.crm362-list-scroll{overflow-x:auto}}
@media(max-width:650px){.crm362-filter-grid{grid-template-columns:1fr}.crm362-fields{grid-template-columns:1fr}.crm362-appointment{grid-column:1/-1}.crm362-dialog{padding:16px}.crm362-dialog-head h2{font-size:20px}.crm362-customers .crm362-phone{font-size:17px}}
