/* ====================================
   COMMON STYLES (Apply to Both Themes)
==================================== */
body {
  padding-top: 76px;
}
.f-12 {
    font-size: 12px;
    letter-spacing: 2px;
    font-weight: 600;
}
main li {
  margin-bottom: 10px;
}
#scrollTopBtn {
    position: fixed;
    bottom: 80px;
    right: 20px;
    z-index: 999;
    height: 40px;
    width: 40px;
}
.section-title {
  border-left: 5px solid #0d6efd;
  padding-left: 15px;
  margin-bottom: 25px;
}

.step-icon {
  font-size: 40px;
  color: #0d6efd;
}

.practice-card {
  border: 1px solid;
  border-radius: 10px;
  padding: 20px;
  transition: box-shadow 0.3s;
}

.practice-card:hover {
  box-shadow: 0 0 10px rgba(13, 110, 253, 0.3);
}

.sidebar {
  position: fixed;
  top: 76px;
  left: 0;
  height: 100%;
  overflow-y: auto;
  width: 250px;
  padding-top: 15px;
}

main {
  margin-left: 250px;
}
.navbar .nav-link {
  font-size: 16px;
  border-radius: 5px;
  padding: 5px 10px;
  margin-bottom: 10px;
}
.navbar .nav-link.active, .navbar .nav-link:hover {
    background-color: #0d6efd;
  color: white;
}
.sidebar .nav-link.active,
.sidebar .nav-link:hover {
  background-color: #0d6efd;
  color: white;
}
a.nav-link {
  font-size: 12px;
  border-radius: 5px;
}



.logo-size-table {
  width: 100%;
  border-collapse: collapse;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  box-shadow: 0 2px 8px;
  border-radius: 8px;
  overflow: hidden;
}

.logo-size-table thead {
  background: linear-gradient(90deg, #6a11cb 0%, #2575fc 100%);
  color: white;
  text-align: left;
  font-weight: 600;
}

.logo-size-table th,
.logo-size-table td {
  padding: 12px 16px;
}

.logo-size-table tbody tr {
  transition: background-color 0.3s ease;
  cursor: default;
}

.logo-size-table td {
  font-size: 14px;
  vertical-align: middle;
}
.floating_icon {
    position: fixed;
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
    background-color: orange;
    color: white;
    height: 60px;
    width: 60px;
    border-radius: 50%;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    cursor: pointer;
    z-index: 9999;
    transition: background-color 0.3s, color 0.3s;
    font-size: 20px;
    text-align: center;
    line-height: 60px;
}



.floating_icon:hover {
  background-color: #084298;
}
.floating_icon i {
  font-size: 18px;
}


@media (max-width: 600px) {
  .logo-size-table th,
  .logo-size-table td {
    padding: 10px 8px;
    font-size: 13px;
  }
  
    .option-box {
      width: 40%;
    }
    a.nab-brand {
            width: 40%;
    }
    a.nab-brand img {
        height: auto;
        width: 100%;
    }
    .hero {
        margin-top: 70px;
    }
    #scrollTopBtn {
      display: none;
    }
    .game-box .memory-game {
        grid-gap: 5px;
        margin: 10px auto;
        grid-template-columns: repeat(4, 70px) !important;
    }
    .memory-game .card {
        width: 70px;
        height: 70px;
    }
        
  }

@media (max-width: 767.98px) {
  .sidebar {
    display: none;
  }

  main {
    margin-left: 0;
  }
}


/* ====================================
   LIGHT THEME
==================================== */
[data-bs-theme="light"] {
  background-color: #f8f9fa;
  color: #212529;
}

[data-bs-theme="light"] .practice-card {
  background-color: #fff;
  border-color: #ddd;
}

[data-bs-theme="light"] .sidebar {
  background-color: #fff;
  border-right: 1px solid #ddd;
}

[data-bs-theme="light"] a.nav-link {
  color: #555;
}

[data-bs-theme="light"] .logo-size-table {
  background-color: #fff;
}

[data-bs-theme="light"] .logo-size-table tbody tr {
  background-color: #fafafa;
}

[data-bs-theme="light"] .logo-size-table tbody tr:nth-child(even) {
  background-color: #f0f4ff;
}

[data-bs-theme="light"] .logo-size-table tbody tr:hover {
  background-color: #dbe7ff;
}

[data-bs-theme="light"] .logo-size-table td {
  color: #333;
}


/* ====================================
   DARK THEME
==================================== */
[data-bs-theme="dark"] {
  background-color: #121212;
  color: #e0e0e0;
}
[data-bs-theme="dark"] .bg-light,
[data-bs-theme="dark"] .bg-white {
    background-color: #333 !important;
}
[data-bs-theme="dark"] .practice-card {
  background-color: #1f1f1f;
  border-color: #333;
}

[data-bs-theme="dark"] .sidebar {
  background-color: #1c1c1c !important;
  border-right: 1px solid #333;
}

[data-bs-theme="dark"] a.nav-link {
  color: #bbb;
}

[data-bs-theme="dark"] .logo-size-table {
  background-color: #1f1f1f;
}

[data-bs-theme="dark"] .logo-size-table tbody tr {
  background-color: #1c1c1c;
}

[data-bs-theme="dark"] .logo-size-table tbody tr:nth-child(even) {
  background-color: #222;
}

[data-bs-theme="dark"] .logo-size-table tbody tr:hover {
  background-color: #2a2a2a;
}

[data-bs-theme="dark"] .logo-size-table td {
  color: #ccc;
}
