/* -------------------------------------------------------------------------
   Case creation — signature Ukilix form design.
   Presentation only. Scoped to the NEW case screen so edit and other forms
   retain their original styling. No changes to form fields or behaviour.
   ------------------------------------------------------------------------- */
body.ukx-dashboard-view .ukx-case-create-page{
  --case-navy:#122f47;
  --case-ink:#18344b;
  --case-gold:#c59c4f;
  --case-surface:#ffffff;
  --case-muted:#697c8d;
  width:100%;max-width:1330px;margin:0 auto;padding-bottom:30px;
}
body.ukx-dashboard-view .ukx-case-create-page .ukx-case-entry-heading{
  position:relative;isolation:isolate;overflow:hidden;
  display:flex;align-items:center;justify-content:space-between;gap:24px;
  padding:33px clamp(22px,3.5vw,46px);border-radius:22px;
  background:linear-gradient(116deg,#0d283e 0%,#163751 64%,#214a5e 100%);
  box-shadow:0 18px 36px rgba(12,39,61,.16);border:1px solid #2f5365;
}
body.ukx-dashboard-view .ukx-case-create-page .ukx-case-entry-heading:before{
  content:"";position:absolute;right:-68px;top:-140px;width:420px;height:420px;
  border:1px solid rgba(234,199,129,.16);border-radius:50%;z-index:-1;
  box-shadow:0 0 0 45px rgba(234,199,129,.04),0 0 0 95px rgba(234,199,129,.025);
}
body.ukx-dashboard-view .ukx-case-create-page .ukx-case-entry-heading:after{
  content:"";position:absolute;left:0;bottom:0;width:45%;height:3px;
  background:linear-gradient(90deg,#cba65f,#cba65f00);
}
body.ukx-dashboard-view .ukx-case-create-page .ukx-case-entry-heading-content{position:relative;z-index:1;min-width:0}
body.ukx-dashboard-view .ukx-case-create-page .ukx-case-entry-heading .breadcrumb{
  display:flex;align-items:center;gap:8px;margin:0 0 13px;
  color:#aec2cb;font-size:13px;font-weight:600;
}
body.ukx-dashboard-view .ukx-case-create-page .ukx-case-entry-heading .breadcrumb a{color:#f1d28d}
body.ukx-dashboard-view .ukx-case-create-page .ukx-case-entry-heading .breadcrumb a:hover{text-decoration:underline}
body.ukx-dashboard-view .ukx-case-create-page .ukx-case-entry-heading h1{
  margin:0;color:#fff;font-size:clamp(24px,2.5vw,34px);font-weight:800;line-height:1.45;
}
body.ukx-dashboard-view .ukx-case-create-page .ukx-case-entry-heading-icon{
  position:relative;display:flex;align-items:center;justify-content:center;
  width:92px;height:92px;flex:none;border-radius:23px;
  border:1px solid rgba(246,213,145,.37);
  background:linear-gradient(145deg,rgba(212,178,108,.18),rgba(212,178,108,.04));
  color:#f0cd83;box-shadow:inset 0 1px rgba(255,255,255,.13),0 14px 27px rgba(0,0,0,.12);
}
body.ukx-dashboard-view .ukx-case-create-page .ukx-case-entry-heading-icon .ukx-icon{
  width:46px;height:46px;stroke-width:1.45;
}
body.ukx-dashboard-view #caseForm.ukx-case-entry-form{
  max-width:none!important;width:100%;padding:0;margin:22px 0 0!important;
  border:0;background:transparent;box-shadow:none;border-radius:0;
}
body.ukx-dashboard-view .ukx-case-create-page .ukx-case-form-panel,
body.ukx-dashboard-view .ukx-case-create-page .ukx-case-physical-panel{
  position:relative;isolation:isolate;
  margin:0 0 18px!important;padding:26px clamp(18px,2.8vw,34px) 18px!important;
  background:#fff!important;border:1px solid #e4e9eb!important;border-radius:19px!important;
  box-shadow:0 7px 26px rgba(17,50,74,.045),0 1px 3px rgba(17,50,74,.025)!important;
  transition:border-color .18s ease,box-shadow .18s ease;
}
body.ukx-dashboard-view .ukx-case-create-page .ukx-case-form-panel:before,
body.ukx-dashboard-view .ukx-case-create-page .ukx-case-physical-panel:before{
  content:"";position:absolute;z-index:1;pointer-events:none;inset:0 auto auto 28px;
  width:63px;height:3px;border-radius:0 0 5px 5px;
  background:linear-gradient(90deg,#e5bb69,#a47724);
}
body.ukx-dashboard-view .ukx-case-create-page .ukx-case-form-panel:focus-within,
body.ukx-dashboard-view .ukx-case-create-page .ukx-case-physical-panel:focus-within{
  border-color:#d1b580!important;box-shadow:0 11px 30px rgba(17,50,74,.085)!important;
}
body.ukx-dashboard-view .ukx-case-create-page .ukx-case-form-panel>.grid-3,
body.ukx-dashboard-view .ukx-case-create-page .ukx-case-physical-panel>.grid-3{
  display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0 19px;
}
body.ukx-dashboard-view .ukx-case-create-page .ukx-case-form-panel>.grid-2{
  display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 19px;
}
body.ukx-dashboard-view .ukx-case-create-page .form-row{margin:0 0 18px;min-width:0}
body.ukx-dashboard-view .ukx-case-create-page .form-row label{
  display:block;font-size:13.5px;font-weight:700;line-height:1.5;
  letter-spacing:0;margin:0 0 9px;color:#29445b;
}
body.ukx-dashboard-view .ukx-case-create-page .form-row>input,
body.ukx-dashboard-view .ukx-case-create-page .form-row>select,
body.ukx-dashboard-view .ukx-case-create-page .form-row>textarea,
body.ukx-dashboard-view .ukx-case-create-page #courtOtherRow input{
  box-sizing:border-box;width:100%;min-width:0;min-height:53px;
  border:1px solid #dbe3e8!important;border-radius:11px!important;
  padding:12px 14px;color:#17334b;background:#fafbfd;
  font:500 14px/1.5 'Hind Siliguri Local','Hind Siliguri',sans-serif;
  box-shadow:inset 0 1px 2px rgba(25,59,83,.025);
  transition:border-color .18s,background .18s,box-shadow .18s;
}
body.ukx-dashboard-view .ukx-case-create-page .form-row>textarea{height:auto;min-height:100px;resize:vertical;line-height:1.65}
body.ukx-dashboard-view .ukx-case-create-page .form-row>input:hover,
body.ukx-dashboard-view .ukx-case-create-page .form-row>select:hover,
body.ukx-dashboard-view .ukx-case-create-page .form-row>textarea:hover,
body.ukx-dashboard-view .ukx-case-create-page #courtOtherRow input:hover{
  border-color:#b5c7d3!important;background:#fff;
}
body.ukx-dashboard-view .ukx-case-create-page .form-row>input:focus,
body.ukx-dashboard-view .ukx-case-create-page .form-row>select:focus,
body.ukx-dashboard-view .ukx-case-create-page .form-row>textarea:focus,
body.ukx-dashboard-view .ukx-case-create-page #courtOtherRow input:focus{
  outline:0!important;border-color:#b28a3e!important;background:#fff;
  box-shadow:0 0 0 4px rgba(192,149,67,.13)!important;
}
body.ukx-dashboard-view .ukx-case-create-page .form-row input::placeholder,
body.ukx-dashboard-view .ukx-case-create-page .form-row textarea::placeholder{color:#9aabb7;opacity:1}
body.ukx-dashboard-view .ukx-case-create-page .form-row select:disabled,
body.ukx-dashboard-view .ukx-case-create-page .form-row input:disabled{
  background:#f1f3f4!important;color:#9aa6ad;cursor:not-allowed;box-shadow:none;
}
body.ukx-dashboard-view .ukx-case-create-page .ukx-case-panel-hearing{
  background:linear-gradient(117deg,#fff 0%,#fff 67%,#fcfbf7 100%)!important;
}
body.ukx-dashboard-view .ukx-case-create-page .ukx-case-physical-panel{
  background:linear-gradient(122deg,#fff 0%,#fff 74%,#faf7ef 100%)!important;
}
body.ukx-dashboard-view .ukx-case-create-page .ukx-case-physical-panel h3{
  color:#183a51;font-size:17px!important;font-weight:800;margin-bottom:8px!important;
}
body.ukx-dashboard-view .ukx-case-create-page .ukx-case-physical-panel .small-note{
  color:#6b7d89;font-size:12.5px;line-height:1.6;
}
body.ukx-dashboard-view .ukx-case-create-page #courtOtherRow .small-note{font-size:12px;color:#71818c}
body.ukx-dashboard-view .ukx-case-create-page #delCustomCourt{border-radius:9px;font-weight:700}
body.ukx-dashboard-view .ukx-case-create-page .form-actions{
  display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;
  gap:12px;padding:21px 26px;margin:0;
  background:#fff;border:1px solid #e4e9eb;border-radius:17px;
  box-shadow:0 6px 22px rgba(17,50,74,.04);
}
body.ukx-dashboard-view .ukx-case-create-page .form-actions .btn{
  min-height:50px;border-radius:11px;padding:12px 24px;font-size:14.5px;font-weight:800;
  transition:background .16s,box-shadow .16s,transform .16s;
}
body.ukx-dashboard-view .ukx-case-create-page .form-actions .btn-brass{
  background:linear-gradient(125deg,#b58a36,#916719);border:1px solid #956d25;
  color:#fff;box-shadow:0 6px 13px rgba(158,113,36,.2);
}
body.ukx-dashboard-view .ukx-case-create-page .form-actions .btn-brass:hover{
  background:linear-gradient(125deg,#9c742b,#805a17);transform:translateY(-1px);
  box-shadow:0 8px 16px rgba(158,113,36,.26);
}
body.ukx-dashboard-view .ukx-case-create-page .form-actions .btn-outline{
  border:1px solid #ced8df;background:#f9fbfc;color:#28435a;
}
body.ukx-dashboard-view .ukx-case-create-page .form-actions .btn-outline:hover{background:#eef3f6;border-color:#9dafbd}
@media(max-width:1100px){
 body.ukx-dashboard-view .ukx-case-create-page .ukx-case-form-panel>.grid-3,
 body.ukx-dashboard-view .ukx-case-create-page .ukx-case-physical-panel>.grid-3{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:700px){
 body.ukx-dashboard-view .ukx-case-create-page .ukx-case-entry-heading{border-radius:17px;padding:23px 21px;gap:12px}
 body.ukx-dashboard-view .ukx-case-create-page .ukx-case-entry-heading-icon{height:58px;width:58px;border-radius:15px}
 body.ukx-dashboard-view .ukx-case-create-page .ukx-case-entry-heading-icon .ukx-icon{width:29px;height:29px}
 body.ukx-dashboard-view .ukx-case-create-page .ukx-case-entry-heading h1{font-size:24px}
 body.ukx-dashboard-view #caseForm.ukx-case-entry-form{margin-top:15px!important}
 body.ukx-dashboard-view .ukx-case-create-page .ukx-case-form-panel,
 body.ukx-dashboard-view .ukx-case-create-page .ukx-case-physical-panel{padding:22px 17px 8px!important;margin-bottom:14px!important;border-radius:15px!important}
 body.ukx-dashboard-view .ukx-case-create-page .ukx-case-form-panel>.grid-3,
 body.ukx-dashboard-view .ukx-case-create-page .ukx-case-physical-panel>.grid-3,
 body.ukx-dashboard-view .ukx-case-create-page .ukx-case-form-panel>.grid-2{grid-template-columns:minmax(0,1fr);gap:0}
 body.ukx-dashboard-view .ukx-case-create-page .form-row{margin-bottom:16px}
 body.ukx-dashboard-view .ukx-case-create-page .form-actions{padding:14px;flex-direction:column;align-items:stretch}
 body.ukx-dashboard-view .ukx-case-create-page .form-actions .btn{width:100%;min-height:50px}
}
@media(max-width:380px){
 body.ukx-dashboard-view .ukx-case-create-page .ukx-case-entry-heading-icon{display:none}
}
@media(prefers-reduced-motion:reduce){
 body.ukx-dashboard-view .ukx-case-create-page *,body.ukx-dashboard-view .ukx-case-create-page *:before{transition:none!important}
}


/* Distinctive visual layer — style only, with no new inputs or field labels. */
body.ukx-dashboard-view .ukx-case-create-page {max-width:1250px;padding:4px 0 42px;}
body.ukx-dashboard-view .ukx-case-create-page .ukx-case-entry-heading {
  border:1px solid #29475d;border-radius:20px;padding:35px 38px;
  background:radial-gradient(circle at 88% 20%,rgba(224,188,106,.16),transparent 22%),
    linear-gradient(112deg,#102338 0%,#173b50 70%,#23505c 100%)!important;
  box-shadow:0 15px 32px rgba(24,44,56,.17)!important;
  border-bottom:4px solid #c9a052!important;
}
body.ukx-dashboard-view .ukx-case-create-page .ukx-case-entry-heading h1 {font-size:clamp(25px,2.7vw,35px);letter-spacing:0.2px;}
body.ukx-dashboard-view .ukx-case-create-page #caseForm.ukx-case-entry-form {
  display:block;max-width:none!important;margin:22px 0 0!important;
  padding:0!important;border:0!important;border-radius:0!important;
  background:transparent!important;box-shadow:none!important;
}
body.ukx-dashboard-view .ukx-case-create-page .ukx-case-form-panel,
body.ukx-dashboard-view .ukx-case-create-page .ukx-case-physical-panel {
  margin-bottom:20px!important;border:1px solid #e5e5df!important;
  border-radius:16px!important;background:#ffffff!important;
  box-shadow:0 5px 18px rgba(11,30,44,.055)!important;
  padding:29px clamp(16px,3.1vw,34px) 15px!important;
  border-left:5px solid #c9a052!important;
}
body.ukx-dashboard-view .ukx-case-create-page .ukx-case-form-panel::before,
body.ukx-dashboard-view .ukx-case-create-page .ukx-case-physical-panel::before {display:none!important;}
body.ukx-dashboard-view .ukx-case-create-page .ukx-case-panel-court,
body.ukx-dashboard-view .ukx-case-create-page .ukx-case-panel-client {
  background:linear-gradient(106deg,#ffffff 0%,#ffffff 75%,#fbfaf7 100%)!important;
}
body.ukx-dashboard-view .ukx-case-create-page .ukx-case-panel-hearing {
  background:linear-gradient(112deg,#ffffff 0%,#ffffff 68%,#f9fbfb 100%)!important;
}
body.ukx-dashboard-view .ukx-case-create-page .ukx-case-physical-panel {
  background:linear-gradient(120deg,#fff 0%,#fffaf1 100%)!important;
}
body.ukx-dashboard-view .ukx-case-create-page .form-row label {
  color:#243d4c!important;font-weight:700!important;margin-bottom:8px!important;
}
body.ukx-dashboard-view .ukx-case-create-page .form-row>input,
body.ukx-dashboard-view .ukx-case-create-page .form-row>select,
body.ukx-dashboard-view .ukx-case-create-page .form-row>textarea,
body.ukx-dashboard-view .ukx-case-create-page #courtOtherRow input {
  background:#fbfcfd!important;border:1px solid #d8e1e6!important;
  min-height:54px!important;border-radius:10px!important;
}
body.ukx-dashboard-view .ukx-case-create-page .form-row>input:focus,
body.ukx-dashboard-view .ukx-case-create-page .form-row>select:focus,
body.ukx-dashboard-view .ukx-case-create-page .form-row>textarea:focus {
  background:#fff!important;border-color:#b89143!important;
  box-shadow:0 0 0 4px rgba(190,153,69,.14)!important;
}
body.ukx-dashboard-view .ukx-case-create-page .form-actions {
  background:#fff!important;border-left:5px solid #c9a052!important;
  border-radius:15px!important;padding:20px 26px!important;
}
body.ukx-dashboard-view .ukx-case-create-page .form-actions .btn-brass {
  background:linear-gradient(120deg,#a87d2d,#c19a4f)!important;
  box-shadow:0 6px 18px rgba(145,105,30,.2)!important;
}
@media(max-width:700px){
 body.ukx-dashboard-view .ukx-case-create-page .ukx-case-entry-heading{padding:25px 20px;border-radius:15px!important}
 body.ukx-dashboard-view .ukx-case-create-page .ukx-case-form-panel,
 body.ukx-dashboard-view .ukx-case-create-page .ukx-case-physical-panel{padding:22px 16px 8px!important;margin-bottom:14px!important;border-left-width:4px!important}
 body.ukx-dashboard-view .ukx-case-create-page .form-actions{padding:15px!important}
}
