.account-page {
  background: #f4f7fb;
  min-height: 100vh;
  color: #0d3763;
  font-family: sans-serif;
}

/* =========================
   BADGES
========================= */

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

.badge-green {
  background: #dff5e6;
  color: #1e7a3d !important;
}

.badge-orange {
  background: #ffe8c2;
  color: #a86900;
}
.badge-red {
  background: #facfcf;
  color: #a80000 !important;
}

/* =========================
   LAYOUT
========================= */

.account-content {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 24px;
  padding: 40px 0;
  align-items: start;
}

/* =========================
   SIDEBAR
========================= */

.account-sidebar {
  display: flex;
  flex-direction: column;
}

/* =========================
   BOXES
========================= */

.account-box {
  background: var(--color-white);
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--color-gray-100);
}

.account-sidebar h2,
.account-section h2 {
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--color-gray-700);
}

.info-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 15px;
  border-top: 1px solid var(--color-gray-100);
  gap: 15px;
}

.info-row span:nth-child(1) {
  color: var(--color-gray-700);
  font-size: 15px;
}

.info-row span:nth-child(2) {
  color: var(--color-blue-900);
  font-size: 15px;
  text-align: right;
}

.yes {
  color: var(--color-green-700);
}
.no {
  color: var(--color-red-700);
}
.nn {
  filter: blur(5px);
  transition: filter 0.3s ease;
}
.nn:hover {
  filter: blur(0);
}
/* =========================
   BUTTONS
========================= */

.account-actions {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* =========================
   MAIN CONTENT
========================= */

.account-main {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.account-section {
  display: flex;
  flex-direction: column;
}

/* =========================
   CARDS
========================= */

.account-card {
  margin-bottom: 16px;
  background: #fff;
  border: 1px solid #dbe3ee;
  border-radius: 18px;

  padding: 18px;

  display: flex;
  align-items: center;
  gap: 18px;
  justify-content: space-between;
}

.account-card > div:nth-child(2) {
  flex: 1;
}

.account-card-large {
  justify-content: space-between;
}

.account-card-large > div:nth-child(2) {
  flex: 1;
}

.account-card h3 {
  margin: 0 0 6px;
  font-size: 20px;
  color: var(--color-blue-900);
}

.account-card p {
  margin: 0;
  color: #6f7f95;
  font-size: 15px;
}

.account-card a {
  display: inline-block;
  margin-top: 8px;

  color: var(--color-blue-900);
  text-decoration: none;
  font-weight: 600;
}
.child-card-actions {
  display: flex;
}
.child-card-actions .btn {
  margin-left: 10px;
}

/* =========================
   SMALL AVATAR
========================= */

.small-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;

  background: #edf2f7;
  color: var(--color-blue-900);

  display: flex;
  align-items: center;
  justify-content: center;

  font-weight: 700;
}

/* =========================
   BIKE ICON
========================= */

.bike-icon {
  width: 80px;
  height: 80px;
  border-radius: 14px;

  background: #edf2f7;

  display: flex;
  align-items: center;
  justify-content: center;

  font-size: 40px;
}

/* =========================
   STATUS
========================= */

.status {
  padding: 8px 16px;
  border-radius: 999px;

  font-size: 13px;
  font-weight: 600;

  white-space: nowrap;
}

.status-green {
  background: #dff5e6;
  color: #1e7a3d;
}

.status-gray {
  background: #edf2f7;
  color: #6f7f95;
}

/* =========================
   ADD CHILD
========================= */

.add-child {
  border: 2px dashed #dbe3ee;
  border-radius: 14px;
  padding: 16px;
  text-align: center;

  text-decoration: none;
  color: var(--color-blue-900);
  font-weight: 600;
  transition: 0.2s;
}

.add-child:hover {
  border: 2px dashed #303132;
  color: var(--color-blue-900);
}

/* =========================
   RESPONSIVE
========================= */

@media (max-width: 980px) {
  .account-content {
    grid-template-columns: 1fr;
  }

  .account-card-large {
    flex-direction: column;
    align-items: flex-start;
  }

  .status {
    align-self: flex-start;
  }

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

@media (max-width: 640px) {
  .account-hero .account-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .info-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .info-row strong {
    text-align: left;
  }

  .account-card {
    flex-direction: column;
    align-items: flex-start;
  }
}
