:root{
  --bg:#0F172A;
  --panel:#1e293b;
  --panel-hover:#243246;
  --text:#ffffff;
  --muted:#94a3b8;
  --muted-light:#cbd5e1;
  --border:rgba(255,255,255,0.08);
  --shadow:0 10px 30px rgba(0,0,0,0.22);
  --radius:12px;
  --transition:180ms ease;
}

*{
  box-sizing:border-box;
}

/* Scrollbars globales */
html {
  scrollbar-width: thin;
  scrollbar-color: #4ea3ff rgba(255, 255, 255, 0.06);
}

::-webkit-scrollbar {
  width: 12px;
  height: 12px;
}

::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.06);
  border-radius: 999px;
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #61d7ff 0%, #4ea3ff 55%, #3478f6 100%);
  border-radius: 999px;
  border: 2px solid rgba(7, 18, 37, 0.9);
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, #7fe3ff 0%, #63b3ff 55%, #4b8cff 100%);
}

::-webkit-scrollbar-corner {
  background: transparent;
}

html,
body{
  margin:0;
  padding:0;
  font-family:'Space Grotesk',sans-serif;
  background:#0F172A;
  color:var(--text);
  -webkit-font-smoothing:antialiased;
}

body{
  background:
    radial-gradient(circle at top left, rgba(46,124,246,0.10), transparent 28%),
    radial-gradient(circle at top right, rgba(46,211,168,0.08), transparent 24%),
    linear-gradient(180deg, #0F172A 0%, #111827 100%);
}

a{
  color:inherit;
  text-decoration:none;
}

img{
  display:block;
  max-width:100%;
}

.page{
  min-height:100vh;
}

.container{
  max-width:1100px;
  margin:auto;
  padding:40px;
}

header{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:24px;
}

.logo{
  font-weight:600;
  font-size:19px;
  letter-spacing:1px;
  flex-shrink:0;
}

.logo a{
  display:inline-flex;
  align-items:center;
}

.logo img{
  width:220px;
  height:auto;
}

nav{
  display:flex;
  align-items:center;
  gap:22px;
}

nav a{
  color:var(--muted-light);
  text-decoration:none;
  font-size:14px;
  transition:color var(--transition), opacity var(--transition);
}

nav a:hover{
  color:var(--text);
}

.hero{
  text-align:center;
  margin-top:110px;
}

.hero-voicelify{
  margin-top:80px;
  text-align:center;
}

.hero h1{
  font-size:52px;
  line-height:1.05;
  margin:0 0 20px 0;
  font-weight:600;
  letter-spacing:-0.02em;
}

.hero p{
  color:var(--muted);
  font-size:18px;
  line-height:1.7;
  max-width:650px;
  margin:auto;
}

#voicelify-img{
  width: 30%;
   display: block;
  margin: 0 auto;
}

.buttons{
  margin-top:40px;
  display:flex;
  justify-content:center;
  align-items:center;
  gap:14px;
  flex-wrap:wrap;
}

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:14px 26px;
  border-radius:10px;
  border:1px solid transparent;
  font-size:15px;
  font-weight:500;
  cursor:pointer;
  text-decoration:none;
  transition:
    transform var(--transition),
    background var(--transition),
    border-color var(--transition),
    color var(--transition),
    box-shadow var(--transition);
}

.btn:hover{
  transform:translateY(-1px);
  text-decoration:none;
}

.btn-primary{
  background:linear-gradient(135deg,#2ED3A8,#2E7CF6);
  color:white;
  box-shadow:0 8px 24px rgba(46,124,246,0.20);
}

.btn-primary:hover{
  box-shadow:0 12px 28px rgba(46,124,246,0.28);
}

.btn-secondary{
  background:rgba(255,255,255,0.04);
  color:white;
  border-color:rgba(255,255,255,0.08);
}

.btn-secondary:hover{
  background:rgba(255,255,255,0.08);
  border-color:rgba(255,255,255,0.14);
}

.btn-spinner {
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255,255,255,0.35);
  border-top-color: #fff;
  border-radius: 50%;
  display: none;
  animation: spin .7s linear infinite;
}

button.is-loading .btn-text {
  opacity: 0.7;
}

button.is-loading .btn-spinner {
  display: inline-block;
  vertical-align: middle;
  margin-left: 8px;
}

button.is-loading {
  pointer-events: none;
  opacity: 0.9;
}

.google-login-wrap {
  position: relative;
  display: flex;
  justify-content: center;
  width: 100%;
}

.google-login-overlay {
  position: absolute;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.65);
  border-radius: 8px;
  z-index: 20;
  pointer-events: all;
}

.google-login-wrap.is-loading .google-login-overlay {
  display: flex;
}

.google-login-wrap.is-loading {
  pointer-events: none;
}

.google-login-wrap .google-login-overlay .btn-spinner {
  display: inline-block;
  width: 22px;
  height: 22px;
  border: 3px solid rgba(0,0,0,0.18);
  border-top-color: #222;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.tools{
  margin-top:140px;
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
  gap:20px;
}

.tool{
  background:rgba(30,41,59,0.78);
  border:1px solid var(--border);
  padding:25px;
  border-radius:var(--radius);
  box-shadow:var(--shadow);
  backdrop-filter:blur(10px);
  transition:
    transform var(--transition),
    background var(--transition),
    border-color var(--transition),
    box-shadow var(--transition);
}

.tool:hover{
  transform:translateY(-3px);
  background:rgba(36,50,70,0.92);
  border-color:rgba(255,255,255,0.14);
  box-shadow:0 14px 34px rgba(0,0,0,0.28);
}

.tool h3{
  margin:0 0 10px 0;
  font-size:20px;
  font-weight:600;
  letter-spacing:-0.01em;
}

.tool h3 a{
  color:var(--text);
  text-decoration:none;
  transition:opacity var(--transition);
}

.tool h3 a:hover{
  opacity:0.92;
}

.tool p{
  margin:0;
  color:var(--muted);
  line-height:1.65;
  font-size:15px;
}

.tools-grid{
  margin-top:80px;
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(260px,1fr));
  gap:25px;
}

.tool-card{
  background:rgba(30,41,59,0.78);
  border:1px solid var(--border);
  padding:25px;
  border-radius:var(--radius);
  box-shadow:var(--shadow);
  backdrop-filter:blur(10px);
  transition:
    transform var(--transition),
    background var(--transition),
    border-color var(--transition),
    box-shadow var(--transition);
}

.tool-card:hover{
  transform:translateY(-3px);
  background:rgba(36,50,70,0.92);
  border-color:rgba(255,255,255,0.14);
  box-shadow:0 14px 34px rgba(0,0,0,0.28);
}

.tool-card h3{
  margin:0 0 10px 0;
  font-size:20px;
  font-weight:600;
}

.tool-card p{
  margin:0;
  color:var(--muted);
  line-height:1.65;
  font-size:15px;
}

.tool-actions{
  margin-top:20px;
  display:flex;
  align-items:center;
  gap:10px;
  flex-wrap:wrap;
}

.coming{
  color:var(--muted);
  font-size:14px;
}

.voicelify-box{
  max-width:760px;
  margin:60px auto 0 auto;
  background:rgba(30,41,59,0.78);
  border:1px solid var(--border);
  padding:25px;
  border-radius:var(--radius);
  box-shadow:var(--shadow);
  backdrop-filter:blur(10px);
}

label{
  display:block;
  margin:0 0 8px 0;
  font-size:14px;
  font-weight:500;
  color:var(--muted-light);
}

textarea,
input,
select{
  width:100%;
  padding:12px 14px;
  margin:0 0 20px 0;
  border-radius:10px;
  border:1px solid rgba(255,255,255,0.08);
  background:#0f172a;
  color:white;
  font:inherit;
  outline:none;
}

textarea{
  min-height:140px;
  resize:vertical;
}

textarea:focus,
input:focus,
select:focus{
  border-color:rgba(46,124,246,0.45);
  box-shadow:0 0 0 3px rgba(46,124,246,0.12);
}

.hidden{
  display:none;
}

#result{
  margin-top:24px;
}

#audioPlayer{
  width:100%;
  margin-top:10px;
  margin-bottom: 4px;
}

#transcript{
  white-space:pre-wrap;
  word-break:break-word;
  margin-top:20px;
  padding:18px;
  border-radius:10px;
  background:rgba(255,255,255,0.04);
  border:1px solid rgba(255,255,255,0.08);
  color:var(--muted-light);
  font-family:inherit;
}

#voiceBox{
  margin-top: 16px;
}

footer{
  margin-top:140px;
  text-align:center;
  color:#64748b;
  font-size:14px;
}

.auth-wrapper{
  display:flex;
  justify-content:center;
  align-items:center;
  margin-top:120px;
}

.auth-card{
  width:420px;
  background:rgba(30,41,59,0.75);
  border:1px solid rgba(255,255,255,0.08);
  padding:40px;
  border-radius:14px;
  backdrop-filter:blur(10px);
}

.auth-tabs{
  display:flex;
  gap:10px;
  margin-bottom:30px;
}

.tab{
  flex:1;
  padding:12px;
  border:none;
  cursor:pointer;
  border-radius:8px;
  background:#1e293b;
  color:white;
}

.tab.active{
  background:linear-gradient(135deg,#2ED3A8,#2E7CF6);
}

.auth-form{
  display:none;
  flex-direction:column;
  gap:12px;
}

.auth-form.active{
  display:flex;
}

.auth-form input{
  padding:12px;
  border-radius:8px;
  border:none;
  background:#0f172a;
  color:white;
}

.oauth{
  display:flex;
  flex-direction:column;
  gap:20px;
  margin-bottom:30px;
}

.google-btn{
  background:white;
  color:black;
  padding:12px;
  border-radius:8px;
  border:none;
  cursor:pointer;
  font-weight:500;
}

.divider{
  text-align:center;
  position:relative;
}

.divider span{
  background:var(--panel);
  padding:0 10px;
  color:#94a3b8;
}

.divider:before{
  content:"";
  position:absolute;
  left:0;
  right:0;
  top:50%;
  height:1px;
  background:rgba(255,255,255,0.1);
  z-index:-1;
}

.account{
  margin-top:120px;
}

.account-card{
  max-width:500px;
  background:rgba(30,41,59,0.8);
  padding:30px;
  border-radius:12px;
  border:1px solid rgba(255,255,255,0.08);
  margin-top:20px;
}

/* AUTH PAGE */

.auth-page{
  display:flex;
  justify-content:center;
  align-items:center;
  min-height:70vh;
}

.auth-box{
  width:100%;
  max-width:420px;
  background:#1e293b;
  padding:35px;
  border-radius:14px;
  box-shadow:0 10px 30px rgba(0,0,0,0.4);
}

.auth-box h1{
  margin-bottom:25px;
  font-size:28px;
}

/* FORM */

.auth-box form{
  display:flex;
  flex-direction:column;
}

.auth-box label{
  font-size:14px;
  color:#94a3b8;
  margin-bottom:6px;
}

.auth-box input{
  background:#0f172a;
  border:1px solid #334155;
  border-radius:10px;
  padding:12px;
  margin-bottom:18px;
  color:white;
}

.auth-box input:focus{
  outline:none;
  border-color:#2E7CF6;
}

/* BUTTON */

.auth-box .btn{
  width:100%;
  margin-top:10px;
}

/* DIVIDER */

.auth-divider{
  text-align:center;
  margin:20px 0;
  color:#64748b;
  font-size:13px;
}

/* GOOGLE BUTTON FIX */

.g_id_signin{
  width:100% !important;
  display:flex !important;
  justify-content:center;
  
}

.soon-link{
  opacity:.6;
  cursor:not-allowed;
  text-decoration:underline;
}

/* SWITCH */

.auth-switch{
  margin-top:20px;
  text-align:center;
  font-size:14px;
}

.auth-switch a{
  color:#2E7CF6;
  text-decoration:none;
}

.auth-switch a:hover{
  text-decoration:underline;
}

#voiceList {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;

  margin-bottom: 19px;
}

.voice-column {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.voice-title {
  font-size: 16px;
  margin-bottom: 6px;
}

.voice-title.male {
  color: #4f8cff;
}

.voice-title.female {
  color: #ff6fa5;
}

/* 👇 grille interne */
.voice-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}

.voice-item {
  display: flex;
  align-items: center;
  justify-content: space-between;

  padding: 6px 8px;

  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 6px;

  font-size: 12px;
}

.voice-item.active {
  border-color: #4f8cff;
  background: rgba(79,140,255,0.15);
}

.voice-left {
  display: flex;
  align-items: center;
  gap: 6px;
}

.voice-play {
  background: transparent;
  border: none;
  cursor: pointer;
  font-size: 11px;
  opacity: 0.7;
}

.voice-play:hover {
  opacity: 1;
}

.timestamps-row{
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 10px;
  margin-bottom: 19px;
}

.timestamps-row input{
  width: auto;
}

.file-upload{
  display: flex;
  align-items: center;
  gap: 12px;
  background: #0f172a;
  padding: 10px 14px;
  border-radius: 8px;
}

.file-btn{
  background: #1d4ed8;
  color: white;
  padding: 6px 12px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 14px;
}

.file-btn:hover{
  background: #2563eb;
}

#fileName{
  font-size: 14px;
  color: #cbd5f5;
}

.hidden{
  display: none !important;
}

button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.video-platforms {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
  margin-left: 5px;
  margin-bottom: 19px;
}

.video-platforms img {
  height: 12px;
  opacity: 1;
}

#videoBox input{
  margin-bottom: 5px;
}

#timestampsBox{
  margin-left: 5px;
  margin-top: -10px;
  margin-bottom: 19px;
}

#audioBox{
  margin-bottom: 19px;
}

.download-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  cursor: pointer;
}

.free-note{
  margin-top: 19px;
  font-size: 14px;
}

.free-badge{
	margin-top:24px;
	padding:14px 16px;
	border-radius:14px;
	background:rgba(255,255,255,.06);
	border:1px solid rgba(255,255,255,.12);
	box-shadow:0 8px 24px rgba(0,0,0,.16);
}

.free-badge strong{
	display:inline-block;
	margin-bottom:8px;
	padding:4px 10px;
	border-radius:999px;
	background:linear-gradient(90deg,#2dd4bf,#3b82f6);
	color:#fff;
	font-size:.9rem;
	font-weight:700;
}

.free-badge p{
	margin:0;
	opacity:.95;
}

.pricing-grid{
  display:flex;
  flex-wrap:wrap;
  justify-content:center;
  gap:24px;
  max-width:1300px;
  margin:40px auto 20px;
  padding:0 20px;
}

.pricing-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  padding: 28px 24px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(6px);
  width:100%;
  max-width:280px;
  min-width:260px;
}

.pricing-card h2 {
  margin: 0 0 10px;
  font-size: 1.8rem;
}

.pricing-card .price {
  font-size: 1.2rem;
  font-weight: 700;
  margin: 10px 0 14px;
  color: #7dd3fc;
}

.plan-tagline {
  margin: 0 0 16px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.82);
}

.pricing-card ul {
  margin: 0 0 22px;
  padding-left: 20px;
}

.pricing-card li {
  margin-bottom: 8px;
  line-height: 1.5;
}

.pricing-card.featured {
  border: 1px solid rgba(125, 211, 252, 0.35);
  box-shadow: 0 0 0 1px rgba(125, 211, 252, 0.12), 0 12px 30px rgba(0, 0, 0, 0.22);
}

.pricing-card.disabled {
  opacity: 0.72;
}

.pricing-note {
  max-width: 900px;
  margin: 10px auto 60px;
  padding: 0 20px;
  text-align: center;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.7;
}

.imagy-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.imagy-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 14px;
  text-align: center;
}

.imagy-card img {
  display: block;
  width: 100%;
  max-width: 100%;
  border-radius: 12px;
  margin-bottom: 12px;
}

.imagy-empty {
  margin: 0;
  opacity: 0.8;
}

#imagyReloadHint {
  margin-top: 16px;
}

.imagy-item{
	display:flex;
	flex-direction:column;
	gap:4px;
}

.imagy-item .download-link{
	align-self:flex-start;
	display:inline-flex;
	align-items:center;
	gap:4px;
	padding:8px 12px;
	border-radius:10px;
	text-decoration:none;
	font-weight:600;
	background:linear-gradient(90deg,#2dd4bf,#3b82f6);
	color:#fff;
	box-shadow:0 6px 18px rgba(0,0,0,.18);
}

.imagy-item .download-link i{
	font-size:14px;
}

#imagyCountdown, #voicelifyCountdown, #textyCountdown{
	margin:10px 0 6px;
	padding:8px 12px;
	border-radius:10px;
	background:rgba(45,212,191,.10);
	border:1px solid rgba(45,212,191,.24);
	color:#dffcf7;
	font-size:.92rem;
	line-height:1.3;
	display:inline-block;
	min-width:260px;
}

#imagyReloadHint{
	margin-top:8px;
	opacity:.9;
}

.download-pill{
	display:inline-flex;
	align-items:center;
	gap:8px;
	padding:10px 14px;
	border-radius:12px;
	text-decoration:none;
	background:linear-gradient(90deg,#2dd4bf,#3b82f6);
	color:#fff;
	box-shadow:0 6px 18px rgba(0,0,0,.18);
	font-weight:600;
}

.download-pill:hover{
	transform:translateY(-1px);
	box-shadow:0 10px 22px rgba(0,0,0,.22);
}

.download-pill i{
	font-size:14px;
}

#downloadLink:has(#downloadText:empty){
	width:42px;
	height:42px;
	padding:0;
	justify-content:center;
	border-radius:12px;
	gap:0;
}

#textBox{
	position:relative;
}

.char-counter {
	display: block !important;
	width: 100% !important;
	position: static !important;
	right: auto !important;
	bottom: auto !important;
	top: auto !important;
	left: auto !important;
	float: none !important;
	clear: both !important;
	font-size: 12px;
	opacity: 0.82;
	margin: 0 0 0 0;
	text-align: right;
}

#content_topic{
  margin-bottom: 2px;
}

#text{
	scrollbar-width:thin;
	scrollbar-color:rgba(59,130,246,.7) rgba(255,255,255,.08);
}

#text::-webkit-scrollbar{
	width:10px;
}

#text::-webkit-scrollbar-track{
	background:rgba(255,255,255,.06);
	border-radius:999px;
}

#text::-webkit-scrollbar-thumb{
	background:linear-gradient(180deg,#2dd4bf,#3b82f6);
	border-radius:999px;
	border:2px solid rgba(255,255,255,.06);
}

#text::-webkit-scrollbar-thumb:hover{
	background:linear-gradient(180deg,#5eead4,#60a5fa);
}

#label_url{
  margin-bottom: 0;
  padding-bottom: 0;
}

#video_url{
  margin-top: 5px;
}

#span_url{
  font-size: 10px;
  color:var(--muted-light);
}

.auth-message{
  margin: 0 0 16px 0;
  padding: 12px 14px;
  border-radius: 10px;
  font-size: .95rem;
}

.auth-success{
  background: rgba(39, 174, 96, 0.12);
  color: #1f8b4c;
  border: 1px solid rgba(39, 174, 96, 0.25);
}

.auth-error{
  background: rgba(231, 76, 60, 0.12);
  color: #c0392b;
  border: 1px solid rgba(231, 76, 60, 0.25);
}

.account-page{
  max-width: 80vw;
  margin: 0 auto;
  padding: 48px 24px 60px;
}

.account-header{
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  gap:20px;
  margin-bottom:28px;
}

.account-header h1{
  margin:0 0 8px 0;
}

.account-subtitle{
  margin:0;
  opacity:.75;
}

.account-summary-grid{
  display:grid;
  grid-template-columns:repeat(3, minmax(0, 1fr));
  gap:16px;
  margin-bottom:28px;
}

.account-summary-card{
  background:rgba(30,41,59,0.78);
  border:1px solid var(--border);
  border-radius:18px;
  padding:18px;
  box-shadow:var(--shadow);
  backdrop-filter:blur(10px);
}

.account-label{
  display:block;
  font-size:.85rem;
  opacity:.65;
  margin-bottom:8px;
}

.account-section{
  background:rgba(30,41,59,0.78);
  border:1px solid var(--border);
  border-radius:22px;
  padding:24px;
  box-shadow:var(--shadow);
  backdrop-filter:blur(10px);
}

.account-section-head{
  margin-bottom:24px;
}

.account-section-head h2{
  margin:0 0 8px 0;
}

.account-section-head p{
  margin:0;
  opacity:.7;
}

.account-tool-block + .account-tool-block{
  margin-top:34px;
}

.account-tool-head{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:16px;
  margin-bottom:16px;
  margin-top:16px;
}

.account-tool-head h3{
  margin:0;
}

.account-tool-head span{
  font-size:.9rem;
  color:var(--muted-light);
  opacity:.8;
}

.account-jobs-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit, minmax(260px, 320px));
  gap:20px;
  width:100%;
}

.account-job-card{
  background:rgba(255,255,255,0.04);
  border:1px solid var(--border);
  border-radius:18px;
  padding:16px;
  min-height:auto;
  display:flex;
  flex-direction:column;
  gap:12px;
}

.account-job-top{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:12px;
}

.account-job-title{
  margin: 0;
  font-size:1rem;
}

.account-job-date{
  margin:0;
  font-size:.88rem;
  opacity:.65;
}

.account-job-card .account-job-actions .account-status{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border-radius:999px;
  margin-right:auto;
  padding:6px 10px;
  font-size:.78rem;
  text-transform:capitalize;
  white-space:nowrap;
  border:1px solid rgba(255,255,255,0.10);
  background:rgba(255,255,255,0.06);
}

.status-finished{
  color:#18794e;
  border-color:rgba(24,121,78,.2);
  background:rgba(24,121,78,.08);
}

.status-processing,
.status-pending,
.status-downloading,
.status-downloaded,
.status-queued{
  color:#9a6700;
  border-color:rgba(154,103,0,.2);
  background:rgba(154,103,0,.08);
}

.status-error{
  color:#c0392b;
  border-color:rgba(192,57,43,.2);
  background:rgba(192,57,43,.08);
}

.account-expire{
  margin:0;
  font-size:.88rem;
  color:var(--muted-light);
}

.account-links{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
}

.account-links a{
  text-decoration:none;
  font-weight:600;
}

.account-muted{
  margin:0;
  color:var(--muted);
  font-size:.92rem;
}

.account-empty{
  background:rgba(255,255,255,0.04);
  border:1px dashed rgba(255,255,255,0.12);
  border-radius:16px;
  padding:18px;
}

.account-empty p{
  margin:0;
  opacity:.7;
}

.account-frames-grid{
  display:grid;
  grid-template-columns:repeat(2, minmax(0, 1fr));
  gap:14px;
}

.account-frames-grid a{
  display:block;
}

.account-frames-grid img{
  width:100%;
  height:180px;
  object-fit:cover;
  border-radius:12px;
  border:1px solid var(--border);
  display:block;
}

.account-job-date,
.account-subtitle,
.account-section-head p,
.account-empty p{
  color: var(--muted);
}

.account-transcript{
  white-space:pre-wrap;
  word-break:break-word;
  padding:14px;
  border-radius:12px;
  background:rgba(255,255,255,0.04);
  border:1px solid var(--border);
  color:var(--muted-light);
  font-family:inherit;
  font-size:.92rem;
}

.account-frame-item{
  display:flex;
  flex-direction:column;
  gap:8px;
}

.account-frame-item .download-pill{
  align-self:flex-start;
}

.account-shell{
  display:flex;
  align-items:flex-start;
  gap:32px;
}

.account-sidebar{
  position:sticky;
  top:110px;
  width:260px;
  flex:0 0 260px;
  background:rgba(30,41,59,0.78);
  border:1px solid var(--border);
  border-radius:22px;
  padding:18px 14px;
  box-shadow:var(--shadow);
  backdrop-filter:blur(10px);
  display:flex;
  flex-direction:column;
  gap:18px;
  transition:width var(--transition), flex-basis var(--transition), padding var(--transition);
}

.account-sidebar.collapsed{
  width:84px;
  flex-basis:84px;
  padding:18px 10px;
}

.account-sidebar-top{
  display:flex;
  justify-content:flex-end;
}

.account-sidebar-toggle{
  width:44px;
  height:44px;
  border:none;
  border-radius:12px;
  background:rgba(255,255,255,0.06);
  color:var(--text);
  cursor:pointer;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  transition:background var(--transition), transform var(--transition);
}

.account-sidebar-toggle:hover{
  background:rgba(255,255,255,0.10);
  transform:translateY(-1px);
}

.account-sidebar-nav{
  display:flex;
  flex-direction:column;
  gap:10px;
}

.account-nav-item{
  position: relative;
  width:100%;
  border:none;
  background:transparent;
  color:var(--muted-light);
  border-radius:14px;
  padding:14px 14px;
  display:flex;
  align-items:center;
  gap:12px;
  cursor:pointer;
  text-align:left;
  font:inherit;
  transition:background var(--transition), color var(--transition), transform var(--transition);
}

.account-nav-badge{
  margin-left:auto;
  min-width:22px;
  height:22px;
  padding:0 7px;
  border-radius:999px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  font-size:12px;
  font-weight:700;
  background:#f97316;
  color:#fff;
}

.account-nav-item i{
  width:20px;
  min-width:20px;
  text-align:center;
  font-size:16px;
}

.account-nav-item span{
  white-space:nowrap;
}

.account-nav-item:hover{
  background:rgba(255,255,255,0.06);
  color:var(--text);
}

.account-nav-item.active{
  background:linear-gradient(135deg, rgba(46,211,168,0.18), rgba(46,124,246,0.18));
  color:var(--text);
  border:1px solid rgba(255,255,255,0.08);
}

.account-sidebar.collapsed .account-nav-item{
  justify-content:center;
  padding:14px 10px;
}

.account-sidebar.collapsed .account-nav-item span{
  display:none;
}

.account-sidebar-bottom{
  margin-top:auto;
}

.account-logout-link{
  text-decoration:none;
}

.account-main{
  flex:1;
  min-width:0;
  max-width: none;
}

.account-tab-panel{
  display:none;
}

.account-tab-panel.active{
  display:block;
}

.account-summary-grid{
  margin-bottom:0;
}

.account-tab-panel .account-section{
  min-height: 520px;
}

.account-tool-block{
  width:100%;
}

.account-tool-block .account-jobs-grid{
  width:100%;
}

.account-tool-block .account-job-card{
  height:100%;
}

.account-section{
  width:100%;
  overflow-x:auto;
  overflow-y:hidden;
}

.account-main{
  flex:1;
  min-width:0;
  width:100%;
}

.account-tab-panel{
  width:100%;
}

.account-tool-block{
  width:100%;
  min-width:0;
}

.account-page--full{
  width: 98vw;
  max-width: none;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding-left: 48px;
  padding-right: 48px;
}

.account-page--full .account-shell{
  max-width: 1760px;
  width: 100%;
  margin: 0 auto;
}

.container.container-account-full{
  width: 100%;
  max-width: none;
  padding-left: 48px;
  padding-right: 48px;
}

.container.container-account-full header{
  max-width: 1400px;
  margin: 0 auto;
}

.container.container-account-full footer{
  max-width: 1400px;
  margin-left: auto;
  margin-right: auto;
}

.account-audio-player{
  width: 100%;
  max-width: 400px;
  height: 36px;
  margin-bottom: 10px;
  display: block;
}

.account-job-actions{
  display:flex;
  align-items:center;
  width:100%;
  gap: 5px;
}

.account-delete-btn{
  width:34px;
  height:34px;
  border:none;
  border-radius:10px;
  background:rgba(231,76,60,0.12);
  color:#ff8f8f;
  border:1px solid rgba(231,76,60,0.22);
  display:inline-flex;
  align-items:center;
  justify-content:center;
  cursor:pointer;
  transition:background var(--transition), transform var(--transition), border-color var(--transition);
}

.account-delete-btn:hover{
  background:rgba(231,76,60,0.18);
  border-color:rgba(231,76,60,0.34);
  transform:translateY(-1px);
}

.account-delete-btn:disabled{
  opacity:.55;
  cursor:not-allowed;
  transform:none;
}

.account-delete-btn{
  position:relative;
  overflow:hidden;
}

.account-delete-fill{
  position:absolute;
  inset:0;
  width:0%;
  background:linear-gradient(90deg, rgba(231,76,60,0.55), rgba(231,76,60,0.9));
  transition:width 0s;
  z-index:0;
}

.account-delete-icon{
  position:relative;
  z-index:1;
  display:inline-flex;
  align-items:center;
  justify-content:center;
}

.account-delete-btn.is-holding .account-delete-fill{
  width:100%;
  transition:width 1.5s linear;
}

#nicknameInput {
  width: 100%;
  background: transparent;
  border: none;
  outline: none;
  box-shadow: none;
  color: #fff;
  padding: 0;
  margin: 6px 0 0 0;
  font-weight: 700;
}

#nicknameInput:focus {
  background: transparent;
  border: none;
  outline: none;
  box-shadow: none;
}

.voicelify-loader-row{
  display:flex;
  align-items:center;
  gap:10px;
  margin-bottom:10px;
}

.voicelify-loader-spinner{
  width:18px;
  height:18px;
  border:2px solid rgba(255,255,255,0.25);
  border-top-color:#fff;
  border-radius:50%;
  animation: voicelifySpin 0.8s linear infinite;
}

.voicelify-loader-bar{
  width:100%;
  height:8px;
  border-radius:999px;
  overflow:hidden;
  background:rgba(255,255,255,0.12);
  position:relative;
}

.voicelify-loader-bar-inner{
  width: 0%;
  height: 100%;
  border-radius: 999px;
  background: rgba(255,255,255,0.85);
  animation: none !important;
  transform: none !important;
  transition: width 0.35s ease;
}

@keyframes voicelifySpin{
  from{ transform:rotate(0deg); }
  to{ transform:rotate(360deg); }
}

@keyframes voicelifyBarMove{
  0%{ transform:translateX(-120%); }
  50%{ transform:translateX(185%); }
  100%{ transform:translateX(-120%); }
}

.status-open{
  background: rgba(255, 193, 7, 0.12);
  color: #ffd24d;
  border: 1px solid rgba(255, 193, 7, 0.28);
}

.status-in_review{
  background: rgba(59, 130, 246, 0.12);
  color: #7db7ff;
  border: 1px solid rgba(59, 130, 246, 0.28);
}

.status-resolved{
  background: rgba(34, 197, 94, 0.12);
  color: #63e6a1;
  border: 1px solid rgba(34, 197, 94, 0.28);
}

.status-rejected{
  background: rgba(239, 68, 68, 0.12);
  color: #ff8b8b;
  border: 1px solid rgba(239, 68, 68, 0.28);
}

.account-submenu{
  display:flex;
  flex-direction:column;
  gap:8px;
  margin-top:-2px;
  margin-bottom:4px;
  margin-left:-14px;
}

.account-nav-subitem{
  padding-left: 2px;
}

#adminStatsContainer{
  width:100%;
  overflow-x:auto;
}

#adminStatsContainer table{
  min-width:1200px;
}

.account-page--full .account-shell{
  max-width: 1760px;
  width: 100%;
  margin: 0 auto;
}

.container.container-account-full header{
  max-width: 1760px;
}

.container.container-account-full footer{
  max-width: 1760px;
}

.account-section{
  width:100%;
  overflow:visible;
}

#adminStatsContainer table{
  width:100%;
  table-layout:fixed;
  font-size:16px;
}

#adminStatsContainer th,
#adminStatsContainer td{
  font-size:16px !important;
  padding:8px 10px !important;
  vertical-align:middle;
}

#adminStatsContainer select{
  font-size:15px;
  padding:10px 12px;
  min-width:140px !important;
}

.admin-status-save-btn{
  min-width:100px !important;
  height:36px !important;
  font-size:13px !important;
}

.account-summary-grid > :first-child:hover {
  cursor: pointer;
}

#nicknameInput:hover{
  cursor: pointer;
}

input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
textarea:-webkit-autofill,
select:-webkit-autofill {
  -webkit-text-fill-color: #fff !important;
  -webkit-box-shadow: 0 0 0px 1000px #0f172a inset !important;
  box-shadow: 0 0 0px 1000px #0f172a inset !important;
  transition: background-color 9999s ease-in-out 0s !important;
  caret-color: #fff !important;
}

.account-reuse-btn{
  width:34px;
  height:34px;
  border:none;
  border-radius:10px;
  background:rgba(46,124,246,0.12);
  color:#7db7ff;
  border:1px solid rgba(46,124,246,0.22);
  display:inline-flex;
  align-items:center;
  justify-content:center;
  cursor:pointer;
  transition:background var(--transition), transform var(--transition), border-color var(--transition);
}

.account-reuse-btn:hover{
  background:rgba(46,124,246,0.18);
  border-color:rgba(46,124,246,0.34);
  transform:translateY(-1px);
}

.account-job-input-json{
  display:none;
}

.account-reuse-modal.hidden{
  display:none !important;
}

.account-reuse-modal{
  position:fixed;
  inset:0;
  z-index:9999;
}

.account-reuse-backdrop{
  position:absolute;
  inset:0;
  background:rgba(0,0,0,.55);
  backdrop-filter:blur(4px);
}

.account-reuse-dialog{
  position:relative;
  z-index:1;
  width:min(760px, calc(100vw - 32px));
  max-height:85vh;
  overflow:auto;
  margin:6vh auto 0;
  background:rgba(30,41,59,.96);
  border:1px solid rgba(255,255,255,.10);
  border-radius:20px;
  box-shadow:0 20px 60px rgba(0,0,0,.35);
  padding:22px;
}

.account-reuse-head{
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  gap:16px;
  margin-bottom:18px;
}

.account-reuse-head h3{
  margin:0 0 6px 0;
}

.account-reuse-head p{
  margin:0;
  color:var(--muted);
}

.account-reuse-close{
  width:40px;
  height:40px;
  border:none;
  border-radius:10px;
  background:rgba(255,255,255,.06);
  color:#fff;
  cursor:pointer;
}

.account-reuse-body{
  display:flex;
  flex-direction:column;
  gap:14px;
}

.account-reuse-row{
  display:flex;
  flex-direction:column;
  gap:8px;
}

.account-reuse-row-head{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:12px;
}

.account-reuse-label{
  font-size:.92rem;
  color:var(--muted-light);
}

.account-reuse-copy{
  border:none;
  border-radius:10px;
  padding:8px 12px;
  background:rgba(46,124,246,.14);
  color:#9cc5ff;
  cursor:pointer;
  font:inherit;
}

.account-reuse-value{
  width:100%;
  border-radius:12px;
  border:1px solid rgba(255,255,255,.08);
  background:#0f172a;
  color:#fff;
  padding:12px 14px;
  font:inherit;
}

textarea.account-reuse-value{
  min-height:120px;
  resize:vertical;
}

.account-reuse-foot{
  display:flex;
  justify-content:flex-end;
  margin-top:18px;
}

@media (max-width:640px){
  .account-reuse-dialog{
    padding:16px;
    margin-top:3vh;
  }
}

.turnstile-wrap {
  display: flex;
  justify-content: center;
  margin: 18px 0 14px;
}

.hp-field {
  position: absolute;
  left: -9999px;
  opacity: 0;
  pointer-events: none;
}

#femaleVoices .voice-item:hover,
#femaleVoices .voice-item.active {
  border-color: #ff4fb3;
  background: rgba(255, 79, 179, 0.15);
}

#maleVoices .voice-item:hover,
#maleVoices .voice-item.active {
  border-color: #4f8cff;
  background: rgba(79, 140, 255, 0.15);
}

.account-job-meta{
  margin: -4px 0 0 0;
  font-size: .85rem;
  color: var(--muted-light);
  opacity: .85;
}

.account-result-btn{
  width:34px;
  height:34px;
  border:none;
  border-radius:10px;
  background:rgba(34,197,94,0.12);
  color:#63e6a1;
  border:1px solid rgba(34,197,94,0.24);
  display:inline-flex;
  align-items:center;
  justify-content:center;
  cursor:pointer;
  transition:background var(--transition), transform var(--transition), border-color var(--transition);
}

.account-result-btn:hover{
  background:rgba(34,197,94,0.18);
  border-color:rgba(34,197,94,0.34);
  transform:translateY(-1px);
}

.account-report-btn{
  width:34px;
  height:34px;
  border:none;
  border-radius:10px;
  background:rgba(249,115,22,0.12);
  color:#ffb067;
  border:1px solid rgba(249,115,22,0.24);
  display:inline-flex;
  align-items:center;
  justify-content:center;
  cursor:pointer;
  position:relative;
  overflow:hidden;
  transition:background var(--transition), transform var(--transition), border-color var(--transition);
}

.account-report-btn:hover{
  background:rgba(249,115,22,0.18);
  border-color:rgba(249,115,22,0.34);
  transform:translateY(-1px);
}

.account-report-fill{
  position:absolute;
  inset:0;
  width:0%;
  background:linear-gradient(90deg, rgba(249,115,22,0.55), rgba(249,115,22,0.9));
  transition:width 0s;
  z-index:0;
}

.account-report-icon{
  position:relative;
  z-index:1;
  display:inline-flex;
  align-items:center;
  justify-content:center;
}

.account-report-btn.is-holding .account-report-fill{
  width:100%;
  transition:width 1.5s linear;
}

.report-card .account-job-actions{
  width:auto;
}

.report-card .account-status{
  margin-right:0;
}
.account-report-btn{
  width:36px;
  height:36px;
  border:none;
  border-radius:10px;
  background:rgba(249,115,22,0.12);
  color:#ffb067;
  border:1px solid rgba(249,115,22,0.24);
  display:inline-flex;
  align-items:center;
  justify-content:center;
  cursor:pointer;
  position:relative;
  overflow:hidden;
  transition:background var(--transition), transform var(--transition), border-color var(--transition), color var(--transition), opacity var(--transition);
}

.account-report-btn:hover{
  background:rgba(249,115,22,0.18);
  border-color:rgba(249,115,22,0.34);
  transform:translateY(-1px);
}

.account-report-fill{
  position:absolute;
  inset:0;
  width:0%;
  background:linear-gradient(90deg, rgba(249,115,22,0.35), rgba(249,115,22,0.72));
  transition:width 0s;
  z-index:0;
}

.account-report-icon{
  position:relative;
  z-index:1;
  display:inline-flex;
  align-items:center;
  justify-content:center;
}

.account-report-btn.is-holding .account-report-fill{
  width:100%;
  transition:width 3s linear;
}

.account-report-btn.is-reported,
.account-report-btn.is-report-locked{
  background:rgba(249,115,22,0.16);
  border-color:rgba(249,115,22,0.32);
  color:#ffb067;
}

.account-report-btn.is-reported,
.account-report-btn.is-report-locked{
  background:rgba(249,115,22,0.16);
  border-color:rgba(249,115,22,0.32);
  color:#ffb067;
}

.account-report-btn.is-reported .account-report-fill,
.account-report-btn.is-report-locked .account-report-fill{
  width:100%;
  background:linear-gradient(90deg, rgba(249,115,22,0.10), rgba(249,115,22,0.28), rgba(249,115,22,0.10));
  animation: accountReportPulse 2.2s ease-in-out infinite;
}

@keyframes accountReportPulse{
  0%{
    opacity:.35;
    transform:translateX(-18%);
  }
  50%{
    opacity:.85;
    transform:translateX(18%);
  }
  100%{
    opacity:.35;
    transform:translateX(-18%);
  }
}

.account-report-btn:disabled{
  opacity:1;
  cursor:default;
  transform:none;
}

.admin-table-wrap{
  max-height:420px;
  overflow:auto;
  border:1px solid rgba(255,255,255,.08);
  border-radius:14px;
  background:rgba(255,255,255,.02);
}

.admin-table{
  width:100%;
  border-collapse:collapse;
  table-layout:fixed;
  font-size:16px;
}

.admin-table th,
.admin-table td{
  text-align:left;
  padding:10px;
  border-bottom:1px solid rgba(255,255,255,.06);
  vertical-align:middle;
}

.admin-table thead th{
  position:sticky;
  top:0;
  z-index:1;
  background:#1e293b;
  border-bottom:1px solid rgba(255,255,255,.12);
}

.admin-filters-row{
  margin:12px 0 18px 0;
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  align-items:center;
}

.admin-filter-select{
  max-width:220px;
}

.admin-usage-user-free{
  color:#cbd5e1;
}

.admin-usage-user-member{
  color:#7dd3fc;
  font-weight:600;
}

.admin-inline-count{
  display:inline-flex;
  align-items:center;
  margin-left:8px;
  font-size:.82rem;
  font-weight:600;
  color:var(--muted-light);
  opacity:.9;
}

.admin-tool-access-select,
.admin-status-select {
  margin-bottom: 0 !important;
}

.form-check-inline{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  line-height: 1;
  margin: 0;
}

.form-check-inline input[type="checkbox"]{
  width: auto;
  margin: 0;
  vertical-align: middle;
}

.form-check-inline span{
  display: inline-flex;
  align-items: center;
}

/* ===== PRICING DETAILS ===== */

.pricing-details{
  max-width:1300px;
  margin:70px auto 0;
  padding:0 20px;
}

.pricing-details-head{
  text-align:center;
  max-width:860px;
  margin:0 auto 28px;
}

.pricing-details-head h2{
  margin:0 0 12px 0;
  font-size:2rem;
  letter-spacing:-0.02em;
}

.pricing-details-head p{
  margin:0;
  color:var(--muted);
  line-height:1.7;
}

.pricing-anchor-actions{
  margin-top:18px;
  display:flex;
  justify-content:center;
  gap:12px;
  flex-wrap:wrap;
}

.pricing-table-wrap{
  margin-top:26px;
  background:rgba(30,41,59,0.78);
  border:1px solid var(--border);
  border-radius:20px;
  box-shadow:var(--shadow);
  backdrop-filter:blur(10px);
  overflow:auto;
}

.pricing-table{
  width:100%;
  min-width:900px;
  border-collapse:collapse;
}

.pricing-table thead th{
  position:sticky;
  top:0;
  z-index:1;
  background:#1e293b;
  color:#fff;
  text-align:left;
  font-size:15px;
  font-weight:600;
  padding:18px 16px;
  border-bottom:1px solid rgba(255,255,255,0.10);
}

.pricing-table tbody td{
  padding:16px;
  border-bottom:1px solid rgba(255,255,255,0.07);
  vertical-align:top;
  color:var(--muted-light);
  font-size:15px;
  line-height:1.6;
}

.pricing-table tbody tr:last-child td{
  border-bottom:none;
}

.pricing-table tbody td:first-child{
  color:#fff;
  font-weight:600;
  width:260px;
}

.pricing-table .plan-col-featured{
  background:rgba(46,124,246,0.06);
}

.pricing-table .yes{
  color:#63e6a1;
  font-weight:600;
}

.pricing-table .no{
  color:#ff8b8b;
  font-weight:600;
}

.pricing-table .muted{
  color:var(--muted);
}

.pricing-section-block{
  margin-top:26px;
  background:rgba(30,41,59,0.78);
  border:1px solid var(--border);
  border-radius:20px;
  padding:24px;
  box-shadow:var(--shadow);
  backdrop-filter:blur(10px);
}

.pricing-section-block h3{
  margin:0 0 10px 0;
  font-size:1.35rem;
}

.pricing-section-block p{
  margin:0;
  color:var(--muted);
  line-height:1.7;
}

.pricing-mini-list{
  margin:16px 0 0 0;
  padding-left:18px;
}

.pricing-mini-list li{
  margin-bottom:8px;
  color:var(--muted-light);
  line-height:1.6;
}

.container.container-pricing-wide{
  max-width:1400px;
}

.container.container-pricing-wide .pricing-grid{
  max-width:none;
  padding:0;
}

.hero.hero-pricing{
  margin-top:48px;
  margin-bottom:10px;
}

.pricing-card{
  padding:24px 20px;
}

.pricing-card h2{
  margin:0 0 8px;
  font-size:1.65rem;
}

.pricing-card .price{
  font-size:1.08rem;
  margin:8px 0 10px;
}

.plan-tagline{
  margin:0 0 12px;
  line-height:1.45;
  font-size:.95rem;
  color:rgba(255,255,255,0.74);
}

.pricing-card ul{
  margin:0 0 18px;
  padding-left:18px;
}

.pricing-card li{
  margin-bottom:7px;
  line-height:1.45;
  font-size:.95rem;
}

.account-wallet-positive{
  color:#63e6a1;
  font-weight:700;
}

.account-wallet-negative{
  color:#ff8b8b;
  font-weight:700;
}

.account-billing-note{
  margin-top:16px;
  padding:14px 16px;
  border-radius:14px;
  background:rgba(255,255,255,.04);
  border:1px solid rgba(255,255,255,.08);
  color:var(--muted-light);
  line-height:1.6;
}

#account-tab-billing .account-section{
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(30,41,59,0.88) 0%, rgba(15,23,42,0.92) 100%);
  border: 1px solid rgba(255,255,255,0.08);
}

#account-tab-billing .account-section::before{
  content:"";
  position:absolute;
  top:0;
  left:0;
  right:0;
  height:3px;
  background:linear-gradient(90deg,#2ED3A8,#2E7CF6);
  opacity:.95;
}

#account-tab-billing .account-summary-card{
  background:
    linear-gradient(180deg, rgba(255,255,255,0.035) 0%, rgba(255,255,255,0.02) 100%);
  border:1px solid rgba(255,255,255,0.08);
  box-shadow:
    0 10px 30px rgba(0,0,0,0.18),
    inset 0 1px 0 rgba(255,255,255,0.03);
}

#account-tab-billing .account-summary-card:hover{
  border-color: rgba(46,124,246,0.22);
  box-shadow:
    0 12px 34px rgba(0,0,0,0.22),
    0 0 0 1px rgba(46,124,246,0.08);
}

#account-tab-billing .account-section-head h2,
#account-tab-billing .account-tool-head h3{
  background: linear-gradient(90deg,#ffffff 0%, #dff7ff 35%, #7dd3fc 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.account-summary-card--highlight{
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(46,211,168,0.30);
  background:
    linear-gradient(135deg, rgba(46,211,168,0.10), rgba(46,124,246,0.12)),
    rgba(30,41,59,0.88);
  box-shadow:
    0 12px 34px rgba(0,0,0,0.24),
    0 0 0 1px rgba(46,211,168,0.10);
}

.account-summary-card--highlight::before{
  content:"";
  position:absolute;
  top:0;
  left:0;
  right:0;
  height:3px;
  background:linear-gradient(90deg,#2ED3A8,#2E7CF6);
  border-top-left-radius:18px;
  border-top-right-radius:18px;
}

 .sg-billing-modal-backdrop {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background:
      radial-gradient(circle at top, rgba(91, 141, 239, 0.16), transparent 35%),
      rgba(7, 10, 18, 0.82);
    backdrop-filter: blur(10px);
  }

  .sg-billing-modal-backdrop.is-open {
    display: flex;
  }

  .sg-billing-modal {
    width: min(920px, 100%);
    max-height: min(92vh, 980px);
    overflow: auto;
    border-radius: 28px;
    background: linear-gradient(180deg, #0f1727 0%, #0c1320 100%);
    color: #f8fafc;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow:
      0 30px 80px rgba(0, 0, 0, 0.45),
      0 0 0 1px rgba(255, 255, 255, 0.03) inset;
  }

  .sg-billing-modal-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    padding: 28px 28px 18px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .sg-billing-modal-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #93c5fd;
    background: rgba(59, 130, 246, 0.14);
    border: 1px solid rgba(59, 130, 246, 0.28);
    border-radius: 999px;
    padding: 7px 12px;
    margin-bottom: 14px;
  }

  .sg-billing-modal-title {
    margin: 0 0 8px;
    font-size: clamp(24px, 3vw, 34px);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.02em;
  }

  .sg-billing-modal-subtitle {
    margin: 0;
    color: rgba(226, 232, 240, 0.78);
    font-size: 15px;
    line-height: 1.6;
    max-width: 640px;
  }

  .sg-billing-modal-close {
    appearance: none;
    border: 0;
    cursor: pointer;
    width: 42px;
    height: 42px;
    border-radius: 14px;
    color: #e2e8f0;
    background: rgba(255, 255, 255, 0.06);
    transition: 0.2s ease;
    font-size: 24px;
    line-height: 1;
  }

  .sg-billing-modal-close:hover {
    background: rgba(255, 255, 255, 0.12);
    transform: translateY(-1px);
  }

  .sg-billing-modal-body {
    padding: 24px 28px 18px;
  }

  .sg-billing-modal-grid {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 18px;
  }

  .sg-billing-panel {
    border-radius: 22px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
  }

  .sg-billing-panel-title {
    margin: 0 0 14px;
    font-size: 14px;
    font-weight: 700;
    color: #cbd5e1;
    letter-spacing: 0.01em;
  }

  .sg-billing-plan-stack {
    display: grid;
    gap: 12px;
  }

  .sg-billing-plan-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    border-radius: 18px;
    padding: 16px 18px;
    background: rgba(15, 23, 42, 0.68);
    border: 1px solid rgba(255, 255, 255, 0.08);
  }

  .sg-billing-plan-card.is-next {
    background: linear-gradient(180deg, rgba(37, 99, 235, 0.18), rgba(15, 23, 42, 0.82));
    border-color: rgba(96, 165, 250, 0.34);
  }

  .sg-billing-plan-label {
    display: block;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #94a3b8;
    margin-bottom: 6px;
    font-weight: 700;
  }

  .sg-billing-plan-name {
    font-size: 20px;
    font-weight: 800;
    letter-spacing: -0.02em;
    margin: 0 0 4px;
  }

  .sg-billing-plan-cycle {
    margin: 0;
    color: rgba(226, 232, 240, 0.76);
    font-size: 14px;
  }

  .sg-billing-plan-price {
    text-align: right;
  }

  .sg-billing-plan-price strong {
    display: block;
    font-size: 24px;
    font-weight: 800;
    letter-spacing: -0.02em;
  }

  .sg-billing-plan-price span {
    color: rgba(226, 232, 240, 0.68);
    font-size: 13px;
  }

  .sg-billing-summary-list {
    display: grid;
    gap: 12px;
  }

  .sg-billing-summary-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
    border-radius: 16px;
    padding: 14px 16px;
    background: rgba(15, 23, 42, 0.58);
    border: 1px solid rgba(255, 255, 255, 0.06);
  }

  .sg-billing-summary-row-label {
    font-size: 13px;
    color: #94a3b8;
    font-weight: 700;
  }

  .sg-billing-summary-row-value {
    text-align: right;
    font-size: 14px;
    font-weight: 700;
    color: #f8fafc;
  }

  .sg-billing-note {
    margin-top: 18px;
    border-radius: 18px;
    padding: 16px 18px;
    background: rgba(34, 197, 94, 0.08);
    border: 1px solid rgba(74, 222, 128, 0.18);
    color: #dcfce7;
    font-size: 14px;
    line-height: 1.6;
  }

  .sg-billing-note strong {
    color: #ffffff;
  }

  .sg-billing-modal-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 18px 28px 28px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
  }

  .sg-billing-footer-left {
    color: rgba(226, 232, 240, 0.72);
    font-size: 13px;
    line-height: 1.5;
  }

  .sg-billing-footer-left strong {
    color: #f8fafc;
  }

  .sg-billing-footer-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
  }

  .sg-billing-btn {
    appearance: none;
    border: 0;
    cursor: pointer;
    border-radius: 14px;
    padding: 14px 18px;
    font-size: 14px;
    font-weight: 800;
    transition: 0.2s ease;
  }

  .sg-billing-btn-secondary {
    color: #f8fafc;
    background: rgba(255, 255, 255, 0.08);
  }

  .sg-billing-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.14);
  }

  .sg-billing-btn-primary {
    color: #08111f;
    background: linear-gradient(180deg, #9cc7ff 0%, #60a5fa 100%);
    box-shadow: 0 12px 30px rgba(59, 130, 246, 0.24);
  }

  .sg-billing-btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 16px 34px rgba(59, 130, 246, 0.3);
  }

  .sg-billing-btn-primary:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
  }

  .account-job-progress {
    margin: 8px 0 12px;
  }

  .account-job-progress.hidden {
    display: none;
  }

  .account-job-progress-bar {
    width: 100%;
    height: 8px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    overflow: hidden;
  }

  .account-job-progress-fill {
    width: 0;
    height: 100%;
    border-radius: 999px;
    background: #ff8a3d;
    transition: width 0.35s ease;
  }

  .account-job-progress-text {
    margin: 6px 0 0;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.78);
  }

  .sg-billing-plan-details-toggle {
    width: 100%;
    margin-top: 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 14px;
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 16px;
    background: rgba(255,255,255,0.04);
    color: #eaf2ff;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
  }

  .sg-billing-plan-details-toggle:hover {
    background: rgba(255,255,255,0.07);
    border-color: rgba(120, 190, 255, 0.28);
  }

  .sg-billing-plan-details-chevron {
    opacity: 0.8;
  }

  .sg-billing-plan-details {
    margin-top: 12px;
    padding: 14px;
    border-radius: 18px;
    border: 1px solid rgba(255,255,255,0.06);
    background: rgba(7, 18, 37, 0.42);
  }

  .sg-billing-plan-details-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .sg-billing-plan-details-item {
    padding: 12px 13px;
    border-radius: 14px;
    border: 1px solid rgba(255,255,255,0.06);
    background: rgba(255,255,255,0.03);
  }

  .sg-billing-plan-details-label {
    display: block;
    color: rgba(190, 206, 232, 0.78);
    font-size: 0.78rem;
    margin-bottom: 6px;
  }

  .sg-billing-plan-details-value {
    color: #f5f9ff;
    font-size: 0.95rem;
    font-weight: 800;
    line-height: 1.35;
  }

  #timedTextHint{
    margin-top: -19px;
    padding-top: 0;
    margin-bottom: 28px;
  }

  /*BILING INFO MODALE*/
  .sg-info-modal[hidden] {
    display: none !important;
  }

  .sg-info-modal {
    position: fixed;
    inset: 0;
    z-index: 1200;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    overflow-y: auto;
    padding: 24px;
    background: rgba(2, 8, 23, 0.76);
    backdrop-filter: blur(12px);
  }

  .sg-info-modal__dialog {
    width: min(980px, 100%);
    margin: auto 0;
    border-radius: 30px;
    overflow: visible;
    border: 1px solid rgba(110, 180, 255, 0.18);
    background:
      radial-gradient(circle at 8% 0%, rgba(42, 219, 255, 0.14), transparent 28%),
      radial-gradient(circle at 100% 100%, rgba(58, 112, 255, 0.10), transparent 24%),
      linear-gradient(180deg, #071225 0%, #09172e 58%, #08111f 100%);
    box-shadow:
      0 34px 90px rgba(0, 0, 0, 0.56),
      inset 0 0 0 1px rgba(255,255,255,0.03);
    color: #eef4ff;
  }

  .sg-info-modal__header,
  .sg-info-modal__footer {
    padding: 24px 28px;
  }

  .sg-info-modal__header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
  }

  .sg-info-modal__body {
    padding: 0 28px 20px;
    overflow: visible;
    max-height: none;
  }

  .sg-info-modal__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    border-top: 1px solid rgba(255,255,255,0.08);
  }

  .sg-info-modal__eyebrow {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 0 14px;
    border-radius: 999px;
    border: 1px solid rgba(97, 191, 255, 0.24);
    background: rgba(18, 45, 93, 0.52);
    color: #9ad7ff;
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
  }

  .sg-info-modal__title {
    margin: 14px 0 8px;
    color: #f8fbff;
    font-size: clamp(1.8rem, 3vw, 2.65rem);
    line-height: 1.04;
    font-weight: 800;
  }

  .sg-info-modal__subtitle {
    margin: 0;
    color: rgba(221, 231, 248, 0.78);
    font-size: 1rem;
    line-height: 1.6;
    max-width: 740px;
  }

  .sg-info-modal__close {
    border: 0;
    width: 42px;
    height: 42px;
    border-radius: 14px;
    background: rgba(255,255,255,0.08);
    color: #dce9ff;
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
    flex-shrink: 0;
  }

  .sg-info-modal__footerText {
    color: rgba(201, 214, 236, 0.75);
    font-size: 0.92rem;
    line-height: 1.55;
  }

  .sg-info-modal__action {
    border: 0;
    min-height: 44px;
    padding: 0 18px;
    border-radius: 14px;
    background: linear-gradient(180deg, #94c8ff 0%, #6ba8f7 100%);
    color: #071427;
    font-weight: 800;
    cursor: pointer;
    flex-shrink: 0;
  }

  /* ===== Shared panel look ===== */
  .sg-info-panel {
    padding: 20px;
    border-radius: 24px;
    border: 1px solid rgba(255,255,255,0.08);
    background: linear-gradient(180deg, rgba(18, 31, 58, 0.92) 0%, rgba(11, 22, 42, 0.92) 100%);
    box-shadow: inset 0 0 0 1px rgba(255,255,255,0.02);
  }

  .sg-info-panel--accent {
    background:
      radial-gradient(circle at top left, rgba(61, 217, 255, 0.10), transparent 36%),
      linear-gradient(180deg, rgba(16, 30, 58, 0.95) 0%, rgba(11, 22, 42, 0.95) 100%);
  }

  .sg-info-sectionTitle {
    margin: 0;
    color: #f3f8ff;
    font-size: 0.98rem;
    font-weight: 700;
  }

  .sg-info-muted {
    color: rgba(206, 219, 240, 0.76);
  }

  /* ===== Plan modal ===== */
  .sg-plan-modal__heroMeta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 18px;
  }

  .sg-plan-modal__heroPill {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 42px;
    padding: 0 14px;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,0.08);
    background: rgba(10, 23, 45, 0.68);
    color: rgba(222, 234, 252, 0.88);
    font-size: 0.88rem;
    white-space: nowrap;
  }

  .sg-plan-modal__heroPill strong {
    color: #f8fbff;
    font-weight: 800;
  }

  .sg-plan-modal__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
    gap: 16px;
    margin-top: 18px;
  }

  .sg-plan-modal__topRow {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 14px;
  }

  .sg-plan-modal__label {
    margin-bottom: 8px;
    color: rgba(155, 182, 226, 0.78);
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
  }

  .sg-plan-modal__planName {
    margin: 0;
    color: #f8fbff;
    font-size: 2rem;
    line-height: 1.02;
    font-weight: 800;
  }

  .sg-plan-modal__planText {
    margin-top: 8px;
    color: rgba(219, 230, 247, 0.80);
    font-size: 0.98rem;
    line-height: 1.55;
  }

  .sg-plan-modal__priceBadge {
    flex-shrink: 0;
    padding: 14px 16px;
    border-radius: 18px;
    border: 1px solid rgba(84, 162, 255, 0.24);
    background: linear-gradient(180deg, rgba(15, 31, 59, 0.98) 0%, rgba(12, 26, 49, 0.98) 100%);
    color: #f8fbff;
    font-size: 1.45rem;
    font-weight: 800;
    line-height: 1.1;
    text-align: right;
    white-space: nowrap;
    box-shadow: 0 10px 28px rgba(0,0,0,0.22);
  }

  .sg-plan-modal__annualCard {
    display: grid;
    gap: 4px;
    margin-bottom: 16px;
    padding: 14px 16px;
    border-radius: 18px;
    border: 1px solid rgba(61, 218, 207, 0.20);
    background: linear-gradient(180deg, rgba(9, 48, 63, 0.82) 0%, rgba(10, 36, 52, 0.82) 100%);
    color: rgba(223, 248, 246, 0.92);
  }

  .sg-plan-modal__annualCard strong {
    color: #ffffff;
    font-size: 1.1rem;
    font-weight: 800;
  }

  .sg-plan-modal__annualLabel {
    color: #f3f8ff;
    font-size: 0.95rem;
    font-weight: 700;
  }

  .sg-plan-modal__featureList {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-top: 14px;
  }

  .sg-plan-modal__featureItem {
    position: relative;
    min-height: 100%;
    padding: 12px 14px 12px 38px;
    border-radius: 16px;
    border: 1px solid rgba(255,255,255,0.06);
    background: rgba(10, 23, 44, 0.74);
    color: rgba(235, 243, 255, 0.90);
    font-size: 0.94rem;
    line-height: 1.45;
  }

  .sg-plan-modal__featureItem::before {
    content: '';
    position: absolute;
    left: 15px;
    top: 18px;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: linear-gradient(180deg, #3ee1cf 0%, #3f95ff 100%);
    box-shadow: 0 0 0 5px rgba(62, 225, 207, 0.12);
  }

  .sg-plan-modal__statsGrid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-top: 14px;
  }

  .sg-plan-modal__statTile {
    padding: 14px 14px 13px;
    border-radius: 18px;
    border: 1px solid rgba(255,255,255,0.06);
    background: rgba(10, 23, 44, 0.70);
  }

  .sg-plan-modal__statTileLabel {
    color: rgba(172, 190, 221, 0.80);
    font-size: 0.78rem;
    font-weight: 700;
    line-height: 1.35;
  }

  .sg-plan-modal__statTileValue {
    margin-top: 10px;
    color: #f8fbff;
    font-size: 1.06rem;
    font-weight: 800;
    line-height: 1.3;
  }

  .sg-plan-modal__footnote {
    margin-top: 14px;
    padding: 13px 14px;
    border-radius: 16px;
    border: 1px solid rgba(255,255,255,0.06);
    background: rgba(255,255,255,0.03);
    color: rgba(206, 219, 240, 0.76);
    font-size: 0.90rem;
    line-height: 1.55;
  }

  /* ===== Vify modal ===== */
  .sg-vify-modal__heroMeta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 18px;
  }

  .sg-vify-modal__heroPill {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 42px;
    padding: 0 14px;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,0.08);
    background: rgba(10, 23, 45, 0.68);
    color: rgba(222, 234, 252, 0.88);
    font-size: 0.88rem;
    white-space: nowrap;
  }

  .sg-vify-modal__heroPill strong {
    color: #f8fbff;
    font-weight: 800;
  }

  .sg-vify-modal__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 16px;
    margin-top: 18px;
  }

  .sg-vify-modal__totalCard {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 18px;
    border-radius: 22px;
    border: 1px solid rgba(77, 176, 255, 0.22);
    background:
      radial-gradient(circle at left top, rgba(67, 226, 255, 0.12), transparent 34%),
      linear-gradient(180deg, rgba(13, 30, 57, 0.98) 0%, rgba(12, 25, 46, 0.98) 100%);
    box-shadow: 0 12px 28px rgba(0,0,0,0.20);
  }

  .sg-vify-modal__totalLabel {
    color: rgba(178, 197, 231, 0.82);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
  }

  .sg-vify-modal__totalValue {
    margin-top: 8px;
    color: #f8fbff;
    font-size: clamp(2rem, 4vw, 2.8rem);
    line-height: 1;
    font-weight: 800;
  }

  .sg-vify-modal__totalText {
    margin-top: 10px;
    color: rgba(219, 230, 247, 0.80);
    font-size: 0.95rem;
    line-height: 1.55;
    max-width: 520px;
  }

  .sg-vify-modal__totalBadge {
    align-self: flex-start;
    padding: 12px 14px;
    border-radius: 16px;
    border: 1px solid rgba(62, 225, 207, 0.24);
    background: rgba(18, 58, 61, 0.70);
    color: #dffaf2;
    font-size: 0.88rem;
    font-weight: 800;
    white-space: nowrap;
  }

  .sg-vify-modal__bucketList {
    display: grid;
    gap: 12px;
    margin-top: 14px;
  }

  .sg-vify-modal__bucketItem {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 16px;
    border-radius: 18px;
    border: 1px solid rgba(255,255,255,0.06);
    background: rgba(10, 23, 44, 0.72);
  }

  .sg-vify-modal__bucketName {
    color: #f8fbff;
    font-size: 1rem;
    font-weight: 700;
  }

  .sg-vify-modal__bucketNote {
    margin-top: 6px;
    color: rgba(187, 201, 226, 0.82);
    font-size: 0.9rem;
    line-height: 1.52;
    max-width: 460px;
  }

  .sg-vify-modal__bucketAmount {
    align-self: center;
    padding: 10px 14px;
    border-radius: 16px;
    border: 1px solid rgba(255,255,255,0.07);
    background: rgba(255,255,255,0.03);
    color: #f8fbff;
    font-size: 1.1rem;
    font-weight: 800;
    white-space: nowrap;
  }

  .sg-vify-modal__flowList {
    display: grid;
    gap: 12px;
    margin-top: 14px;
  }

  .sg-vify-modal__flowItem {
    display: flex;
    gap: 14px;
    padding: 15px 16px;
    border-radius: 18px;
    border: 1px solid rgba(255,255,255,0.06);
    background: rgba(10, 23, 44, 0.72);
  }

  .sg-vify-modal__flowIndex {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    flex: 0 0 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(180deg, #3ee1cf 0%, #3f95ff 100%);
    color: #05111f;
    font-weight: 900;
    font-size: 0.9rem;
    box-shadow: 0 0 0 5px rgba(62, 225, 207, 0.10);
  }

  .sg-vify-modal__flowTitle {
    color: #f8fbff;
    font-size: 0.98rem;
    font-weight: 700;
  }

  .sg-vify-modal__flowText {
    margin-top: 5px;
    color: rgba(205, 219, 242, 0.80);
    font-size: 0.92rem;
    line-height: 1.55;
  }

  .sg-vify-modal__ruleGrid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    margin-top: 14px;
  }

  .sg-vify-modal__ruleCard {
    padding: 15px 16px;
    border-radius: 18px;
    border: 1px solid rgba(255,255,255,0.06);
    background: rgba(10, 23, 44, 0.72);
  }

  .sg-vify-modal__ruleTitle {
    color: #f8fbff;
    font-size: 0.95rem;
    font-weight: 700;
  }

  .sg-vify-modal__ruleText {
    margin-top: 6px;
    color: rgba(205, 219, 242, 0.80);
    font-size: 0.92rem;
    line-height: 1.56;
  }

  .sg-vify-modal__footnote {
    margin-top: 14px;
    padding: 13px 14px;
    border-radius: 16px;
    border: 1px solid rgba(61, 218, 207, 0.16);
    background: linear-gradient(180deg, rgba(12, 46, 58, 0.80) 0%, rgba(10, 34, 46, 0.80) 100%);
    color: rgba(223, 248, 246, 0.92);
    font-size: 0.90rem;
    line-height: 1.55;
  }

  .sg-vify-modal__lotsScroll {
    max-height: 320px;
    overflow-y: auto;
    padding-right: 6px;
  }

.admin-billing-open-modal-btn{
  padding:8px 12px;
  border:none;
  border-radius:10px;
  background: #1f7a8c;
  color:#fff;
  font-size:13px;
  font-weight:600;
  cursor:pointer;
  transition:background .2s ease, transform .15s ease, opacity .2s ease;
}

.admin-billing-resolve-btn:hover{
  background:#1f2937;
  transform:translateY(-1px);
}

.admin-billing-resolve-btn:disabled{
  opacity:.6;
  cursor:not-allowed;
  transform:none;
}

.admin-billing-modal.hidden{
  display:none;
}

.admin-billing-modal{
  position:fixed;
  inset:0;
  z-index:9999;
}

.admin-billing-modal-backdrop{
  position:absolute;
  inset:0;
  background:rgba(6, 14, 30, 0.52);
  backdrop-filter:blur(3px);
}

.admin-billing-modal-dialog{
  position:relative;
  z-index:1;
  width:min(620px, calc(100% - 32px));
  margin:48px auto;
  background:#1b2a44;
  border:1px solid rgba(255,255,255,.08);
  border-radius:22px;
  box-shadow:0 24px 60px rgba(0,0,0,.28);
  overflow:hidden;
}

.admin-billing-modal-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  padding:20px 22px;
  border-bottom:1px solid rgba(255,255,255,.08);
  background:rgba(255,255,255,.01);
}

.admin-billing-modal-head h3{
  margin:0;
  font-size:20px;
  font-weight:700;
  color:#f8fafc;
}

.admin-billing-modal-close{
  border:none;
  background:transparent;
  color:#cbd5e1;
  font-size:28px;
  line-height:1;
  cursor:pointer;
  transition:opacity .2s ease, transform .2s ease;
}

.admin-billing-modal-close:hover{
  opacity:1;
  transform:scale(1.05);
}

.admin-billing-modal-body{
  padding:22px;
}

.admin-billing-modal-body .account-label{
  display:block;
  margin:0 0 8px 0;
  font-size:13px;
  font-weight:600;
  color:#cbd5e1;
}

.admin-billing-modal-body .account-input{
  width:100%;
  box-sizing:border-box;
  background:#081a3a;
  border:1px solid rgba(255,255,255,.08);
  color:#f8fafc;
  border-radius:14px;
  padding:12px 14px;
}

.admin-billing-modal-body .account-input::placeholder{
  color:#94a3b8;
}

.admin-billing-modal-body .account-input:focus{
  outline:none;
  border-color:rgba(56,189,248,.55);
  box-shadow:0 0 0 3px rgba(56,189,248,.10);
}

.admin-billing-modal-body textarea.account-input{
  min-height:120px;
  resize:vertical;
}

.admin-billing-modal-foot{
  display:flex;
  justify-content:flex-end;
  gap:10px;
  padding:18px 22px 22px 22px;
  border-top:1px solid rgba(255,255,255,.08);
  background:rgba(255,255,255,.01);
}

#adminBillingModalCancel,
#adminBillingModalSubmit{
  border:none;
  border-radius:12px;
  padding:10px 16px;
  font-size:14px;
  font-weight:600;
  cursor:pointer;
  transition:transform .15s ease, opacity .2s ease, background .2s ease;
}

#adminBillingModalCancel{
  background:rgba(255,255,255,.08);
  color:#e2e8f0;
}

#adminBillingModalCancel:hover{
  background:rgba(255,255,255,.14);
  transform:translateY(-1px);
}

#adminBillingModalSubmit{
  background:#1f7a8c;
  color:#fff;
}

#adminBillingModalSubmit:hover{
  transform:translateY(-1px);
  opacity:.96;
}

#adminBillingModalSubmit:disabled,
#adminBillingModalCancel:disabled{
  opacity:.6;
  cursor:not-allowed;
  transform:none;
}

.admin-alert-status-badge{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:90px;
  padding:6px 10px;
  border-radius:999px;
  font-size:12px;
  font-weight:700;
  line-height:1;
  border:1px solid transparent;
}

.admin-alert-status-open{
  background:rgba(239, 68, 68, 0.14);
  color:#fecaca;
  border-color:rgba(239, 68, 68, 0.28);
}

.admin-alert-status-in_review{
  background:rgba(245, 158, 11, 0.14);
  color:#fde68a;
  border-color:rgba(245, 158, 11, 0.28);
}

.admin-alert-status-resolved{
  background:rgba(34, 197, 94, 0.14);
  color:#bbf7d0;
  border-color:rgba(34, 197, 94, 0.28);
}

#adminBillingModalMarkReview{
  border:none;
  border-radius:12px;
  padding:10px 16px;
  font-size:14px;
  font-weight:600;
  cursor:pointer;
  transition:transform .15s ease, opacity .2s ease, background .2s ease;
  background:rgba(245, 158, 11, 0.18);
  color:#fde68a;
  border:1px solid rgba(245, 158, 11, 0.28);
}

#adminBillingModalMarkReview:hover{
  background:rgba(245, 158, 11, 0.26);
  transform:translateY(-1px);
}

#adminBillingModalMarkReview:disabled{
  opacity:.6;
  cursor:not-allowed;
  transform:none;
}

#accountResultModal.account-modal-hidden {
  display: none !important;
}

#accountResultModal {
  position: fixed;
  inset: 0;
  z-index: 3000;
}

#accountResultModal .account-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
}

#accountResultModal .account-modal-dialog {
  position: relative;
  z-index: 1;
  width: min(760px, calc(100vw - 32px));
  max-height: calc(100vh - 40px);
  overflow-y: auto;
  margin: 20px auto;
  background: #111827;
  color: #fff;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 18px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.35);
}

#accountResultModal .account-modal-head,
#accountResultModal .account-modal-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 18px;
}

#accountResultModal .account-modal-head {
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

#accountResultModal .account-modal-foot {
  border-top: 1px solid rgba(255,255,255,0.08);
}

#accountResultModal .account-modal-body {
  padding: 18px;
}

#accountResultModal .account-modal-close {
  border: 0;
  background: transparent;
  color: inherit;
  font-size: 18px;
  cursor: pointer;
}

body.account-modal-open {
  overflow: hidden;
}

#accountResultModal .account-reuse-summary {
  display: grid;
  gap: 8px;
}

#accountResultModal .account-reuse-line {
  margin: 0;
}

#accountResultModal .account-reuse-preview-list {
  display: grid;
  gap: 10px;
  margin-top: 12px;
}

#accountResultModal .account-reuse-preview-row {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.06);
}

#accountResultModal .account-reuse-preview-key {
  font-weight: 600;
  opacity: 0.9;
}

#accountResultModal .account-reuse-preview-value {
  opacity: 0.95;
  word-break: break-word;
}

.sailgio-modal.hidden{
  display:none;
}

.sailgio-modal{
  position:fixed;
  inset:0;
  z-index:9999;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:20px;
}

.sailgio-modal-backdrop{
  position:absolute;
  inset:0;
  background:rgba(2, 10, 28, 0.72);
  backdrop-filter:blur(6px);
}

.sailgio-modal-dialog{
  position:relative;
  width:min(100%, 520px);
  border:1px solid rgba(122, 226, 255, 0.16);
  border-radius:18px;
  background:linear-gradient(180deg, rgba(15,29,58,0.96) 0%, rgba(10,20,43,0.98) 100%);
  box-shadow:0 18px 60px rgba(0,0,0,0.45);
  padding:22px;
  color:#eaf6ff;
}

.sailgio-modal-close{
  position:absolute;
  top:12px;
  right:12px;
  width:36px;
  height:36px;
  border:none;
  border-radius:999px;
  background:rgba(255,255,255,0.08);
  color:#dff8ff;
  cursor:pointer;
}

.sailgio-modal-close:hover{
  background:rgba(255,255,255,0.14);
}

.sailgio-modal-head{
  display:flex;
  gap:14px;
  align-items:center;
  margin-bottom:18px;
}

.sailgio-modal-head h3{
  margin:0 0 4px 0;
  font-size:22px;
  color:#ffffff;
}

.sailgio-modal-head p{
  margin:0;
  color:rgba(234,246,255,0.72);
  font-size:14px;
}

.sailgio-modal-badge{
  width:50px;
  height:50px;
  border-radius:14px;
  display:flex;
  align-items:center;
  justify-content:center;
  background:linear-gradient(135deg, rgba(68,222,255,0.22), rgba(0,122,255,0.22));
  border:1px solid rgba(122,226,255,0.16);
  color:#7ae2ff;
  font-size:20px;
  flex:0 0 50px;
}

.sailgio-cost-card{
  border:1px solid rgba(122,226,255,0.14);
  border-radius:14px;
  padding:16px;
  background:rgba(255,255,255,0.04);
}

.sailgio-cost-row{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  padding:8px 0;
  font-size:14px;
}

.sailgio-cost-row span{
  color:rgba(234,246,255,0.76);
}

.sailgio-cost-row strong{
  color:#ffffff;
  font-weight:700;
}

.sailgio-cost-total{
  font-size:16px;
}

.sailgio-cost-total strong{
  color:#7ae2ff;
  font-size:18px;
}

.sailgio-cost-separator{
  height:1px;
  background:rgba(255,255,255,0.08);
  margin:8px 0;
}

.sailgio-cost-note{
  margin-top:14px;
  display:flex;
  gap:10px;
  align-items:flex-start;
  padding:12px 14px;
  border-radius:12px;
  background:rgba(80, 200, 120, 0.08);
  border:1px solid rgba(80, 200, 120, 0.16);
  color:#dff8e9;
  font-size:13px;
}

.sailgio-cost-note i{
  margin-top:2px;
  color:#63e6be;
}

.sailgio-modal-actions{
  display:flex;
  justify-content:flex-end;
  gap:10px;
  margin-top:18px;
}

#sailgioCostExtras .sailgio-cost-row strong{
  color:#ffdca8;
}

.voice-clone-section-card {
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.025);
  border-radius: 18px;
  padding: 18px;
  margin-top: 18px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.14);
}

.voice-clone-section-card .account-tool-head,
.voice-clone-section-card .account-section-head {
  margin-bottom: 16px;
}

.voice-clone-section-card .account-tool-head h3,
.voice-clone-section-card .account-section-head h2 {
  margin-bottom: 4px;
}

.voice-clone-section-card--tight {
  padding: 14px;
}

/*Surcharge*/
.pricing-card h2,
.hero-pricing h1,
.pricing-details-head h2{
  color:#f8fafc;
}

.pricing-card .price{
  color:#7dd3fc;
}

.plan-tagline,
.pricing-note p,
.pricing-details-head p,
.pricing-table tbody td,
.pricing-section-block p,
.pricing-mini-list li{
  color:#cbd5e1;
}

.pricing-card li{
  color:#e2e8f0;
}

.pricing-table tbody td:first-child{
  color:#f8fafc;
}

.vfy-step-card {
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(255,255,255,0.03);
  border-radius: 18px;
  padding: 16px;
  margin-top: 16px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.15);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.vfy-step-card:hover {
  transform: translateY(-3px);
  border-color: rgba(123, 211, 255, 0.30);
  box-shadow: 0 14px 34px rgba(0,0,0,0.22);
}

.vfy-subcard {
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.025);
  border-radius: 14px;
  padding: 12px;
  margin-top: 10px;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.vfy-subcard:hover {
  transform: translateY(-2px);
  border-color: rgba(123, 211, 255, 0.24);
  box-shadow: 0 10px 24px rgba(0,0,0,0.18);
}

#textySubmit{
  margin-top: 16px;
}








@media (max-width: 980px){
  .account-summary-grid,
  .account-jobs-grid{
    grid-template-columns:repeat(2, minmax(0, 1fr));
  }

  .account-shell{
    flex-direction:column;
  }

  .account-sidebar{
    position:relative;
    top:0;
    width:100%;
    flex:0 0 auto;
  }

  .account-sidebar.collapsed{
    width:100%;
    flex-basis:auto;
    padding:18px 14px;
  }

  .account-sidebar-nav{
    flex-direction:row;
    flex-wrap:wrap;
  }

  .account-sidebar.collapsed .account-nav-item{
    justify-content:flex-start;
    padding:14px;
  }

  .account-sidebar.collapsed .account-nav-item span{
    display:inline;
  }
}

@media (max-width:900px){
  header{
    flex-direction:column;
    align-items:flex-start;
  }

  nav{
    flex-wrap:wrap;
    gap:16px;
  }

  .hero{
    margin-top:90px;
  }

  .hero h1{
    font-size:40px;
  }

  .sg-billing-modal-grid {
    grid-template-columns: 1fr;
  }

  .sg-billing-modal-footer {
    flex-direction: column;
    align-items: stretch;
  }

  .sg-billing-footer-actions {
    width: 100%;
  }

  .sg-billing-btn {
    width: 100%;
  }

  .sg-info-modal {
    padding: 14px;
  }

  .sg-info-modal__header,
  .sg-info-modal__body,
  .sg-info-modal__footer {
    padding-left: 18px;
    padding-right: 18px;
  }

  .sg-info-modal__footer {
    flex-direction: column;
    align-items: stretch;
  }

  .sg-info-modal__action {
    width: 100%;
  }

  .sg-plan-modal__grid,
  .sg-vify-modal__grid {
    grid-template-columns: 1fr;
  }

  .sg-plan-modal__featureList,
  .sg-plan-modal__statsGrid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .pricing-grid {
    gap: 18px;
    margin-top: 28px;
  }

  .pricing-card {
    padding: 22px 18px;
  }

  .pricing-card h2 {
    font-size: 1.5rem;
  }

  .pricing-details{
    margin-top:50px;
  }

  .pricing-details-head h2{
    font-size:1.6rem;
  }

  .pricing-table thead th,
  .pricing-table tbody td{
    padding:14px 12px;
    font-size:14px;
  }

  .sg-billing-plan-details-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width:640px){
  .container{
    padding:24px;
  }

  .logo img{
    width:180px;
  }

  .hero h1{
    font-size:34px;
  }

  .hero p{
    font-size:16px;
  }

  .voicelify-box{
    padding:18px;
  }

  .account-header{
    flex-direction:column;
    align-items:stretch;
  }

  .account-summary-grid,
  .account-jobs-grid{
    grid-template-columns:1fr;
  }

  .account-tool-head,
  .account-job-top{
    flex-direction:column;
    align-items:flex-start;
  }

  .sg-plan-modal__topRow,
  .sg-vify-modal__totalCard,
  .sg-vify-modal__bucketItem {
    flex-direction: column;
  }

  .sg-plan-modal__priceBadge {
    width: 100%;
    text-align: left;
    white-space: normal;
  }

  .sg-plan-modal__heroMeta,
  .sg-vify-modal__heroMeta {
    flex-direction: column;
    align-items: stretch;
  }

  .sg-plan-modal__heroPill,
  .sg-vify-modal__heroPill {
    width: 100%;
    justify-content: space-between;
  }

  .sg-vify-modal__bucketAmount,
  .sg-vify-modal__totalBadge {
    align-self: flex-start;
  }

  #accountResultModal .account-modal-dialog {
    width: calc(100vw - 16px);
    margin: 8px auto;
    max-height: calc(100vh - 16px);
  }

  #accountResultModal .account-reuse-preview-row {
    grid-template-columns: 1fr;
  }
}