(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[973],{9637:function(e,s,a){(window.__NEXT_P=window.__NEXT_P||[]).push(["/attorney-panel/subscription",function(){return a(9410)}])},7336:function(e,s,a){"use strict";a.d(s,{Z:function(){return o}});var d=a(5893),t=a(6089),n=a.n(t),i=a(7294),r=a(1664),c=a.n(r),l=a(1163);function o(e){var s=e.children,a=(0,l.useRouter)(),t=(0,i.useState)(!1),r=t[0];t[1];return(0,d.jsxs)("div",{style:{backgroundColor:"#f4f7fa",minHeight:"100vh",display:"flex",flexDirection:"column"},className:"jsx-3ee271f478679b1d",children:[(0,d.jsx)("div",{className:"jsx-3ee271f478679b1d container py-5 flex-grow-1",children:(0,d.jsxs)("div",{className:"jsx-3ee271f478679b1d row g-4 pt-5",children:[(0,d.jsx)("aside",{className:"jsx-3ee271f478679b1d "+"col-lg-3 ".concat(r?"d-block":"d-none d-lg-block"),children:(0,d.jsxs)("div",{className:"jsx-3ee271f478679b1d card border-0 shadow-sm rounded-4 overflow-hidden",children:[(0,d.jsxs)("div",{className:"jsx-3ee271f478679b1d p-4 text-center border-bottom bg-white",children:[(0,d.jsx)("div",{style:{width:"120px",height:"120px"},className:"jsx-3ee271f478679b1d mx-auto mb-3",children:(0,d.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,d.jsx)("h5",{style:{color:"#002147"},className:"jsx-3ee271f478679b1d fw-bold mb-1",children:"Tasnia Sharin"}),(0,d.jsx)("p",{className:"jsx-3ee271f478679b1d text-muted mb-0 fs-6",children:"attorney@gmail.com"})]}),(0,d.jsx)("div",{className:"jsx-3ee271f478679b1d p-3 bg-white",children:(0,d.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,d.jsx)(c(),{href:e.path,children:(0,d.jsxs)("a",{className:"jsx-3ee271f478679b1d "+"nav-link ".concat(a.pathname===e.path?"active":""),children:[(0,d.jsx)("i",{className:"jsx-3ee271f478679b1d "+"bi ".concat(e.icon," me-3")})," ",e.name]})},s)})),(0,d.jsx)("div",{className:"jsx-3ee271f478679b1d mt-4 pt-4 border-top",children:(0,d.jsx)(c(),{href:"/logout",children:(0,d.jsxs)("a",{className:"jsx-3ee271f478679b1d nav-link text-danger fw-bold",children:[(0,d.jsx)("i",{className:"jsx-3ee271f478679b1d bi bi-box-arrow-right me-3"})," Logout"]})})})]})})]})}),(0,d.jsx)("main",{className:"jsx-3ee271f478679b1d col-lg-9",children:s})]})}),(0,d.jsx)(n(),{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}"})]})}},9410:function(e,s,a){"use strict";a.r(s),a.d(s,{default:function(){return c}});var d=a(5893),t=a(6089),n=a.n(t),i=a(7294),r=a(7336);function c(){var e=(0,i.useState)(!1),s=e[0],a=e[1];return(0,d.jsxs)(r.Z,{children:[(0,d.jsxs)("div",{className:"jsx-a3541db17d133d5f mb-5",children:[(0,d.jsx)("h1",{className:"jsx-a3541db17d133d5f fw-bold text-navy display-5",children:"Good Morning, Tasnia"}),(0,d.jsx)("p",{className:"jsx-a3541db17d133d5f text-muted fs-5",children:"Here's your performance overview."})]}),(0,d.jsxs)("div",{className:"jsx-a3541db17d133d5f row g-4 mb-5",children:[(0,d.jsx)("div",{onClick:function(){return a(!s)},style:{cursor:"pointer"},className:"jsx-a3541db17d133d5f col-md-4",children:(0,d.jsxs)("div",{className:"jsx-a3541db17d133d5f card h-100 border-0 shadow-sm rounded-4 p-4 text-center bg-success-light hover-up",children:[(0,d.jsx)("div",{className:"jsx-a3541db17d133d5f stat-icon-circle bg-success mb-3 mx-auto",children:(0,d.jsx)("i",{className:"jsx-a3541db17d133d5f bi bi-hammer fs-3 text-white"})}),(0,d.jsx)("p",{className:"jsx-a3541db17d133d5f mb-1 fw-bold text-muted",children:"Success Cases"}),(0,d.jsx)("h1",{className:"jsx-a3541db17d133d5f fw-bold mb-0 text-navy",children:"2"}),(0,d.jsx)("small",{className:"jsx-a3541db17d133d5f text-success fw-bold",children:"Click to view details"})]})}),(0,d.jsx)("div",{className:"jsx-a3541db17d133d5f col-md-4",children:(0,d.jsxs)("div",{className:"jsx-a3541db17d133d5f card h-100 border-0 shadow-sm rounded-4 p-4 text-center bg-white",children:[(0,d.jsx)("div",{className:"jsx-a3541db17d133d5f stat-icon-circle bg-warning mb-3 mx-auto text-white",children:(0,d.jsx)("i",{className:"jsx-a3541db17d133d5f bi bi-calendar-check fs-3"})}),(0,d.jsx)("p",{className:"jsx-a3541db17d133d5f mb-1 fw-bold text-muted",children:"Appointments"}),(0,d.jsx)("h1",{className:"jsx-a3541db17d133d5f fw-bold mb-0 text-navy",children:"36"})]})}),(0,d.jsx)("div",{className:"jsx-a3541db17d133d5f col-md-4",children:(0,d.jsxs)("div",{className:"jsx-a3541db17d133d5f card h-100 border-0 shadow-sm rounded-4 p-4 text-center bg-white",children:[(0,d.jsx)("div",{className:"jsx-a3541db17d133d5f stat-icon-circle bg-primary mb-3 mx-auto text-white",children:(0,d.jsx)("i",{className:"jsx-a3541db17d133d5f bi bi-briefcase fs-3"})}),(0,d.jsx)("p",{className:"jsx-a3541db17d133d5f mb-1 fw-bold text-muted",children:"Total Cases"}),(0,d.jsx)("h1",{className:"jsx-a3541db17d133d5f fw-bold mb-0 text-navy",children:"9"})]})})]}),s&&(0,d.jsxs)("div",{className:"jsx-a3541db17d133d5f card border-0 shadow rounded-4 p-4 mt-4 animate__animated animate__fadeIn",children:[(0,d.jsxs)("div",{className:"jsx-a3541db17d133d5f d-flex justify-content-between align-items-center mb-3",children:[(0,d.jsx)("h5",{className:"jsx-a3541db17d133d5f fw-bold text-navy mb-0",children:"Success Case Records"}),(0,d.jsx)("button",{onClick:function(){return a(!1)},className:"jsx-a3541db17d133d5f btn-close"})]}),(0,d.jsx)("div",{className:"jsx-a3541db17d133d5f table-responsive",children:(0,d.jsxs)("table",{className:"jsx-a3541db17d133d5f table table-hover align-middle",children:[(0,d.jsx)("thead",{className:"jsx-a3541db17d133d5f bg-light",children:(0,d.jsxs)("tr",{className:"jsx-a3541db17d133d5f",children:[(0,d.jsx)("th",{className:"jsx-a3541db17d133d5f",children:"Case ID"}),(0,d.jsx)("th",{className:"jsx-a3541db17d133d5f",children:"Title"}),(0,d.jsx)("th",{className:"jsx-a3541db17d133d5f",children:"Outcome"}),(0,d.jsx)("th",{className:"jsx-a3541db17d133d5f",children:"Date"})]})}),(0,d.jsx)("tbody",{className:"jsx-a3541db17d133d5f",children:[{id:"1",name:"Land Dispute - Sharma vs Gupta",result:"Won (2024)",date:"12 Dec 2024"},{id:"2",name:"Criminal - State vs Rahul",result:"Acquitted",date:"05 Nov 2024"}].map((function(e){return(0,d.jsxs)("tr",{className:"jsx-a3541db17d133d5f",children:[(0,d.jsxs)("td",{className:"jsx-a3541db17d133d5f",children:["#",e.id]}),(0,d.jsx)("td",{className:"jsx-a3541db17d133d5f fw-bold",children:e.name}),(0,d.jsx)("td",{className:"jsx-a3541db17d133d5f",children:(0,d.jsx)("span",{className:"jsx-a3541db17d133d5f badge bg-success",children:e.result})}),(0,d.jsx)("td",{className:"jsx-a3541db17d133d5f",children:e.date})]},e.id)}))})]})})]}),(0,d.jsx)(n(),{id:"a3541db17d133d5f",children:".text-navy.jsx-a3541db17d133d5f{color:#002147}.bg-success-light.jsx-a3541db17d133d5f{background:#e8f7f0;border:2px solid#28a745!important}.stat-icon-circle.jsx-a3541db17d133d5f{width:60px;height:60px;-webkit-border-radius:50%;-moz-border-radius:50%;border-radius:50%;display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;-moz-box-pack:center;-ms-flex-pack:center;justify-content:center}.hover-up.jsx-a3541db17d133d5f{-webkit-transition:.3s;-moz-transition:.3s;-o-transition:.3s;transition:.3s}.hover-up.jsx-a3541db17d133d5f:hover{-webkit-transform:translateY(-5px);-moz-transform:translateY(-5px);-ms-transform:translateY(-5px);-o-transform:translateY(-5px);transform:translateY(-5px);-webkit-box-shadow:0 10px 20px rgba(0,0,0,.1)!important;-moz-box-shadow:0 10px 20px rgba(0,0,0,.1)!important;box-shadow:0 10px 20px rgba(0,0,0,.1)!important}"})]})}}},function(e){e.O(0,[774,888,179],(function(){return s=9637,e(e.s=s);var s}));var s=e.O();_N_E=s}]);