(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[566],{278:function(e,s,a){(window.__NEXT_P=window.__NEXT_P||[]).push(["/attorney-panel/cases",function(){return a(2537)}])},7336:function(e,s,a){"use strict";a.d(s,{Z:function(){return d}});var l=a(5893),t=a(6089),o=a.n(t),n=a(7294),r=a(1664),c=a.n(r),i=a(1163);function d(e){var s=e.children,a=(0,i.useRouter)(),t=(0,n.useState)(!1),r=t[0];t[1];return(0,l.jsxs)("div",{style:{backgroundColor:"#f4f7fa",minHeight:"100vh",display:"flex",flexDirection:"column"},className:"jsx-3ee271f478679b1d",children:[(0,l.jsx)("div",{className:"jsx-3ee271f478679b1d container py-5 flex-grow-1",children:(0,l.jsxs)("div",{className:"jsx-3ee271f478679b1d row g-4 pt-5",children:[(0,l.jsx)("aside",{className:"jsx-3ee271f478679b1d "+"col-lg-3 ".concat(r?"d-block":"d-none d-lg-block"),children:(0,l.jsxs)("div",{className:"jsx-3ee271f478679b1d card border-0 shadow-sm rounded-4 overflow-hidden",children:[(0,l.jsxs)("div",{className:"jsx-3ee271f478679b1d p-4 text-center border-bottom bg-white",children:[(0,l.jsx)("div",{style:{width:"120px",height:"120px"},className:"jsx-3ee271f478679b1d mx-auto mb-3",children:(0,l.jsx)("img",{src:"/assets/images/attorney1.png",style:{objectFit:"cover",border:"4px solid #f8f9fa"},alt:"avatar",className:"jsx-3ee271f478679b1d rounded-circle shadow-sm w-100 h-100"})}),(0,l.jsx)("h5",{style:{color:"#002147"},className:"jsx-3ee271f478679b1d fw-bold mb-1",children:"Tasnia Sharin"}),(0,l.jsx)("p",{className:"jsx-3ee271f478679b1d text-muted mb-0 fs-6",children:"attorney@gmail.com"})]}),(0,l.jsx)("div",{className:"jsx-3ee271f478679b1d p-3 bg-white",children:(0,l.jsxs)("nav",{className:"jsx-3ee271f478679b1d nav flex-column sidebar-nav",children:[[{name:"Dashboard",icon:"bi-grid-fill",path:"/attorney-panel"},{name:"Appointments",icon:"bi-calendar-check",path:"/attorney-panel/appointments"},{name:"Client Management",icon:"bi-people-fill",path:"/attorney-panel/clients"},{name:"Case Details",icon:"bi-clock-history",path:"/attorney-panel/cases"},{name:"Messages",icon:"bi-chat-dots-fill",path:"/attorney-panel/messages"},{name:"Ticket Management",icon:"bi-ticket-perforated-fill",path:"/attorney-panel/tickets"},{name:"Edit Profile",icon:"bi-person-bounding-box",path:"/attorney-panel/profile"}].map((function(e,s){return(0,l.jsx)(c(),{href:e.path,children:(0,l.jsxs)("a",{className:"jsx-3ee271f478679b1d "+"nav-link ".concat(a.pathname===e.path?"active":""),children:[(0,l.jsx)("i",{className:"jsx-3ee271f478679b1d "+"bi ".concat(e.icon," me-3")})," ",e.name]})},s)})),(0,l.jsx)("div",{className:"jsx-3ee271f478679b1d mt-4 pt-4 border-top",children:(0,l.jsx)(c(),{href:"/logout",children:(0,l.jsxs)("a",{className:"jsx-3ee271f478679b1d nav-link text-danger fw-bold",children:[(0,l.jsx)("i",{className:"jsx-3ee271f478679b1d bi bi-box-arrow-right me-3"})," Logout"]})})})]})})]})}),(0,l.jsx)("main",{className:"jsx-3ee271f478679b1d col-lg-9",children:s})]})}),(0,l.jsx)(o(),{id:"3ee271f478679b1d",children:".sidebar-nav.jsx-3ee271f478679b1d .nav-link.jsx-3ee271f478679b1d{color:#444!important;font-size:17px;padding:12px 20px;-webkit-border-radius:10px;-moz-border-radius:10px;border-radius:10px;-webkit-transition:.3s;-moz-transition:.3s;-o-transition:.3s;transition:.3s;margin-bottom:5px;font-weight:500;text-decoration:none;display:block}.sidebar-nav.jsx-3ee271f478679b1d .nav-link.jsx-3ee271f478679b1d:hover{background:#f8f9fa;color:#de9f57!important}.sidebar-nav.jsx-3ee271f478679b1d .nav-link.active.jsx-3ee271f478679b1d{background:#fcf6ef;color:#de9f57!important;font-weight:bold}"})]})}},2537:function(e,s,a){"use strict";a.r(s),a.d(s,{default:function(){return d}});var l=a(5893),t=a(6089),o=a.n(t),n=a(7294),r=a(9008),c=a.n(r),i=a(7336);function d(){var e=(0,n.useState)("open"),s=e[0],a=e[1];return(0,l.jsxs)(i.Z,{children:[(0,l.jsx)(c(),{children:(0,l.jsx)("title",{className:"jsx-3454f4f00869173e",children:"Lawstick | Case Details"})}),(0,l.jsx)("div",{className:"jsx-3454f4f00869173e w-100",children:(0,l.jsxs)("div",{className:"jsx-3454f4f00869173e card border-0 shadow-sm rounded-4 p-4 p-md-5 bg-white",children:[(0,l.jsx)("h3",{style:{fontFamily:"serif",color:"#002147",fontSize:"28px"},className:"jsx-3454f4f00869173e fw-bold mb-5",children:"Case Details"}),(0,l.jsxs)("div",{className:"jsx-3454f4f00869173e d-flex gap-3 mb-4",children:[(0,l.jsx)("button",{onClick:function(){return a("open")},style:{backgroundColor:"open"===s?"#002147":"transparent",color:"open"===s?"white":"#6c757d",border:"open"===s?"1px solid #002147":"1px solid #ced4da",fontSize:"15px"},className:"jsx-3454f4f00869173e btn rounded-pill px-4 fw-bold",children:"Open Cases"}),(0,l.jsx)("button",{onClick:function(){return a("closed")},style:{backgroundColor:"closed"===s?"#002147":"transparent",color:"closed"===s?"white":"#6c757d",border:"closed"===s?"1px solid #002147":"1px solid #ced4da",fontSize:"15px"},className:"jsx-3454f4f00869173e btn rounded-pill px-4 fw-bold",children:"Closed Cases"})]}),(0,l.jsxs)("div",{style:{backgroundColor:"#f8f9fa"},className:"jsx-3454f4f00869173e row g-3 mb-5 p-4 rounded-4",children:[(0,l.jsxs)("div",{className:"jsx-3454f4f00869173e col-lg-3 col-md-6",children:[(0,l.jsx)("label",{style:{fontSize:"15px"},className:"jsx-3454f4f00869173e form-label fw-bold",children:"Case Number"}),(0,l.jsx)("input",{type:"text",placeholder:"Search #",style:{fontSize:"15px"},className:"jsx-3454f4f00869173e form-control"})]}),(0,l.jsxs)("div",{className:"jsx-3454f4f00869173e col-lg-3 col-md-6",children:[(0,l.jsx)("label",{style:{fontSize:"15px"},className:"jsx-3454f4f00869173e form-label fw-bold",children:"Practice Area"}),(0,l.jsx)("select",{style:{fontSize:"15px"},className:"jsx-3454f4f00869173e form-select",children:(0,l.jsx)("option",{className:"jsx-3454f4f00869173e",children:"All Areas"})})]}),(0,l.jsxs)("div",{className:"jsx-3454f4f00869173e col-lg-3 col-md-6",children:[(0,l.jsx)("label",{style:{fontSize:"15px"},className:"jsx-3454f4f00869173e form-label fw-bold",children:"Attorney Name"}),(0,l.jsx)("input",{type:"text",style:{fontSize:"15px"},className:"jsx-3454f4f00869173e form-control"})]}),(0,l.jsxs)("div",{className:"jsx-3454f4f00869173e col-lg-3 col-md-6",children:[(0,l.jsx)("label",{style:{fontSize:"15px"},className:"jsx-3454f4f00869173e form-label fw-bold",children:"Case Stage"}),(0,l.jsx)("select",{style:{fontSize:"15px"},className:"jsx-3454f4f00869173e form-select",children:(0,l.jsx)("option",{className:"jsx-3454f4f00869173e",children:"All Stages"})})]})]}),(0,l.jsx)("div",{style:{width:"100%"},className:"jsx-3454f4f00869173e table-responsive mb-5",children:(0,l.jsxs)("table",{className:"jsx-3454f4f00869173e table table-hover align-middle border",children:[(0,l.jsx)("thead",{style:{backgroundColor:"#fcf6ef"},className:"jsx-3454f4f00869173e",children:(0,l.jsxs)("tr",{style:{color:"#002147",fontSize:"14px"},className:"jsx-3454f4f00869173e",children:[(0,l.jsx)("th",{className:"jsx-3454f4f00869173e py-3",children:"Case Type"}),(0,l.jsx)("th",{className:"jsx-3454f4f00869173e",children:"Case Number"}),(0,l.jsx)("th",{className:"jsx-3454f4f00869173e",children:"First Party"}),(0,l.jsx)("th",{className:"jsx-3454f4f00869173e",children:"Opposite Party"}),(0,l.jsx)("th",{className:"jsx-3454f4f00869173e",children:"State"}),(0,l.jsx)("th",{className:"jsx-3454f4f00869173e",children:"City"}),(0,l.jsx)("th",{className:"jsx-3454f4f00869173e",children:"Court Number"}),(0,l.jsx)("th",{className:"jsx-3454f4f00869173e",children:"Stage"}),(0,l.jsx)("th",{className:"jsx-3454f4f00869173e",children:"Next Date"}),(0,l.jsx)("th",{className:"jsx-3454f4f00869173e",children:"Notes"}),(0,l.jsx)("th",{className:"jsx-3454f4f00869173e",children:"Docs"})]})}),(0,l.jsx)("tbody",{style:{fontSize:"14px",color:"#444"},className:"jsx-3454f4f00869173e",children:[{type:"Criminal",no:"CR-2024-001",p1:"John Doe",p2:"State Authority",state:"New York",city:"NYC",court:"Court 12",stage:"Hearing",date:"2024-06-15",notes:"Urgent",docs:"\ud83d\udcc1"},{type:"Civil",no:"CV-2024-089",p1:"Jane Smith",p2:"Robert Wilson",state:"California",city:"LA",court:"Court 05",stage:"Mediation",date:"2024-07-10",notes:"Pending",docs:"\ud83d\udcc1"},{type:"Family",no:"FM-2024-102",p1:"Alice Brown",p2:"Mark Brown",state:"Texas",city:"Houston",court:"Court 03",stage:"Evidence",date:"2024-06-25",notes:"Ongoing",docs:"\ud83d\udcc1"}].map((function(e,s){return(0,l.jsxs)("tr",{className:"jsx-3454f4f00869173e",children:[(0,l.jsx)("td",{className:"jsx-3454f4f00869173e py-3",children:e.type}),(0,l.jsx)("td",{className:"jsx-3454f4f00869173e",children:(0,l.jsx)("span",{className:"jsx-3454f4f00869173e badge bg-light text-dark border",children:e.no})}),(0,l.jsx)("td",{className:"jsx-3454f4f00869173e",children:e.p1}),(0,l.jsx)("td",{className:"jsx-3454f4f00869173e",children:e.p2}),(0,l.jsx)("td",{className:"jsx-3454f4f00869173e",children:e.state}),(0,l.jsx)("td",{className:"jsx-3454f4f00869173e",children:e.city}),(0,l.jsx)("td",{className:"jsx-3454f4f00869173e",children:e.court}),(0,l.jsx)("td",{className:"jsx-3454f4f00869173e",children:(0,l.jsx)("span",{className:"jsx-3454f4f00869173e text-primary",children:e.stage})}),(0,l.jsx)("td",{className:"jsx-3454f4f00869173e",children:e.date}),(0,l.jsx)("td",{className:"jsx-3454f4f00869173e",children:(0,l.jsx)("small",{className:"jsx-3454f4f00869173e",children:e.notes})}),(0,l.jsx)("td",{style:{cursor:"pointer"},className:"jsx-3454f4f00869173e text-center",children:e.docs})]},s)}))})]})}),(0,l.jsxs)("div",{style:{borderStyle:"dashed",borderColor:"#ced4da"},className:"jsx-3454f4f00869173e mb-5 p-4 border rounded-4",children:[(0,l.jsx)("h5",{style:{color:"#002147",fontSize:"18px"},className:"jsx-3454f4f00869173e fw-bold mb-3",children:"Case Transfer Details"}),(0,l.jsx)("p",{style:{fontSize:"14px"},className:"jsx-3454f4f00869173e text-muted mb-3",children:"If case transferred from previous lawyer/court name, Please enter the details"}),(0,l.jsxs)("div",{className:"jsx-3454f4f00869173e row g-3",children:[(0,l.jsx)("div",{className:"jsx-3454f4f00869173e col-md-6",children:(0,l.jsx)("input",{type:"text",placeholder:"Previous Lawyer Name",style:{fontSize:"15px"},className:"jsx-3454f4f00869173e form-control"})}),(0,l.jsx)("div",{className:"jsx-3454f4f00869173e col-md-6",children:(0,l.jsx)("input",{type:"text",placeholder:"Previous Court Name",style:{fontSize:"15px"},className:"jsx-3454f4f00869173e form-control"})})]})]}),(0,l.jsxs)("div",{className:"jsx-3454f4f00869173e",children:[(0,l.jsx)("h5",{style:{color:"#002147",fontSize:"18px"},className:"jsx-3454f4f00869173e fw-bold mb-4",children:"Case Documents - Upload"}),(0,l.jsx)("div",{className:"jsx-3454f4f00869173e row g-4 text-center",children:["Attorney","Client","Office Staff"].map((function(e,s){return(0,l.jsx)("div",{className:"jsx-3454f4f00869173e col-md-4",children:(0,l.jsxs)("div",{style:{transition:"0.3s"},className:"jsx-3454f4f00869173e p-4 border rounded-4 bg-white hover-shadow",children:[(0,l.jsx)("i",{style:{color:"#de9f57"},className:"jsx-3454f4f00869173e bi bi-cloud-arrow-up fs-2"}),(0,l.jsxs)("p",{style:{fontSize:"15px",color:"#002147"},className:"jsx-3454f4f00869173e fw-bold mt-2",children:[e," Upload"]}),(0,l.jsx)("input",{type:"file",className:"jsx-3454f4f00869173e form-control form-control-sm"})]})},s)}))})]})]})}),(0,l.jsx)(o(),{id:"3454f4f00869173e",children:".hover-shadow.jsx-3454f4f00869173e:hover{-webkit-box-shadow:0 10px 20px rgba(0,0,0,.05);-moz-box-shadow:0 10px 20px rgba(0,0,0,.05);box-shadow:0 10px 20px rgba(0,0,0,.05)}.form-control.jsx-3454f4f00869173e:focus,.form-select.jsx-3454f4f00869173e:focus{border-color:#de9f57;-webkit-box-shadow:none;-moz-box-shadow:none;box-shadow:none}.table.jsx-3454f4f00869173e th.jsx-3454f4f00869173e{white-space:nowrap}.table.jsx-3454f4f00869173e td.jsx-3454f4f00869173e{white-space:nowrap}"})]})}}},function(e){e.O(0,[774,888,179],(function(){return s=278,e(e.s=s);var s}));var s=e.O();_N_E=s}]);