@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap");
* {
  box-sizing: border-box;
}

body {
  font-family: "Poppins", sans-serif;
  font-size: 15px;
  background-color: #f5f7fb;
  color: #333;
}

[v-cloak] {
  display: none;
}

.member-app {
  display: flex;
  min-height: 100vh;
}

.member-sidebar {
  width: 260px;
  min-width: 260px;
  background: #001A72;
  color: #fff;
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  z-index: 1000;
  transition: left 0.3s ease-in-out;
}
.member-sidebar .sidebar-brand {
  padding: 1.5rem 1.25rem 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.member-sidebar .sidebar-brand a {
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.member-sidebar .sidebar-brand a img {
  height: 32px;
}
.member-sidebar .sidebar-brand .club-name {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.65);
  margin-top: 0.25rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.member-sidebar .sidebar-nav {
  flex: 1;
  padding: 1rem 0;
  overflow-y: auto;
}
.member-sidebar .sidebar-nav .nav-item {
  list-style: none;
}
.member-sidebar .sidebar-nav .nav-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.65rem 1.25rem;
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  font-size: 0.9rem;
  transition: all 0.3s ease-in-out;
  border-left: 3px solid transparent;
}
.member-sidebar .sidebar-nav .nav-link .nav-icon {
  width: 20px;
  text-align: center;
  font-size: 1rem;
}
.member-sidebar .sidebar-nav .nav-link:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}
.member-sidebar .sidebar-nav .nav-link.active {
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
  border-left-color: #ff8200;
}
.member-sidebar .sidebar-footer {
  padding: 1rem 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.5);
}

.member-content {
  margin-left: 260px;
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.member-header {
  background: #fff;
  border-bottom: 1px solid #e8ecf0;
  padding: 0.75rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
}
.member-header .header-left {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.member-header .sidebar-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  color: #001A72;
  font-size: 1.25rem;
  padding: 0.25rem;
}
.member-header .header-right {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.member-header .header-right .member-name {
  font-size: 0.875rem;
  color: #555;
}
.member-header .header-right .btn-logout {
  background: none;
  border: none;
  cursor: pointer;
  color: #6c757d;
  font-size: 1rem;
  padding: 0.25rem 0.5rem;
  transition: color 0.3s ease-in-out;
}
.member-header .header-right .btn-logout:hover {
  color: #001A72;
}

.member-main {
  flex: 1;
  padding: 1.75rem 1.5rem;
}

.page-title {
  font-size: 1.4rem;
  font-weight: 600;
  color: #001A72;
  margin-bottom: 1.5rem;
}

.member-card {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 26, 0.06);
  border: 1px solid #e8ecf0;
}
.member-card .member-card-header {
  padding: 1rem 1.25rem;
  border-bottom: 1px solid #f0f3f7;
  font-weight: 600;
  color: #001A72;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.member-card .member-card-body {
  padding: 1.25rem;
}

.stat-card {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 26, 0.06);
  border: 1px solid #e8ecf0;
  padding: 1.25rem;
}
.stat-card .stat-label {
  font-size: 0.8rem;
  color: #6c757d;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
}
.stat-card .stat-value {
  font-size: 1.75rem;
  font-weight: 700;
  color: #001A72;
}
.stat-card .stat-sub {
  font-size: 0.8rem;
  color: #6c757d;
  margin-top: 0.25rem;
}
.stat-card .stat-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}
.stat-card .stat-icon.icon-blue {
  background: rgba(0, 26, 114, 0.1);
  color: #001A72;
}
.stat-card .stat-icon.icon-orange {
  background: rgba(255, 130, 0, 0.12);
  color: #ff8200;
}
.stat-card .stat-icon.icon-teal {
  background: rgba(0, 130, 186, 0.12);
  color: #0082ba;
}

.invoice-status {
  display: inline-block;
  padding: 0.2em 0.65em;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
}
.invoice-status.status-paid {
  background: #d4edda;
  color: #155724;
}
.invoice-status.status-pending {
  background: #fff3cd;
  color: #856404;
}
.invoice-status.status-overdue {
  background: #f8d7da;
  color: #721c24;
}

.auth-wrapper {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f5f7fb;
  padding: 2rem 1rem;
}

.auth-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 24px rgba(0, 0, 26, 0.12);
  padding: 2.5rem;
  width: 100%;
  max-width: 440px;
}
.auth-card .auth-brand {
  text-align: center;
  margin-bottom: 1.75rem;
}
.auth-card .auth-brand img {
  height: 48px;
  margin-bottom: 0.75rem;
}
.auth-card .auth-brand h1 {
  font-size: 1.4rem;
  font-weight: 700;
  color: #001A72;
}
.auth-card .auth-brand p {
  font-size: 0.875rem;
  color: #6c757d;
}
.auth-card .auth-footer {
  text-align: center;
  margin-top: 1.5rem;
  font-size: 0.8rem;
  color: #6c757d;
}

.btn-primary {
  background-color: #001A72;
  border-color: #001A72;
}
.btn-primary:hover, .btn-primary:focus {
  background-color: rgb(0, 35.3052631579, 154.8);
  border-color: rgb(0, 35.3052631579, 154.8);
}

.btn-accent {
  background-color: #ff8200;
  border-color: #ff8200;
  color: #fff;
}
.btn-accent:hover, .btn-accent:focus {
  background-color: rgb(214.2, 109.2, 0);
  border-color: rgb(214.2, 109.2, 0);
  color: #fff;
}

@media (max-width: 991.98px) {
  .member-sidebar {
    left: -260px;
  }
  .member-sidebar.sidebar-open {
    left: 0;
  }
  .member-content {
    margin-left: 0;
  }
  .member-header .sidebar-toggle {
    display: block;
  }
  .sidebar-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 999;
  }
  .sidebar-overlay.active {
    display: block;
  }
}
.member-footer {
  background: #001A72;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.8rem;
  padding: 1rem 1.5rem;
  text-align: center;
}
.member-footer a {
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
}
.member-footer a:hover {
  color: #ff8200;
}
