/*
Theme Name: Virtual Mail Premium
Theme URI: https://example.com/
Author: ChatGPT
Author URI: https://example.com/
Description: A clean, premium theme with a simple client portal for virtual address & mail scanning/forwarding (CPT-based).
Version: 1.3.4
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: virtual-mail-premium
Tags: custom-background, custom-logo, custom-menu, featured-images, theme-options
*/

:root{
  --bg:#0b1020; --card:#121a33; --text:#e8ecff; --muted:#b8c0ff;
  --accent:#7aa2ff; --accent2:#9bffd6; --border:rgba(255,255,255,.12);
}

*{box-sizing:border-box}
body{
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial;
  background:
    radial-gradient(900px 500px at 15% 10%, rgba(122,162,255,.25), transparent 60%),
    radial-gradient(900px 500px at 80% 20%, rgba(155,255,214,.18), transparent 55%),
    var(--bg);
  color:var(--text);
}
a{color:inherit}
.container{max-width:1100px;margin:0 auto;padding:28px 18px 70px}
.site-header{display:flex;align-items:center;justify-content:space-between;gap:12px}
.brand{display:flex;align-items:center;gap:10px;font-weight:800;letter-spacing:.3px;text-decoration:none}
.logo{width:36px;height:36px;border-radius:10px;background:linear-gradient(135deg,var(--accent),var(--accent2));box-shadow:0 10px 30px rgba(122,162,255,.25)}
.nav a{margin-left:14px;font-size:14px;color:var(--muted);text-decoration:none}
.nav a:hover{text-decoration:underline}
.card{background:rgba(18,26,51,.78);border:1px solid var(--border);border-radius:18px;padding:20px;backdrop-filter: blur(10px)}
.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:12px 16px;border-radius:12px;border:1px solid var(--border);background:rgba(255,255,255,.06);color:var(--text);text-decoration:none;font-weight:700}
.btn.primary{background:linear-gradient(135deg, rgba(122,162,255,.95), rgba(155,255,214,.60));color:#081022;border:none}
.hero{display:grid;grid-template-columns: 1.15fr .85fr;gap:22px;margin-top:30px}
h1{font-size:44px;line-height:1.05;margin:8px 0 12px}
.sub{color:var(--muted);font-size:17px;line-height:1.55;max-width:60ch}
.grid3{display:grid;grid-template-columns: repeat(3, 1fr);gap:14px;margin-top:18px}
.feature h3{margin:0 0 6px;font-size:16px}
.feature p{margin:0;color:var(--muted);font-size:14px;line-height:1.45}
.footer{margin-top:40px;color:var(--muted);font-size:13px}
.table{width:100%;border-collapse:separate;border-spacing:0 10px}
.table td,.table th{text-align:left;padding:12px}
.table thead th{color:var(--muted);font-size:13px;font-weight:700}
.row{background:rgba(255,255,255,.04);border:1px solid var(--border);border-radius:12px}
.row td:first-child{border-top-left-radius:12px;border-bottom-left-radius:12px}
.row td:last-child{border-top-right-radius:12px;border-bottom-right-radius:12px}
.badge{display:inline-block;padding:6px 10px;border:1px solid var(--border);border-radius:999px;font-size:12px;color:var(--muted)}
.form input,.form select,.form textarea{
  width:100%;
  padding:10px;
  border-radius:12px;
  border:1px solid var(--border);
  background:rgba(255,255,255,.05);
  color:var(--text);
}
.form label{display:block;margin:10px 0 6px;color:var(--muted);font-size:13px}
.form button{margin-top:12px}
.notice{padding:12px;border-radius:12px;border:1px solid var(--border);background:rgba(255,255,255,.05);color:var(--muted)}
@media (max-width: 900px){
  .hero{grid-template-columns:1fr}
  h1{font-size:36px}
  .grid3{grid-template-columns:1fr}
}

/* Portal attachments */
.btn.small{padding:9px 12px;border-radius:10px;font-size:13px}
.vmp-attachments{display:flex;flex-direction:column;gap:12px;margin-top:10px}
.vmp-attachment{
  display:flex;align-items:center;gap:14px;
  padding:12px;
  border:1px solid var(--border);
  background:rgba(255,255,255,.04);
  border-radius:14px;
}
.vmp-attachment-thumb{width:86px;flex:0 0 86px;display:flex;align-items:center;justify-content:center}
.vmp-thumb{width:80px;height:auto;border-radius:10px;border:1px solid var(--border)}
.vmp-file-pill{
  display:inline-flex;align-items:center;justify-content:center;
  width:64px;height:44px;
  border-radius:12px;
  border:1px solid var(--border);
  background:rgba(255,255,255,.06);
  color:var(--muted);
  font-weight:800;
  letter-spacing:.6px;
}
.vmp-attachment-meta{flex:1;min-width:0}
.vmp-attachment-name{font-weight:800;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.vmp-attachment-sub{color:var(--muted);font-size:13px;margin-top:4px}
.vmp-attachment-actions{display:flex;gap:10px;flex-wrap:wrap}
@media (max-width: 640px){
  .vmp-attachment{flex-direction:column;align-items:flex-start}
  .vmp-attachment-thumb{width:auto}
}


/* v1.1.1: make whole Mail cell clickable */
.vmp-mail-link{display:block;text-decoration:none;color:inherit}
.vmp-mail-link:hover{opacity:.9}
.vmp-mail-from{margin:0}
.vmp-mail-subject{font-size:12px;opacity:.75;margin-top:2px}


/* Request pills */
.vmp-request-pills{display:flex;gap:6px;flex-wrap:wrap;margin-top:6px}
.vmp-request-pill{display:inline-flex;align-items:center;gap:6px;padding:4px 8px;border:1px solid var(--border);border-radius:999px;font-size:12px;line-height:1;background:rgba(255,255,255,.06)}
.vmp-request-pill.done{opacity:.9}
.vmp-request-pill .ok{font-weight:700}


/* VMP UI: alerts */
.vmp-alert{
  padding:14px 16px;
  border-radius:12px;
  margin: 14px 0 18px 0;
  font-size: 16px;
  line-height: 1.35;
  border: 1px solid rgba(255,255,255,.15);
  background: rgba(255,255,255,.06);
  transition: opacity .25s ease, max-height .25s ease, margin .25s ease, padding .25s ease;
  overflow: hidden;
}
.vmp-alert-success{
  border-color: rgba(0,255,160,.35);
}

/* v1.3.3 UI polish */
.vmp-pkg-icon{
  width:52px;
  height:52px;
  display:flex;
  align-items:center;
  justify-content:center;
  border-radius:14px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.10);
  color: rgba(255,255,255,.92);
  flex: 0 0 52px;
}
.vmp-pkg-icon svg{ width:30px; height:30px; }

.pill{
  display:inline-flex;
  gap:10px;
  align-items:baseline;
  padding:10px 12px;
  border-radius:999px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.06);
}

.vmp-price{
  font-size: 32px; /* ~2x previous */
  font-weight: 800;
  letter-spacing: .2px;
  line-height: 1;
}

.vmp-price-suffix{
  font-size: 14px;
  opacity: .85;
}



/* ===== Packages page (v1.3.4) ===== */
.vmp-packages{
  display:grid;
  grid-template-columns: 1fr 64px 1fr;
  gap: 28px;
  align-items: start;
}
.vmp-packages-sep{
  position: relative;
  align-self: stretch;
  display:flex;
  align-items:center;
  justify-content:center;
  min-height: 260px;
}
.vmp-packages-sep:before{
  content:"";
  position:absolute;
  top: 10px;
  bottom: 10px;
  width: 1px;
  background: linear-gradient(to bottom, rgba(255,255,255,.04), rgba(255,255,255,.22), rgba(255,255,255,.04));
}
.vmp-packages-sep span{
  position: relative;
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  color: rgba(255,255,255,.78);
}

.vmp-package-card{
  padding: 18px 18px 16px 18px;
}
.vmp-package-header{
  display:flex;
  align-items:center;
  gap: 14px;
}
.vmp-package-title{
  margin: 0;
  font-size: 20px;
  line-height: 1.25;
}
.vmp-package-pricepill{
  margin-top: 10px;
  display:inline-flex;
  gap: 10px;
  align-items: baseline;
  padding: 10px 14px;
}
.vmp-price{
  font-size: 42px; /* doubled feel */
  line-height: 1;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.vmp-price-suffix{
  font-size: 14px;
  opacity: .8;
}
.vmp-package-body{
  margin-top: 14px;
  line-height: 1.75;
  font-size: 16px;
  color: rgba(255,255,255,.92);
}
.vmp-package-body p{
  margin: 0 0 12px 0;
}
.vmp-package-body ul{
  margin: 8px 0 12px 18px;
}
.vmp-package-body li{
  margin: 6px 0;
}
.vmp-pkg-icon{
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.14);
  box-shadow: 0 8px 24px rgba(0,0,0,.25);
}
.vmp-pkg-icon svg{ width:30px; height:30px; opacity:.98; }

/* Mobile */
@media (max-width: 860px){
  .vmp-packages{
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .vmp-packages-sep{
    min-height: 0;
    padding: 6px 0;
  }
  .vmp-packages-sep:before{
    top: 50%;
    bottom: auto;
    height: 1px;
    width: 100%;
  }
  .vmp-package-card{
    padding: 16px;
  }
  .vmp-package-title{
    font-size: 18px;
  }
  .vmp-price{
    font-size: 40px;
  }
  .vmp-package-body{
    font-size: 16px;
  }
}
/* Small phones */
@media (max-width: 420px){
  .vmp-package-header{
    align-items:flex-start;
  }
  .vmp-pkg-icon{
    width:48px;
    height:48px;
    flex: 0 0 48px;
  }
  .vmp-pkg-icon svg{ width:28px; height:28px; }
  .vmp-price{ font-size: 36px; }
}
