/* Pet owner account area — shared styles */
.account-shell {
  min-height: auto;
  background: #f4f6f8;
  font-family: 'Quicksand', system-ui, sans-serif;
  padding-bottom: calc(1.5rem + env(safe-area-inset-bottom));
}

.account-container {
  max-width: 1140px;
}

.account-card {
  background: #fff;
  border: 1px solid #e8ecf1;
  border-radius: 16px;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.06);
}

.account-page-title {
  font-size: 1.35rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 0.25rem;
}

.account-page-sub {
  color: #64748b;
  font-size: 0.9rem;
  margin-bottom: 0;
}

/* Sidebar */
.account-profile-card {
  padding: 1rem 1.15rem;
}

.account-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, #fff0eb, #ffe4d6);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
  border: 2px solid #fff;
  box-shadow: 0 2px 8px rgba(234, 88, 12, 0.12);
}

.account-avatar__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.account-avatar__letter {
  font-weight: 700;
  color: #ea580c;
  font-size: 1.1rem;
}

.account-role-badge {
  background: #fff7ed;
  color: #c2410c;
  font-weight: 600;
  font-size: 0.65rem;
  border: 1px solid #fed7aa;
}

.account-nav__label {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #94a3b8;
}

.account-nav__item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 0;
  background: transparent;
  padding: 0.6rem 0.75rem;
  border-radius: 10px;
  color: #475569;
  font-weight: 600;
  font-size: 0.875rem;
  text-decoration: none;
  transition: background 0.15s ease, color 0.15s ease;
  width: 100%;
  text-align: left;
}

.account-nav__item:hover {
  background: #f1f5f9;
  color: #0f172a;
}

.account-nav__item.is-active {
  background: #ea580c;
  color: #fff;
  box-shadow: 0 4px 12px rgba(234, 88, 12, 0.28);
}

.account-nav__item.is-active .account-nav__badge {
  color: rgba(255, 255, 255, 0.9);
  background: rgba(255, 255, 255, 0.2);
  padding: 0.1rem 0.45rem;
  border-radius: 999px;
}

.account-nav__item--danger {
  color: #dc2626;
  justify-content: flex-start;
}

.account-nav__item--danger:hover {
  background: #fef2f2;
}

.account-nav__badge {
  font-size: 0.7rem;
  color: #94a3b8;
  font-weight: 600;
}

/* Mobile tab bar */
.account-mobile-nav {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: #fff;
  border-top: 1px solid #e8ecf1;
  padding: 0.35rem 0.5rem calc(0.35rem + env(safe-area-inset-bottom));
  box-shadow: 0 -4px 20px rgba(15, 23, 42, 0.08);
}

.account-mobile-nav__inner {
  display: flex;
  justify-content: space-around;
  align-items: stretch;
  max-width: 1140px;
  margin: 0 auto;
}

.account-mobile-nav__btn {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.15rem;
  border: 0;
  background: transparent;
  color: #64748b;
  font-size: 0.65rem;
  font-weight: 600;
  padding: 0.35rem 0.25rem;
  border-radius: 8px;
  min-width: 0;
}

.account-mobile-nav__btn i {
  font-size: 1.1rem;
}

.account-mobile-nav__btn.is-active {
  color: #ea580c;
}

/* Form controls */
.account-input {
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 0.65rem 0.85rem;
  font-size: 0.95rem;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.password-field {
  position: relative;
  width: 100%;
}

.password-field .account-input,
.password-field__input.account-input {
  padding-right: 2.75rem;
}

.password-field__toggle {
  position: absolute;
  right: 0.65rem;
  top: 50%;
  transform: translateY(-50%);
  border: 0;
  background: transparent;
  color: #94a3b8;
  padding: 0.25rem;
  line-height: 1;
  z-index: 2;
  cursor: pointer;
}

.password-field__toggle:hover {
  color: #64748b;
}

.account-input:focus {
  border-color: #fb923c;
  box-shadow: 0 0 0 3px rgba(251, 146, 60, 0.2);
  outline: none;
}

.account-label {
  font-size: 0.8rem;
  font-weight: 600;
  color: #334155;
  margin-bottom: 0.35rem;
  display: block;
}

.btn-account-primary {
  background: #ea580c;
  border: none;
  color: #fff !important;
  font-weight: 600;
  font-size: 0.8125rem;
  border-radius: 999px;
  padding: 0.45rem 1.15rem;
  line-height: 1.25;
  transition: background 0.15s ease, transform 0.1s ease;
}

.btn-account-primary:hover:not(:disabled) {
  background: #c2410c;
  color: #fff !important;
}

.btn-account-primary:disabled {
  opacity: 0.65;
}

.btn-account-outline {
  border: 1px solid #e2e8f0;
  background: #fff;
  color: #475569;
  font-weight: 600;
  font-size: 0.8125rem;
  border-radius: 999px;
  padding: 0.4rem 1rem;
  line-height: 1.25;
}

.btn-account-outline:hover {
  border-color: #ea580c;
  color: #ea580c;
  background: #fff7ed;
}

/* Stats */
.stat-tile {
  background: #f8fafc;
  border: 1px solid #f1f5f9;
  border-radius: 12px;
  padding: 1rem;
  height: 100%;
}

.stat-tile__label {
  font-size: 0.7rem;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 700;
}

.stat-tile__value {
  font-size: 1.5rem;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.2;
  margin-top: 0.2rem;
}

.stat-tile__hint {
  font-size: 0.75rem;
  color: #94a3b8;
  margin-top: 0.2rem;
}

/* Settings avatar */
.settings-photo-block {
  text-align: center;
  padding: 1.25rem;
  background: #f8fafc;
  border-radius: 12px;
  border: 1px dashed #e2e8f0;
}

.settings-avatar {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  margin: 0 auto;
  background: linear-gradient(135deg, #fff0eb, #ffe4d6);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: 3px solid #fff;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.08);
}

.settings-avatar__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.settings-avatar__letter {
  font-size: 2rem;
  font-weight: 700;
  color: #ea580c;
}

.account-section-divider {
  border: 0;
  border-top: 1px solid #f1f5f9;
  margin: 1.5rem 0;
}

.text-account-accent {
  color: #ea580c !important;
}

.bg-account-accent {
  background: #ea580c !important;
}

.is-invalid.account-input {
  border-color: #dc2626;
}

@media (max-width: 991.98px) {
  .account-sidebar-desktop {
    display: none !important;
  }

  .account-mobile-nav {
    display: block;
  }

  .account-shell {
    padding-bottom: calc(4.5rem + env(safe-area-inset-bottom));
  }

  .account-main-col {
    flex: 0 0 100%;
    max-width: 100%;
  }
}

@media (min-width: 992px) {
  .account-mobile-nav {
    display: none !important;
  }
}

@media (max-width: 991.98px) {
  body:has(.account-shell) .site-footer {
    padding-bottom: calc(5rem + env(safe-area-inset-bottom));
  }
}
