/* Silver Vault Concept Redesign */
:root {
  --primary-blue: #0f52d5;
  --secondary-blue: #2365e8;
  --accent-green: #00e676;
  --bg-light: #f4f6f9;
  --text-dark: #1e293b;
  --text-main: #334155;
  --bg-card: #ffffff;
  --border-radius-lg: 24px;
  --border-radius-md: 16px;
  --blue-gradient: linear-gradient(135deg, #0f52d5, #2365e8);
}

body.sv-landing {
  background-color: var(--bg-light) !important;
  color: var(--text-main) !important;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
}

/* Header */
.sv-header {
  background-color: var(--bg-light) !important;
  padding: 1rem 2rem;
  position: relative;
  z-index: 1050;
}
.sv-header .navbar-brand {
  color: var(--primary-blue) !important;
  font-weight: 800;
  font-style: italic;
  font-size: 1.5rem;
  display: flex;
  align-items: center;
}
.sv-header .navbar-brand img {
  height: 30px;
  margin-right: 10px;
}
.sv-nav-link {
  color: var(--text-dark) !important;
  font-weight: 500;
  margin: 0 1rem;
}
.sv-nav-link:hover {
  color: var(--primary-blue) !important;
}

/* Avatar / Menu */
.sv-avatar {
  background-color: #1e293b;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: bold;
}
.sv-dropdown-menu {
  border-radius: var(--border-radius-md);
  border: none;
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}
@media (max-width: 991.98px) {
  .navbar-nav .sv-dropdown-menu {
    position: absolute !important;
    right: 0;
    left: auto;
    background-color: #fff;
    z-index: 1050;
    top: 100%;
  }
}
.sv-dropdown-item {
  padding: 0.5rem 1.5rem;
  font-weight: 500;
  color: var(--text-main) !important;
}
.sv-dropdown-item:hover {
  background-color: var(--bg-light);
  color: var(--primary-blue) !important;
}

/* Hero Section */
.sv-hero {
  background: var(--blue-gradient);
  border-radius: var(--border-radius-lg);
  padding: 6rem 2rem;
  color: #fff;
  text-align: center;
  position: relative;
  overflow: hidden;
  margin-top: 1rem;
}
.sv-hero h1 {
  font-size: 4rem;
  font-weight: 800;
  margin-bottom: 1rem;
}
.sv-hero h1 span {
  color: var(--accent-green);
  font-style: italic;
}
.sv-hero p {
  font-size: 1.25rem;
  max-width: 600px;
  margin: 0 auto 3rem auto;
  opacity: 0.9;
}
.sv-hero-btn-primary {
  background-color: var(--accent-green);
  color: var(--text-dark);
  font-weight: bold;
  padding: 0.75rem 2rem;
  border-radius: 50px;
  border: none;
  font-size: 1.1rem;
  transition: transform 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.sv-hero-btn-primary:hover {
  transform: translateY(-2px);
  color: var(--text-dark);
  text-decoration: none;
}
.sv-hero-btn-secondary {
  background-color: rgba(255,255,255,0.15);
  color: #fff;
  font-weight: bold;
  padding: 0.75rem 2rem;
  border-radius: 50px;
  border: 1px solid rgba(255,255,255,0.2);
  margin-left: 1rem;
  font-size: 1.1rem;
  transition: background-color 0.2s;
}
.sv-hero-btn-secondary:hover {
  background-color: rgba(255,255,255,0.25);
  color: #fff;
  text-decoration: none;
}

/* Steps Section */
.sv-steps-title {
  font-weight: 700;
  border-left: 4px solid var(--primary-blue);
  padding-left: 1rem;
  margin: 4rem 0 2rem 0;
  color: var(--text-dark);
}
.sv-step-card {
  background-color: var(--bg-card);
  border-radius: var(--border-radius-md);
  padding: 2rem;
  height: 100%;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(0,0,0,0.05);
}
.sv-step-number {
  background-color: var(--primary-blue);
  color: #fff;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-weight: bold;
  font-size: 1.25rem;
  margin-bottom: 1.5rem;
}
.sv-step-card.step-2 .sv-step-number {
  background-color: #0b8043;
}
.sv-step-card.step-3 .sv-step-number {
  background-color: #8C770C;
}
.sv-step-title {
  font-weight: 700;
  font-size: 1.25rem;
  margin-bottom: 1rem;
  color: var(--text-dark);
}
.sv-step-desc {
  color: var(--text-main);
  line-height: 1.6;
}
.sv-step-icon-bg {
  position: absolute;
  right: 1rem;
  top: 1rem;
  font-size: 8rem;
  color: rgba(0,0,0,0.02);
  z-index: 0;
}

/* Map Section */
.sv-map-section {
  background-color: var(--bg-card);
  border-radius: var(--border-radius-lg);
  display: flex;
  align-items: center;
  margin-top: 4rem;
  border: 1px solid rgba(0,0,0,0.05);
  overflow: hidden;
}
.sv-map-content {
  padding: 3rem;
  flex: 1;
}
.sv-map-content h2 {
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--text-dark);
}
.sv-map-content h2 span {
  color: var(--primary-blue);
}
.sv-map-content p {
  color: var(--text-main);
  margin-bottom: 2rem;
}
.sv-search-box {
  display: flex;
  background: var(--bg-light);
  border-radius: 50px;
  padding: 0.5rem;
}
.sv-search-input {
  border: none;
  background: transparent;
  padding: 0.5rem 1rem;
  flex: 1;
  outline: none;
}
.sv-search-btn {
  background: var(--primary-blue);
  color: #fff;
  border: none;
  border-radius: 50px;
  padding: 0.5rem 1.5rem;
  font-weight: bold;
}
.sv-map-bg {
  flex: 1;
  background-image: url('/images/topo_bg.png');
  background-size: cover;
  background-position: center;
  min-height: 350px;
  border-radius: var(--border-radius-md);
  margin: 1rem;
}

/* Venues and Wins */
.sv-venue-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 2rem;
  margin-top: 3rem;
  margin-bottom: 4rem;
}
.sv-trending-card {
  border-radius: var(--border-radius-md);
  background-image: linear-gradient(to right, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.3) 100%), url('/images/arcade_bg.png');
  background-size: cover;
  background-position: center;
  padding: 3rem;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 300px;
}
.sv-trending-badge {
  color: var(--accent-green);
  text-transform: uppercase;
  font-size: 0.8rem;
  font-weight: bold;
  letter-spacing: 1px;
  margin-bottom: 1rem;
}
.sv-trending-title {
  font-weight: bold;
  font-size: 2.5rem;
  margin-bottom: 1rem;
}
.sv-trending-desc {
  max-width: 80%;
  margin-bottom: 2rem;
  opacity: 0.9;
}
.sv-trending-btn {
  background: var(--primary-blue);
  color: #fff;
  border-radius: 50px;
  padding: 0.75rem 2rem;
  font-weight: bold;
  align-self: flex-start;
  text-decoration: none;
}
.sv-trending-btn:hover {
  text-decoration: none;
  color: #fff;
  background: var(--secondary-blue);
}

.sv-wins-card {
  background-color: var(--bg-card);
  border-radius: var(--border-radius-md);
  padding: 2rem;
  border: 1px solid rgba(0,0,0,0.05);
}
.sv-wins-title {
  font-weight: 700;
  display: flex;
  justify-content: space-between;
  margin-bottom: 2rem;
  color: var(--text-dark);
}
.sv-win-item {
  display: flex;
  align-items: center;
  margin-bottom: 1.5rem;
}
.sv-win-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #cbd5e1;
  margin-right: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  color: #fff;
}
.sv-win-info {
  flex: 1;
}
.sv-win-name {
  font-weight: bold;
  font-size: 0.95rem;
  color: var(--text-dark);
}
.sv-win-game {
  font-size: 0.8rem;
  color: var(--text-main);
  text-transform: uppercase;
}
.sv-win-score {
  background-color: rgba(0, 230, 118, 0.2);
  color: #0b8043;
  padding: 0.25rem 0.75rem;
  border-radius: 50px;
  font-weight: bold;
  font-size: 0.85rem;
}
.sv-view-leaderboard {
  color: var(--primary-blue);
  font-weight: bold;
  text-transform: uppercase;
  font-size: 0.85rem;
  text-align: center;
  display: block;
  margin-top: 1rem;
  text-decoration: none;
}

@media (max-width: 992px) {
  .sv-venue-grid {
    grid-template-columns: 1fr;
  }
  .sv-map-section {
    flex-direction: column;
  }
  .sv-map-bg {
    width: calc(100% - 2rem);
    min-height: 200px;
  }
}

/* Authentication Pages */
.sv-auth-wrapper {
  display: flex;
  flex-wrap: wrap;
  min-height: 75vh;
  margin: 3rem auto;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0,0,0,0.1);
  background-color: var(--bg-card);
}
.sv-auth-info {
  flex: 1 1 45%;
  background: var(--blue-gradient);
  padding: 4rem 3rem;
  color: white;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
}
.sv-auth-form {
  flex: 1 1 55%;
  background-color: var(--text-dark); /* Dark matching the mockups */
  padding: 4rem 3rem;
  color: white;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.sv-input {
  background-color: rgba(255,255,255,0.05);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px;
  padding: 14px 16px;
  width: 100%;
  margin-bottom: 1.5rem;
  transition: border-color .2s, background-color .2s;
  outline: none;
}
.sv-input:focus {
  border-color: var(--accent-green);
  background-color: rgba(255,255,255,0.1);
}
select.sv-input option {
  background-color: var(--text-dark);
  color: white;
}
.sv-input-label {
  display: block;
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
  color: #cbd5e1;
  font-weight: 500;
  text-align: left;
}
.sv-btn-auth {
  background-color: white;
  color: var(--text-dark);
  border-radius: 50px;
  padding: 14px 20px;
  font-weight: bold;
  width: 100%;
  border: none;
  font-size: 1.1rem;
  margin-top: 1rem;
  margin-bottom: 1rem;
  transition: transform .2s, background-color .2s;
  cursor: pointer;
}
.sv-btn-auth:hover {
  transform: translateY(-2px);
  background-color: #f1f5f9;
}
.sv-btn-auth:disabled {
  background-color: #64748b;
  color: #cbd5e1;
  cursor: not-allowed;
  transform: none;
}
.sv-auth-card {
  background-color: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 12px;
  padding: 1.5rem;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
}
.sv-auth-card-title {
  font-weight: 600;
  margin: 0;
  font-size: 1rem;
}
.sv-auth-card-icon {
  width: 24px;
  height: 24px;
  background: white;
  color: var(--primary-blue);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 1rem;
  font-size: 0.8rem;
  font-weight: bold;
}
.sv-auth-card.active {
  background-color: white;
  color: var(--primary-blue);
}
.sv-auth-card.active .sv-auth-card-icon {
  background: var(--primary-blue);
  color: white;
}
@media (max-width: 768px) {
  .sv-auth-wrapper {
    flex-direction: column;
  }
  .sv-auth-info, .sv-auth-form {
    padding: 2rem;
  }
}

/* Dashboard / Profile Styles */
.sv-dash-container {
  max-width: 800px;
  margin: 2rem auto;
}
.sv-dash-card {
  background-color: var(--bg-card);
  border-radius: var(--border-radius-lg);
  padding: 2.5rem;
  box-shadow: 0 10px 30px rgba(0,0,0,0.03);
  text-align: center;
  position: relative;
  margin-bottom: 2rem;
}
.sv-avatar-wrap {
  position: relative;
  width: 120px;
  height: 120px;
  margin: 0 auto 1.5rem auto;
}
.sv-avatar-img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 4px solid var(--primary-blue);
  background-color: #cbd5e1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  font-weight: bold;
  color: white;
  object-fit: cover;
}
.sv-avatar-edit {
  position: absolute;
  bottom: 0;
  right: 0;
  background-color: var(--primary-blue);
  color: white;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid white;
  cursor: pointer;
}
.sv-dash-name {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--primary-blue);
  margin-bottom: 0.2rem;
}
.sv-dash-rank {
  font-size: 0.8rem;
  font-weight: bold;
  color: var(--text-main);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 2rem;
}
.sv-pills-row {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}
.sv-pill {
  background-color: var(--bg-light);
  border-radius: 20px;
  padding: 1rem 2rem;
  display: flex;
  flex-direction: column;
  min-width: 140px;
}
.sv-pill.primary {
  background-color: var(--primary-blue);
  color: white;
  box-shadow: 0 10px 20px rgba(15, 82, 213, 0.2);
}
.sv-pill-title {
  font-size: 0.70rem;
  font-weight: bold;
  text-transform: uppercase;
  margin-bottom: 0.2rem;
  color: var(--text-main);
}
.sv-pill.primary .sv-pill-title {
  color: rgba(255,255,255,0.8);
}
.sv-pill-val {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--text-dark);
}
.sv-pill.primary .sv-pill-val {
  color: white;
}

/* Alert Box */
.sv-alert-danger {
  background-color: #ff4d4f;
  color: white;
  border-radius: 20px;
  padding: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2rem;
  box-shadow: 0 10px 20px rgba(255, 77, 79, 0.2);
}

/* Menu List */
.sv-menu-label {
  font-size: 0.8rem;
  font-weight: bold;
  color: var(--text-main);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 1rem;
  margin-top: 2rem;
  display: block;
}
.sv-menu-list {
  background: transparent;
  border-radius: var(--border-radius-md);
  margin-bottom: 2rem;
}
.sv-menu-item {
  background-color: var(--bg-card);
  padding: 1.5rem 2rem;
  border-radius: var(--border-radius-md);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-decoration: none;
  color: var(--text-dark);
  font-weight: bold;
  font-size: 1.1rem;
  box-shadow: 0 4px 15px rgba(0,0,0,0.02);
  transition: transform 0.2s, box-shadow 0.2s;
  cursor: pointer;
}
.sv-menu-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.05);
  text-decoration: none;
  color: var(--text-dark);
}
.sv-menu-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: rgba(15, 82, 213, 0.1);
  color: var(--primary-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 1.5rem;
  font-size: 1.2rem;
}
.sv-menu-content {
  flex: 1;
  display: flex;
  align-items: center;
}
.sv-arrow {
  color: var(--text-main);
  font-size: 1.2rem;
}

/* Light Inputs for Profile Form */
.sv-input-light {
  background-color: var(--bg-light);
  color: var(--text-dark);
  border: 1px solid rgba(0,0,0,0.05);
  border-radius: 12px;
  padding: 14px 16px;
  width: 100%;
  margin-bottom: 1rem;
  transition: border-color .2s;
  outline: none;
}
.sv-input-light:focus {
  border-color: var(--primary-blue);
  background-color: #fff;
  box-shadow: 0 0 0 3px rgba(15,82,213,0.1);
}
.sv-label-light {
  display: block;
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
  color: var(--text-main);
  font-weight: bold;
}
.sv-form-panel {
  display: none;
  background-color: var(--bg-card);
  padding: 2rem;
  border-radius: var(--border-radius-md);
  margin-bottom: 1.5rem;
  border: 1px solid rgba(0,0,0,0.05);
}

/* Vault / Holdings Specific Styles */
.sv-vault-hero {
  background: var(--primary-blue);
  background: linear-gradient(135deg, #0f52d5 0%, #0c43b3 100%);
  border-radius: var(--border-radius-lg);
  padding: 3rem;
  color: white;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
  box-shadow: 0 15px 35px rgba(15, 82, 213, 0.25);
  position: relative;
  overflow: hidden;
}
.sv-vault-hero-left {
  position: relative;
  z-index: 2;
  text-align: left;
}
.sv-vault-label {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  opacity: 0.8;
  margin-bottom: 0.5rem;
  font-weight: bold;
}
.sv-vault-balance {
  font-size: 4.5rem;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 1rem;
  display: flex;
  align-items: baseline;
}
.sv-vault-balance span {
  font-size: 1.5rem;
  margin-left: 0.5rem;
  font-weight: bold;
  color: var(--accent-green);
}
.sv-vault-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.sv-vault-badge {
  background: rgba(255,255,255,0.1);
  padding: 0.4rem 1rem;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: bold;
  border: 1px solid rgba(255,255,255,0.2);
}
.sv-vault-ticket {
  background: #f8fafc;
  color: var(--primary-blue);
  border-radius: 12px;
  padding: 2rem 3rem;
  font-size: 2.5rem;
  font-weight: 800;
  border-left: 6px dashed #cbd5e1;
  position: relative;
  box-shadow: -10px 0 20px rgba(0,0,0,0.1);
  letter-spacing: 4px;
}
.sv-vault-ticket::before, .sv-vault-ticket::after {
  content: '';
  position: absolute;
  left: -20px;
  width: 30px;
  height: 30px;
  background: var(--primary-blue);
  border-radius: 50%;
}
.sv-vault-ticket::before {
  top: -15px;
}
.sv-vault-ticket::after {
  bottom: -15px;
}

/* History List / Recent Wins */
.sv-history-list {
  background: #fff;
  border-radius: var(--border-radius-lg);
  padding: 2rem;
  box-shadow: 0 10px 30px rgba(0,0,0,0.03);
}
.sv-history-title {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.sv-history-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem;
  background: #fff;
  border: 1px solid rgba(0,0,0,0.05);
  border-radius: 16px;
  margin-bottom: 1rem;
  transition: transform 0.2s, box-shadow 0.2s;
}
.sv-history-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.05);
}
.sv-history-left {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}
.sv-history-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}
.sv-icon-success { background: rgba(16, 185, 129, 0.1); color: #10b981; }
.sv-icon-pending { background: rgba(245, 158, 11, 0.1); color: #f59e0b; }
.sv-icon-info { background: rgba(59, 130, 246, 0.1); color: #3b82f6; }
.sv-icon-danger { background: rgba(239, 68, 68, 0.1); color: #ef4444; }

.sv-history-info-title {
  font-size: 1.1rem;
  font-weight: bold;
  color: var(--text-dark);
  margin-bottom: 0.2rem;
}
.sv-history-info-sub {
  font-size: 0.85rem;
  color: var(--text-main);
}
.sv-history-right {
  text-align: right;
}
.sv-history-right-val {
  font-size: 1.2rem;
  font-weight: 800;
  margin-bottom: 0.2rem;
}
.sv-history-right-badge {
  display: inline-block;
  padding: 0.2rem 0.6rem;
  border-radius: 12px;
  font-size: 0.7rem;
  font-weight: bold;
  text-transform: uppercase;
}
.sv-badge-success { background: rgba(16, 185, 129, 0.1); color: #10b981; }
.sv-badge-pending { background: rgba(245, 158, 11, 0.1); color: #f59e0b; }
.sv-badge-info { background: rgba(59, 130, 246, 0.1); color: #3b82f6; }
.sv-badge-danger { background: rgba(239, 68, 68, 0.1); color: #ef4444; }

@media (max-width: 768px) {
  .sv-vault-hero {
    flex-direction: column;
    padding: 2rem;
  }
  .sv-vault-ticket {
    display: none;
  }
  .sv-vault-balance {
    font-size: 3rem;
  }
  .sv-history-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }
  .sv-history-right {
    text-align: left;
    margin-left: 4.5rem;
  }
}

/* Admin Dashboard Overrides */
.sv-admin-layout {
  display: flex;
  min-height: calc(100vh - 80px); /* Assumes header is roughly 80px */
  background: var(--bg-light);
  margin: -1.5rem -15px 0 -15px; /* offset the default container-fluid padding */
}
@media (max-width: 991.98px) {
  .sv-admin-layout {
    flex-direction: column;
  }
}
.sv-admin-sidebar {
  width: 260px;
  background: #fff;
  border-right: 1px solid rgba(0,0,0,0.05);
  padding: 2rem 1.5rem;
  flex-shrink: 0;
}
@media (min-width: 992px) {
  .sv-admin-sidebar {
    display: none !important;
  }
}
@media (max-width: 991.98px) {
  .sv-admin-sidebar {
    width: 100%;
    border-right: none;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
    padding: 1rem;
  }
  .sv-sidebar-link {
    margin-bottom: 0.5rem;
  }
}
.sv-admin-main {
  flex-grow: 1;
  padding: 2rem;
  overflow-y: auto;
}
@media (max-width: 991.98px) {
  .sv-admin-main {
    padding: 1rem;
  }
}
.sv-sidebar-link {
  display: flex;
  align-items: center;
  padding: 0.8rem 1rem;
  color: var(--text-main);
  text-decoration: none;
  font-weight: bold;
  border-radius: 12px;
  margin-bottom: 0.5rem;
  transition: all 0.2s;
}
.sv-sidebar-link:hover {
  background: rgba(37, 99, 235, 0.05);
  color: var(--primary-blue);
  text-decoration: none;
}
.sv-sidebar-link.active {
  background: var(--primary-blue);
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
  color: white;
  box-shadow: 0 4px 10px rgba(37, 99, 235, 0.2);
}
.sv-sidebar-link i {
  width: 24px;
  font-size: 1.1rem;
  margin-right: 0.5rem;
  text-align: center;
}

/* Stat Cards */
.sv-stat-card {
  background: #fff;
  border-radius: var(--border-radius-lg);
  padding: 1.5rem;
  box-shadow: 0 5px 15px rgba(0,0,0,0.02);
  border: 1px solid rgba(0,0,0,0.03);
  position: relative;
  overflow: hidden;
}
.sv-stat-card.primary {
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
}
.sv-stat-card.blue {
  background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
  color: white;
}
.sv-stat-card.yellow {
  background: linear-gradient(135deg, #facc15 0%, #eab308 100%);
  color: #422006;
}
.sv-stat-title {
  font-size: 0.85rem;
  text-transform: uppercase;
  font-weight: bold;
  letter-spacing: 1px;
  margin-bottom: 0.5rem;
  opacity: 0.8;
}
.sv-stat-val {
  font-size: 2.2rem;
  font-weight: 800;
  line-height: 1;
}

/* System Grid */
.sv-system-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
}
@media (max-width: 991.98px) {
  .sv-system-grid {
    display: none !important;
  }
}
.sv-system-card {
  display: flex;
  align-items: center;
  background: #f8fafc;
  padding: 1.5rem;
  border-radius: 16px;
  text-decoration: none;
  color: var(--text-dark);
  transition: all 0.2s;
  border: 2px solid transparent;
}
.sv-system-card:hover {
  background: #fff;
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.05);
  border-color: #e2e8f0;
  text-decoration: none;
  color: var(--text-dark);
}
.sv-system-icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  margin-right: 1rem;
  flex-shrink: 0;
}
.sv-system-info h5 {
  font-weight: bold;
  margin: 0;
  font-size: 1.1rem;
}
.sv-system-info p {
  color: var(--text-main);
  margin: 0;
  font-size: 0.85rem;
}

/* Activity Feed */
.sv-activity-feed {
  padding: 0;
  margin: 0;
  list-style: none;
}
.sv-activity-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 1.5rem;
}
.sv-activity-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 1rem;
  color: white;
  flex-shrink: 0;
}
.sv-activity-content {
  flex-grow: 1;
}
.sv-activity-text {
  font-size: 0.95rem;
  margin-bottom: 0.2rem;
}
.sv-activity-text strong {
  color: var(--text-dark);
}
.sv-activity-time {
  font-size: 0.8rem;
  color: var(--text-main);
}

@media (max-width: 900px) {
  .sv-admin-layout {
    flex-direction: column;
  }
  .sv-admin-sidebar {
    width: 100%;
    border-right: none;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    padding: 1rem;
    display: flex;
    overflow-x: auto;
  }
  .sv-sidebar-link {
    margin-bottom: 0;
    margin-right: 0.5rem;
    white-space: nowrap;
  }
}
