/* ============================================
   FrenybHosting — Account Area Styling
   Extends main style.css
   ============================================ */

:root {
  --bg-dark: var(--dark);
  --accent: var(--aqua);
  --accent-soft: var(--teal);
  --text: var(--white);
}

/* ---------- General Page Layout ---------- */
body.account-body {
  background: var(--bg-dark);
  color: var(--text);
  font-family: inherit;
  min-height: 100vh;
}

.account-section {
  max-width: 1100px;
  margin: 60px auto;
  padding: 20px;
}

/* ---------- Glow Card (Dashboard) ---------- */
.glow-card {
  position: relative;
  background: linear-gradient(135deg, rgba(63,199,224,0.08), rgba(95,186,209,0.08));
  border: 1px solid rgba(63,199,224,0.4);
  border-radius: 14px;
  padding: 25px;
  text-align: left;
  color: var(--text);
  box-shadow: 0 0 12px rgba(63,199,224,0.25);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  backdrop-filter: blur(8px);
}

.glow-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 0 25px rgba(63,199,224,0.45);
}

.glow-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--aqua), var(--teal), var(--aqua));
  background-size: 400% 400%;
  animation: gradientFlow 10s ease infinite;
  opacity: 0.12;
  z-index: 0;
}

.glow-card h2 {
  position: relative;
  z-index: 1;
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--accent);
}

.glow-card p {
  position: relative;
  z-index: 1;
  font-size: 1rem;
  opacity: 0.9;
}

/* ---------- Keyframes for gradient motion ---------- */
@keyframes gradientFlow {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* ---------- Account Tables ---------- */
.account-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 30px;
  font-size: 0.95rem;
}

.account-table th,
.account-table td {
  padding: 12px 14px;
  text-align: left;
  border-bottom: 1px solid rgba(95,186,209,0.15);
}

.account-table th {
  color: var(--accent);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background-color: rgba(63,199,224,0.08);
}

.account-table tr:hover {
  background: rgba(63,199,224,0.08);
  transition: background 0.25s ease;
}

/* ---------- Status Chips ---------- */
.status-chip {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 8px;
  font-size: 0.8rem;
  font-weight: 500;
  text-transform: capitalize;
  color: #fff;
}

.status-active { background: linear-gradient(90deg, #00b09b, #96c93d); }
.status-pending { background: linear-gradient(90deg, #f0a500, #f7c873); }
.status-suspended { background: linear-gradient(90deg, #ff416c, #ff4b2b); }
.status-unpaid { background: linear-gradient(90deg, #ff416c, #ff4b2b); }
.status-paid { background: linear-gradient(90deg, #1cd8d2, #93edc7); }
.status-closed { background: linear-gradient(90deg, #555, #333); }

/* ---------- Responsive Adjustments ---------- */
@media (max-width: 768px) {
  .account-section {
    padding: 15px;
  }

  .glow-card {
    padding: 18px;
  }

  .account-table th, .account-table td {
    padding: 8px;
    font-size: 0.9rem;
  }
}
