/* ============================================================
   ENTRIES IGNITE — SERVICE PAGES SHARED DESIGN SYSTEM
   Primary: #2e36fd | Secondary: #f18911 | Dark: #202e54
   Header font: Poppins | Body font: Inter
   ============================================================ */


/* PAYROLL DASHBOARD MOCKUP */
.pay-dash {
   background: #fff;
   border: 1px solid var(--border);
   border-radius: var(--r20);
   box-shadow: var(--shadow-lg);
   overflow: hidden;
}

.pd-head {
   background: var(--D);
   padding: 13px 18px;
   display: flex;
   align-items: center;
   justify-content: space-between;
}

.pd-dots {
   display: flex;
   gap: 5px;
}

.pd-dot {
   width: 9px;
   height: 9px;
   border-radius: 50%;
}

.pd-lbl {
   font-size: 11px;
   color: rgba(255, 255, 255, .4);
}

.pd-body {
   padding: 18px;
}

/* Payroll summary strip */
.pay-summary {
   display: grid;
   grid-template-columns: repeat(3, 1fr);
   gap: 10px;
   margin-bottom: 16px;
}

.pay-stat {
   background: var(--g50);
   border: 1px solid var(--border);
   border-radius: var(--r12);
   padding: 8px 12px;
}

.ps-label {
   font-size: 9px;
   color: var(--ink30);
   text-transform: uppercase;
   letter-spacing: .6px;
   margin-bottom: 4px;
}

.ps-val {
   font-family: 'Poppins', sans-serif;
   font-size: 16px;
   font-weight: 700;
   color: var(--ink);
   line-height: 1;
}

.ps-sub {
   font-size: 9.5px;
   color: var(--ink30);
   margin-top: 3px;
}

/* Employee rows */
.emp-row {
   display: flex;
   align-items: center;
   gap: 10px;
   padding: 10px 0;
   border-bottom: 1px solid var(--border);
}

.emp-row:last-child {
   border-bottom: none;
}

.emp-avatar {
   width: 28px;
   height: 28px;
   border-radius: 50%;
   display: flex;
   align-items: center;
   justify-content: center;
   font-size: 10px;
   font-weight: 600;
   color: #fff;
   flex-shrink: 0;
}

.emp-name {
   font-size: 12.5px;
   font-weight: 600;
   color: var(--ink);
   display: block;
   line-height: 1;
}

.emp-role {
   font-size: 10.5px;
   color: var(--ink30);
   display: block;
   margin-top: 4px;
}

.emp-salary {
   font-family: 'Poppins', sans-serif;
   font-size: 12.5px;
   font-weight: 600;
   color: var(--ink);
   white-space: nowrap;
}

.emp-status {
   font-size: 10px;
   font-weight: 600;
   padding: 2px 9px;
   border-radius: var(--r99);
   white-space: nowrap;
}

.es-g {
   background: rgba(22, 163, 74, .1);
   color: #16a34a;
}

.es-p {
   background: rgba(241, 137, 17, .1);
   color: #b45309;
}

.es-b {
   background: rgba(46, 54, 253, .1);
   color: var(--P);
}

/* Statutory compliance strip */
.stat-strip {
   display: grid;
   grid-template-columns: repeat(3, 1fr);
   gap: 8px;
   margin-top: 14px;
}

.stat-item {
   background: var(--g50);
   border: 1px solid var(--border);
   border-radius: var(--r12);
   padding: 10px 12px;
   text-align: center;
}

.si-label {
   font-size: 9.5px;
   color: var(--ink30);
   text-transform: uppercase;
   letter-spacing: .5px;
   margin-bottom: 2px;
}

.si-val {
   font-family: 'Poppins', sans-serif;
   font-size: 14px;
   font-weight: 600;
   color: var(--ink);
}

.si-pill {
   display: inline-block;
   font-size: 9px;
   font-weight: 600;
   padding: 2px 8px;
   border-radius: var(--r99);
   margin-top: 4px;
}

.sp-g {
   background: rgba(22, 163, 74, .1);
   color: #16a34a;
}

.sp-a {
   background: rgba(241, 137, 17, .1);
   color: #b45309;
}

.ai-n {
   background: linear-gradient(135deg, rgba(46, 54, 253, .06), rgba(91, 99, 255, .03));
   border: 1px solid rgba(46, 54, 253, .12);
   border-radius: var(--r12);
   padding: 11px 14px;
   margin-top: 12px;
   display: flex;
   align-items: flex-start;
   gap: 10px;
}

.ai-n i {
   color: var(--P);
   font-size: 17px;
   flex-shrink: 0;
   margin-top: 2px;
}

.ai-n strong {
   font-size: 12px;
   color: var(--ink);
   display: block;
   margin-bottom: 2px;
}

.ai-n span {
   font-size: 11px;
   color: var(--ink60);
}

/* ESS APP SPOTLIGHT */
.ess-sec {
   background: linear-gradient(135deg, var(--dark2) 0%, #1a2450 100%);
   position: relative;
   overflow: hidden;
}

.ess-sec::before {
   content: '';
   position: absolute;
   inset: 0;
   background: radial-gradient(circle at 80% 50%, rgba(139, 92, 246, .25) 0%, transparent 55%), radial-gradient(circle at 10% 80%, rgba(241, 137, 17, .15) 0%, transparent 50%);
}

.ess-sec::after {
   content: '';
   position: absolute;
   inset: 0;
   background-image: linear-gradient(rgba(255, 255, 255, .03) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .03) 1px, transparent 1px);
   background-size: 36px 36px;
}

.ess-inner {
   position: relative;
   z-index: 1;
}

.ess-pill {
   display: inline-flex;
   align-items: center;
   gap: 7px;
   background: rgba(255, 255, 255, .1);
   border: 1px solid rgba(255, 255, 255, .15);
   border-radius: var(--r99);
   padding: 6px 16px;
   font-size: 12px;
   font-weight: 600;
   color: rgba(255, 255, 255, .85);
   margin-bottom: 20px;
}

.ess-h {
   font-family: 'Poppins', sans-serif;
   font-size: clamp(26px, 3.5vw, 42px);
   font-weight: 600;
   color: #fff;
   line-height: 1.1;
   letter-spacing: -.5px;
   margin-bottom: 16px;
}

.ess-h span {
   color: var(--S);
}

.ess-sub {
   font-size: 16px;
   color: rgba(255, 255, 255, .6);
   line-height: 1.75;
   max-width: 480px;
   margin-bottom: 32px;
}

.ess-features {
   display: flex;
   flex-direction: column;
   gap: 10px;
}

.ess-feat {
   display: flex;
   align-items: flex-start;
   gap: 12px;
   background: rgba(255, 255, 255, .06);
   border: 1px solid rgba(255, 255, 255, .1);
   border-radius: var(--r12);
   padding: 14px 16px;
}

.ess-feat-ico {
   width: 36px;
   height: 36px;
   border-radius: var(--r8);
   display: flex;
   align-items: center;
   justify-content: center;
   font-size: 18px;
   flex-shrink: 0;
   background: rgba(255, 255, 255, .08);
}

.ess-feat-title {
   font-size: 13.5px;
   font-weight: 600;
   color: #fff;
   display: block;
   margin-bottom: 3px;
}

.ess-feat-desc {
   font-size: 12px;
   color: rgba(255, 255, 255, .55);
   line-height: 1.5;
}

/* ESS Phone mockup */
.ess-phone {
   background: var(--ink);
   border-radius: 22px;
   padding: 8px;
   box-shadow: 0 0 0 1px rgba(255, 255, 255, .12), 0 24px 60px rgba(0, 0, 0, .4);
   max-width: 220px;
   margin: 0 auto;
   position: relative;
}

.ess-phone-island {
   width: 76px;
   height: 24px;
   background: var(--ink);
   border-radius: 18px;
   margin: 0 auto 6px;
   display: flex;
   align-items: center;
   justify-content: center;
   gap: 5px;
}

.ep-cam {
   width: 8px;
   height: 8px;
   border-radius: 50%;
   background: #1a1a2e;
   border: 1px solid rgba(255, 255, 255, .1);
}

.ep-speaker {
   width: 32px;
   height: 4px;
   background: #111;
   border-radius: 2px;
}

.ess-screen {
   background: var(--g50);
   border-radius: 16px;
   overflow: hidden;
}

.ess-status {
   background: var(--primary-dark);
   padding: 8px 14px 6px;
   display: flex;
   align-items: center;
   justify-content: space-between;
}

.ess-status-time {
   font-size: 10px;
   font-weight: 600;
   color: #fff;
}

.ess-status-icons {
   display: flex;
   gap: 3px;
   align-items: center;
}

.ess-status-icons i {
   font-size: 9px;
   color: #fff;
}

.ess-app-header {
   background: var(--primary-dark);
   padding: 6px 14px 14px;
}

.ess-app-title {
   font-family: 'Poppins', sans-serif;
   font-size: 12px;
   font-weight: 600;
   color: #fff;
   margin-bottom: 1px;
}

.ess-app-sub {
   font-size: 9px;
   color: rgba(255, 255, 255, .6);
}

.ess-content {
   padding: 10px;
}

.ess-payslip {
   background: #fff;
   border: 1px solid var(--border);
   border-radius: 10px;
   padding: 10px 12px;
   margin-bottom: 8px;
}

.esp-month {
   font-size: 9px;
   color: var(--ink30);
   text-transform: uppercase;
   letter-spacing: .5px;
   margin-bottom: 4px;
}

.esp-net {
   font-family: 'Poppins', sans-serif;
   font-size: 18px;
   font-weight: 700;
   color: var(--ink);
   line-height: 1;
}

.esp-label {
   font-size: 9px;
   color: var(--ink30);
}

.esp-row {
   display: flex;
   justify-content: space-between;
   font-size: 10px;
   padding: 3px 0;
   border-bottom: 1px solid var(--border);
}

.esp-row:last-child {
   border-bottom: none;
}

.ess-leave {
   background: #fff;
   border: 1px solid var(--border);
   border-radius: 10px;
   padding: 10px 12px;
   margin-bottom: 8px;
}

.el-title {
   font-size: 10px;
   font-weight: 600;
   color: var(--ink);
   margin-bottom: 6px;
}

.el-row {
   display: flex;
   justify-content: space-between;
   align-items: center;
   margin-bottom: 4px;
}

.el-label {
   font-size: 9.5px;
   color: var(--ink60);
}

.el-val {
   font-size: 9.5px;
   font-weight: 600;
   color: var(--P);
}

.ess-bnav {
   background: #fff;
   border-top: 1px solid var(--border);
   display: flex;
   padding: 6px 0 8px;
}

.ebn-item {
   flex: 1;
   display: flex;
   flex-direction: column;
   align-items: center;
   gap: 1px;
   font-size: 7.5px;
   color: var(--ink30);
}

.ebn-item.act {
   color: var(--primary);
}

.ebn-item i {
   font-size: 14px;
}

/* STATUTORY TABLE */
.stat-sec {
   background: #fff;
}

.stat-table {
   background: #fff;
   border: 1px solid var(--border);
   border-radius: var(--r16);
   overflow: hidden;
}

.st-head {
   display: grid;
   grid-template-columns: 2fr 1fr 1fr 1fr;
   padding: 12px 20px;
   background: var(--g50);
   border-bottom: 1px solid var(--border);
   font-size: 11px;
   font-weight: 600;
   color: var(--ink30);
   text-transform: uppercase;
   letter-spacing: .7px;
}

.st-row {
   display: grid;
   grid-template-columns: 2fr 1fr 1fr 1fr;
   padding: 16px 20px;
   border-bottom: 1px solid var(--border);
   align-items: center;
}

.st-row:last-child {
   border-bottom: none;
}

.str-name {
   font-size: 13.5px;
   font-weight: 600;
   color: var(--ink);
}

.str-sub {
   font-size: 11px;
   color: var(--ink30);
}

.str-cell {
   font-size: 13px;
   color: var(--ink60);
}

.str-pill {
   display: inline-block;
   font-size: 10.5px;
   font-weight: 600;
   padding: 3px 11px;
   border-radius: var(--r99);
}

.sp-g {
   background: rgba(22, 163, 74, .1);
   color: #16a34a;
}

.sp-a {
   background: rgba(241, 137, 17, .1);
   color: #b45309;
}

.sp-b {
   background: rgba(46, 54, 253, .1);
   color: var(--P);
}

@media(max-width:767px) {

   .st-head,
   .st-row {
      grid-template-columns: 2fr 1fr;
   }

   .st-head span:nth-child(n+3),
   .st-row div:nth-child(n+3) {
      display: none;
   }
}

/* Payroll calendar */
.pay-cal {
   background: #fff;
   border: 1px solid var(--border);
   border-radius: var(--r16);
   padding: 22px;
}

.pc-title {
   font-family: 'Poppins', sans-serif;
   font-size: 13.5px;
   font-weight: 600;
   color: var(--ink);
   margin-bottom: 16px;
   display: flex;
   align-items: center;
   justify-content: space-between;
}

.pc-badge {
   font-size: 10px;
   font-weight: 600;
   padding: 2px 9px;
   border-radius: var(--r99);
   background: rgba(241, 137, 17, .1);
   color: var(--S);
}

.pc-item {
   display: flex;
   align-items: flex-start;
   gap: 12px;
   padding: 11px 0;
   border-bottom: 1px solid var(--border);
}

.pc-item:last-child {
   border-bottom: none;
}

.pc-date {
   width: 44px;
   text-align: center;
   flex-shrink: 0;
}

.pc-day {
   font-family: 'Poppins', sans-serif;
   font-size: 18px;
   font-weight: 600;
   color: var(--ink);
   line-height: 1;
}

.pc-month {
   font-size: 9px;
   color: var(--ink30);
   text-transform: uppercase;
   letter-spacing: .5px;
}

.pc-divider {
   width: 1px;
   background: var(--border);
   align-self: stretch;
}

.pc-info {
   flex: 1;
}

.pc-name {
   font-size: 13px;
   font-weight: 600;
   color: var(--ink);
}

.pc-sub {
   font-size: 11px;
   color: var(--ink30);
   margin-top: 1px;
}

.pc-pill {
   font-size: 10px;
   font-weight: 600;
   padding: 2px 9px;
   border-radius: var(--r99);
}

.pcp-r {
   background: rgba(220, 38, 38, .1);
   color: #dc2626;
}

.pcp-a {
   background: rgba(241, 137, 17, .1);
   color: #b45309;
}

.pcp-g {
   background: rgba(22, 163, 74, .1);
   color: #16a34a;
}