.services-page{
  min-height:100vh;
  padding:28px;
  background:
    radial-gradient(circle at 15% 10%,rgba(8,102,255,.08),transparent 30%),
    #F5F8FC;
}

.services-header{
  background:#fff;
  border:1px solid var(--border);
  border-radius:22px;
  padding:28px;
  box-shadow:var(--shadow);
  display:flex;
  justify-content:space-between;
  gap:20px;
  align-items:center;
  margin-bottom:18px;
}

.back-link{
  display:inline-block;
  margin-bottom:12px;
  color:var(--blue);
  font-weight:900;
}

.services-header h1{
  margin:0 0 10px;
  font-size:38px;
}

.services-header p{
  margin:0;
  color:var(--muted);
}

.services-status{
  background:#ECFDF5;
  color:#047857;
  border-radius:999px;
  padding:12px 18px;
  font-weight:900;
  white-space:nowrap;
}

.services-status.off{
  background:#FFF7ED;
  color:#C2410C;
}

.services-tools{
  background:#fff;
  border:1px solid var(--border);
  border-radius:22px;
  padding:18px;
  box-shadow:var(--shadow);
  margin-bottom:18px;
}

.services-tools input{
  width:100%;
  height:52px;
  border:1px solid var(--border);
  border-radius:15px;
  padding:0 18px;
  font-size:15px;
  outline:none;
  margin-bottom:14px;
}

.platform-tabs{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
}

.platform-tabs button{
  border:1px solid var(--border);
  background:#fff;
  border-radius:999px;
  padding:11px 16px;
  font-weight:900;
  color:#17345D;
}

.platform-tabs button.active{
  background:linear-gradient(135deg,var(--blue),var(--blue2));
  color:#fff;
  border-color:transparent;
}

.services-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:16px;
}

.service-card{
  background:#fff;
  border:1px solid var(--border);
  border-radius:20px;
  padding:22px;
  box-shadow:var(--shadow);
}

.service-card h3{
  margin:0 0 8px;
}

.service-card p{
  color:var(--muted);
  line-height:1.7;
}

.service-meta{
  display:flex;
  gap:8px;
  flex-wrap:wrap;
  margin:14px 0;
}

.service-meta span{
  background:#F3F7FD;
  color:#17345D;
  border-radius:999px;
  padding:8px 10px;
  font-size:12px;
  font-weight:900;
}

.service-card button{
  width:100%;
  border:0;
  border-radius:14px;
  background:linear-gradient(135deg,var(--blue),var(--blue2));
  color:#fff;
  padding:13px;
  font-weight:900;
}

.maintenance-box{
  max-width:760px;
  margin:45px auto 0;
  background:#fff;
  border:1px solid var(--border);
  border-radius:28px;
  padding:44px;
  text-align:center;
  box-shadow:var(--shadow);
}

.maintenance-icon{
  width:80px;
  height:80px;
  margin:0 auto 18px;
  border-radius:24px;
  background:#EEF4FF;
  color:var(--blue);
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:42px;
}

.maintenance-box h2{
  margin:0 0 14px;
  font-size:32px;
}

.maintenance-box p{
  color:var(--muted);
  line-height:2;
  margin:0 0 24px;
}

.maintenance-actions{
  display:flex;
  justify-content:center;
  gap:12px;
  flex-wrap:wrap;
}

.maintenance-actions a{
  padding:13px 18px;
  border-radius:14px;
  font-weight:900;
  background:linear-gradient(135deg,var(--blue),var(--blue2));
  color:#fff;
}

.maintenance-actions a:last-child{
  background:#F3F7FD;
  color:var(--blue);
}

@media(max-width:900px){
  .services-header{
    flex-direction:column;
    align-items:flex-start;
  }

  .services-grid{
    grid-template-columns:1fr;
  }
}

.orders-list{
  display:flex;
  flex-direction:column;
  gap:14px;
}

.order-card{
  background:#fff;
  border:1px solid var(--border);
  border-radius:20px;
  padding:20px;
  box-shadow:var(--shadow);
  display:grid;
  grid-template-columns:1.6fr .7fr .7fr .7fr 140px;
  gap:14px;
  align-items:center;
}

.order-card h3{
  margin:6px 0;
}

.order-card p{
  margin:0;
  color:var(--muted);
  word-break:break-word;
}

.order-card span{
  display:block;
  color:var(--muted);
  margin-bottom:7px;
  font-size:12px;
}

.order-card strong{
  color:var(--navy);
}

.order-card em{
  font-style:normal;
  display:inline-block;
}

.order-card button{
  border:0;
  border-radius:14px;
  background:linear-gradient(135deg,var(--blue),var(--blue2));
  color:#fff;
  padding:13px;
  font-weight:900;
}

@media(max-width:900px){
  .order-card{
    grid-template-columns:1fr;
  }
}

.wallet-layout{
  display:grid;
  grid-template-columns:1fr 1.2fr;
  gap:18px;
  margin-bottom:18px;
}

.wallet-main-card{
  background:
    radial-gradient(circle at 80% 20%,rgba(124,58,237,.45),transparent 35%),
    linear-gradient(135deg,#061A3D,#0B48D9);
  color:#fff;
  border-radius:24px;
  padding:34px;
  box-shadow:0 24px 55px rgba(8,102,255,.18);
}

.wallet-main-card span{
  display:block;
  margin-bottom:18px;
  color:rgba(255,255,255,.88);
}

.wallet-main-card strong{
  display:block;
  font-size:52px;
  margin-bottom:8px;
}

.wallet-main-card small{
  color:rgba(255,255,255,.78);
}

.wallet-actions{
  display:flex;
  gap:12px;
  margin-top:34px;
}

.wallet-actions button,
.wallet-charge-card button{
  border:0;
  border-radius:14px;
  padding:14px 18px;
  font-weight:900;
}

.wallet-actions button:first-child{
  background:#fff;
  color:var(--blue);
}

.wallet-actions button:last-child{
  background:rgba(255,255,255,.13);
  color:#fff;
}

.wallet-charge-card{
  background:#fff;
  border:1px solid var(--border);
  border-radius:24px;
  padding:28px;
  box-shadow:var(--shadow);
}

.wallet-charge-card h2{
  margin:0 0 10px;
}

.wallet-charge-card p{
  color:var(--muted);
  line-height:1.8;
}

.wallet-charge-card label{
  display:block;
  font-weight:900;
  margin-top:16px;
}

.wallet-charge-card input,
.wallet-charge-card textarea{
  width:100%;
  margin-top:8px;
  border:1px solid var(--border);
  border-radius:14px;
  padding:14px;
  font-family:inherit;
  font-size:15px;
  outline:none;
  background:#F8FAFC;
}

.wallet-charge-card textarea{
  min-height:100px;
  resize:vertical;
}

.wallet-charge-card button{
  width:100%;
  margin-top:18px;
  background:linear-gradient(135deg,var(--blue),var(--blue2));
  color:#fff;
}

.wallet-history-panel{
  margin-top:18px;
}

.wallet-history .empty-line{
  text-align:center;
  color:var(--muted);
  padding:35px;
  border:1px dashed var(--border);
  border-radius:18px;
  background:#F8FAFC;
}

@media(max-width:900px){
  .wallet-layout{
    grid-template-columns:1fr;
  }
}

.amount-examples{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  margin-top:14px;
}

.amount-examples button{
  border:1px solid var(--border);
  background:#F8FAFC;
  color:#17345D;
  border-radius:999px;
  padding:10px 14px;
  font-weight:900;
}

.amount-examples button:hover{
  background:#EEF4FF;
  color:var(--blue);
}

.wallet-charge-card textarea,
.wallet-charge-card label:has(textarea){
  display:none !important;
}

.notifications-list{
  display:flex;
  flex-direction:column;
  gap:14px;
}

.notification-card{
  background:#fff;
  border:1px solid var(--border);
  border-radius:20px;
  padding:20px;
  box-shadow:var(--shadow);
  display:grid;
  grid-template-columns:64px 1fr 140px;
  gap:16px;
  align-items:center;
}

.notification-card.unread{
  border-color:rgba(8,102,255,.35);
  background:linear-gradient(180deg,#fff,#F8FBFF);
}

.notification-icon{
  width:58px;
  height:58px;
  border-radius:18px;
  background:#EEF4FF;
  color:var(--blue);
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:28px;
}

.notification-card h3{
  margin:0 0 8px;
}

.notification-card p{
  margin:0 0 8px;
  color:var(--muted);
  line-height:1.7;
}

.notification-card small{
  color:#94A3B8;
}

.notification-card a{
  background:linear-gradient(135deg,var(--blue),var(--blue2));
  color:#fff;
  border-radius:14px;
  padding:13px;
  text-align:center;
  font-weight:900;
}

@media(max-width:900px){
  .notification-card{
    grid-template-columns:1fr;
  }
}

.public-services-list{
  display:flex;
  flex-direction:column;
  gap:14px;
  margin-top:20px;
}

.public-service-card{
  background:#fff;
  border:1px solid #E2E8F0;
  border-radius:22px;
  padding:18px;
  display:grid;
  grid-template-columns:1.5fr .8fr 1fr 140px;
  gap:14px;
  align-items:center;
  box-shadow:0 18px 45px rgba(15,23,42,.08);
}

.public-service-card h3{
  margin:0 0 8px;
  font-size:22px;
  color:#061A3D;
}

.public-service-card p{
  margin:0 0 8px;
  color:#64748B;
  line-height:1.6;
}

.public-service-card small{
  color:#64748B;
}

.service-price strong{
  display:block;
  font-size:24px;
  color:#0866FF;
}

.service-price span,
.service-meta span{
  display:block;
  color:#64748B;
  font-size:13px;
  margin-top:6px;
}

.order-btn{
  background:linear-gradient(135deg,#0866FF,#2F5BFF);
  color:#fff;
  border-radius:14px;
  padding:13px;
  text-align:center;
  font-weight:900;
}

.empty-card{
  background:#fff;
  border:1px solid #E2E8F0;
  border-radius:24px;
  padding:40px;
  text-align:center;
}

@media(max-width:1000px){
  .public-service-card{
    grid-template-columns:1fr;
  }
}

.order-layout{
  display:grid;
  grid-template-columns:1.5fr .8fr;
  gap:18px;
}

.order-card,
.order-summary{
  background:#fff;
  border:1px solid #E2E8F0;
  border-radius:24px;
  padding:24px;
  box-shadow:0 18px 45px rgba(15,23,42,.08);
}

.order-card label{
  display:block;
  font-weight:900;
  margin:16px 0 8px;
}

.order-card input,
.order-card select{
  width:100%;
  border:1px solid #E2E8F0;
  border-radius:15px;
  padding:15px;
  font-family:inherit;
}

.order-info,
.quote-box{
  background:#F8FAFC;
  border:1px solid #E2E8F0;
  border-radius:18px;
  padding:16px;
  margin:16px 0;
  color:#061A3D;
}

.order-info p{
  color:#64748B;
  line-height:1.7;
}

.order-info span,
.quote-box span{
  display:block;
  color:#64748B;
  margin-top:7px;
}

#quoteBtn,
.primary-order-btn{
  width:100%;
  border:0;
  border-radius:15px;
  padding:15px;
  font-family:inherit;
  font-weight:900;
  cursor:pointer;
  margin-top:14px;
}

#quoteBtn{
  background:#EEF4FF;
  color:#0866FF;
}

.primary-order-btn{
  background:linear-gradient(135deg,#0866FF,#2F5BFF);
  color:#fff;
}

.order-summary h2{
  margin-top:0;
}

.order-summary p{
  color:#64748B;
  line-height:1.8;
}

.order-summary div{
  background:#F8FAFC;
  border:1px solid #E2E8F0;
  border-radius:16px;
  padding:14px;
  margin:12px 0;
}

.order-summary span{
  color:#64748B;
  display:block;
  margin-bottom:6px;
}

.order-summary a{
  display:block;
  text-align:center;
  background:#EEF4FF;
  color:#0866FF;
  border-radius:14px;
  padding:14px;
  font-weight:900;
  margin-top:16px;
}

@media(max-width:900px){
  .order-layout{
    grid-template-columns:1fr;
  }
}

.services-grid {
  display: block;
  width: 100%;
}

.services-table-wrap {
  width: 100%;
  overflow-x: auto;
  background: #fff;
  border: 1px solid #dbe5f3;
  border-radius: 20px;
  box-shadow: 0 12px 30px rgba(15, 23, 42, .06);
}

.services-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 1150px;
}

.services-table th,
.services-table td {
  padding: 14px 12px;
  border-bottom: 1px solid #edf2f7;
  text-align: right;
  vertical-align: middle;
}

.services-table th {
  background: #f8fbff;
  font-weight: 900;
  color: #001b44;
}

.svc-main strong {
  display: block;
  font-size: 16px;
  color: #001b44;
}

.svc-main p {
  margin: 6px 0;
  color: #40516d;
  line-height: 1.6;
  max-width: 520px;
}

.svc-main small {
  color: #64748b;
}

.services-table .order-btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-width: 96px;
  padding: 10px 14px;
  border-radius: 12px;
  background: #2563eb;
  color: #fff;
  text-decoration: none;
  font-weight: 800;
}

.empty-card {
  background: #fff;
  border: 1px solid #dbe5f3;
  border-radius: 20px;
  padding: 28px;
  text-align: center;
}
