/* ==================================================
   ITSSOSO ACCOUNT CSS vNext — OWNERSHIP CENTER
   Premium Profile • Subscription • Settings • Security

   CONTRACT:
   - Full file only
   - Mobile first
   - Preserve working classes
   - Strong trust / ownership UX
================================================== */


/* --------------------------------------------------
   HERO
-------------------------------------------------- */

.account-hero{
  padding:72px 20px 52px;
  background:
    radial-gradient(circle at top right,rgba(37,99,235,.18),transparent 26%),
    linear-gradient(135deg,#0f172a,#1e293b,#334155);
  color:#ffffff;
  text-align:center;
}

.account-hero h1{
  font-size:40px;
  margin:0 0 12px;
  font-weight:900;
  line-height:1.08;
}

.account-hero p{
  opacity:.88;
  font-size:16px;
  max-width:620px;
  margin:0 auto;
}


/* --------------------------------------------------
   CONTENT WRAPPER
-------------------------------------------------- */

.account-content{
  padding:60px 20px;
  background:#f8fafc;
}

.account-card{
  background:#ffffff;
  padding:42px;
  border-radius:22px;
  box-shadow:0 16px 38px rgba(15,23,42,.06);
  border:1px solid #eef2f7;
  max-width:920px;
  margin:0 auto 26px;
}


/* --------------------------------------------------
   SECTION TITLES
-------------------------------------------------- */

.account-card h2,
.account-card h3,
.account-card h4{
  margin:0 0 18px;
  font-weight:900;
  color:#111827;
}

.account-card h2{
  font-size:28px;
}

.account-card h3{
  font-size:24px;
}

.account-card h4{
  font-size:18px;
}

.account-card p{
  color:#64748b;
  line-height:1.6;
}


/* --------------------------------------------------
   PROFILE SUMMARY
-------------------------------------------------- */

.account-profile{
  display:flex;
  align-items:center;
  gap:18px;
  flex-wrap:wrap;
}

.account-avatar{
  width:84px;
  height:84px;
  border-radius:50%;
  background:#e2e8f0;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:28px;
  font-weight:900;
  color:#111827;
}

.account-meta{
  flex:1;
  min-width:220px;
}

.account-meta h3{
  margin:0 0 6px;
  font-size:24px;
}

.account-meta p{
  margin:0;
}

.account-badges{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  margin-top:10px;
}


/* --------------------------------------------------
   BADGES
-------------------------------------------------- */

.badge{
  background:#e2e8f0;
  padding:7px 12px;
  border-radius:999px;
  font-size:12px;
  font-weight:800;
  color:#111827;
}

.badge.pro{
  background:#dbeafe;
  color:#1d4ed8;
}

.badge.verified{
  background:#dcfce7;
  color:#166534;
}

.badge.warning{
  background:#fef3c7;
  color:#92400e;
}


/* --------------------------------------------------
   SUBSCRIPTION PANEL
-------------------------------------------------- */

.subscription-summary{
  display:flex;
  flex-direction:column;
  gap:20px;
}

.subscription-row{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:14px;
  padding-bottom:14px;
  border-bottom:1px solid #e5e7eb;
}

.subscription-row .label{
  font-weight:800;
  color:#475569;
}

.subscription-row .value{
  font-weight:700;
  font-size:15px;
}

/* Plan Colors */

.plan-pro{
  color:#2563eb;
}

.plan-basic{
  color:#64748b;
}

.plan-business{
  color:#7c3aed;
}

/* Status Colors */

.status-active{
  color:#16a34a;
}

.status-past_due,
.status-canceled{
  color:#dc2626;
}

.status-trial{
  color:#d97706;
}


/* --------------------------------------------------
   ACTIONS
-------------------------------------------------- */

.subscription-actions,
.form-actions{
  margin-top:18px;
  display:flex;
  gap:14px;
  flex-wrap:wrap;
}

.subscription-message,
.form-message{
  font-size:14px;
  color:#475569;
}


/* --------------------------------------------------
   BUTTONS
-------------------------------------------------- */

.account-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:46px;
  padding:12px 18px;
  border:none;
  border-radius:14px;
  cursor:pointer;
  font-weight:800;
  text-decoration:none;
  transition:.18s ease;
}

.account-btn.primary{
  background:#2563eb;
  color:#fff;
}

.account-btn.primary:hover{
  transform:translateY(-2px);
  box-shadow:0 14px 28px rgba(37,99,235,.18);
}

.account-btn.light{
  background:#fff;
  color:#111827;
  border:1px solid #dbe3ee;
}

.account-btn.light:hover{
  background:#f8fafc;
}

.account-btn.dark{
  background:#111827;
  color:#fff;
}


/* --------------------------------------------------
   FORMS
-------------------------------------------------- */

.account-form{
  display:flex;
  flex-direction:column;
  gap:20px;
}

.form-group{
  display:flex;
  flex-direction:column;
  gap:8px;
}

.form-group label{
  font-weight:800;
  font-size:14px;
  color:#334155;
}

.account-form input[type="text"],
.account-form input[type="email"],
.account-form input[type="password"],
.account-form textarea,
.account-form select{
  padding:13px 14px;
  border-radius:14px;
  border:1px solid #cbd5e1;
  font-size:14px;
  transition:.18s ease;
  background:#fff;
}

.account-form input:focus,
.account-form textarea:focus,
.account-form select:focus{
  outline:none;
  border-color:#2563eb;
  box-shadow:0 0 0 4px rgba(37,99,235,.08);
}

.account-form textarea{
  min-height:120px;
  resize:vertical;
}


/* --------------------------------------------------
   TOGGLES
-------------------------------------------------- */

.toggle-group{
  display:flex;
  align-items:center;
  gap:10px;
}

.toggle-group input[type="checkbox"]{
  width:18px;
  height:18px;
}


/* --------------------------------------------------
   SECURITY PANEL
-------------------------------------------------- */

.security-section{
  display:flex;
  flex-direction:column;
  gap:18px;
}

.security-row{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:14px;
  padding-bottom:14px;
  border-bottom:1px solid #e5e7eb;
}

.security-row strong{
  display:block;
  color:#111827;
  margin-bottom:4px;
}

.security-row span{
  color:#64748b;
  font-size:14px;
}


/* --------------------------------------------------
   SAVED ITEMS GRID
-------------------------------------------------- */

.account-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(240px,1fr));
  gap:16px;
}

.account-mini-card{
  padding:18px;
  border-radius:18px;
  border:1px solid #eef2f7;
  background:#fff;
  box-shadow:0 10px 22px rgba(0,0,0,.04);
}

.account-mini-card h4{
  margin:0 0 8px;
}

.account-mini-card p{
  margin:0;
}


/* --------------------------------------------------
   DANGER ZONE
-------------------------------------------------- */

.danger-section{
  margin-top:12px;
}

.danger-box{
  border:1px solid #fecaca;
  background:#fff1f2;
  padding:24px;
  border-radius:18px;
}

.danger-box h4{
  color:#dc2626;
  margin:0 0 10px;
}

.danger-box p{
  margin:0 0 16px;
  color:#7f1d1d;
}

.button-danger{
  background:#dc2626;
  border:none;
  color:#ffffff;
  padding:12px 18px;
  border-radius:12px;
  cursor:pointer;
  font-weight:800;
  transition:.18s ease;
}

.button-danger:hover{
  background:#b91c1c;
}


/* --------------------------------------------------
   LINKS
-------------------------------------------------- */

.account-card a{
  color:#2563eb;
  font-weight:700;
  text-decoration:none;
}

.account-card a:hover{
  text-decoration:underline;
}


/* --------------------------------------------------
   RESPONSIVE
-------------------------------------------------- */

@media (max-width:768px){

  .account-hero{
    padding:58px 18px 42px;
  }

  .account-hero h1{
    font-size:32px;
  }

  .account-content{
    padding:34px 14px;
  }

  .account-card{
    padding:24px 18px;
    border-radius:20px;
  }

  .subscription-row,
  .security-row{
    flex-direction:column;
    align-items:flex-start;
    gap:8px;
  }

  .subscription-actions,
  .form-actions{
    flex-direction:column;
    align-items:stretch;
  }

  .account-btn{
    width:100%;
  }

}

@media (max-width:480px){

  .account-hero h1{
    font-size:28px;
  }

  .account-avatar{
    width:72px;
    height:72px;
    font-size:24px;
  }

}