* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

/* remove number input arrows */
input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

input[type="number"] {
  -moz-appearance: textfield;
  appearance: textfield;
}

:root {
  --main-font: "BPG No9", sans-serif;
  --text-main: #1f2937;
  --text-muted: #6b7280;
}

body {
  font-family: var(--main-font);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 700;
  margin: 0;
  padding: 0;
}

h1 {
  font-size: 2.5rem;
}

h2 {
  font-size: 2rem;
}

h3 {
  font-size: 1.75rem;
}

h4 {
  font-size: 1.5rem;
}

h5 {
  font-size: 1.25rem;
}

h6 {
  font-size: 1rem;
}

.fs-1 {
  font-size: 1.5rem;
}

.fs-2 {
  font-size: 1.25rem;
}

.fs-3 {
  font-size: 1rem;
}

.fs-4 {
  font-size: 0.875rem;
}

.fs-5 {
  font-size: 0.75rem;
}

.fs-6 {
  font-size: 0.625rem;
}

a {
  text-decoration: none;
  color: inherit;
}

.text-danger {
  color: var(--primary-color);
}

:root {
    --primary-color: #e00b1a;
    --dark-color: #101010;
    --border-divider: #acacac;
}
.mt-1 {
  margin-top: 10px;
}

.mt-2 {
  margin-top: 20px;
}

.mt-3 {
  margin-top: 30px;
}

.mt-4 {
  margin-top: 40px;
}

.mb-1 {
  margin-bottom: 10px;
}

.mb-2 {
  margin-bottom: 20px;
}

.mb-3 {
  margin-bottom: 30px;
}

.mb-4 {
  margin-bottom: 40px;
}

.w-100 {
    width: 100% !important;
}
.br-1 {
  border-radius: 10px;
}

.br-2 {
  border-radius: 20px;
}

.br-3 {
  border-radius: 30px;
}

.br-4 {
  border-radius: 40px;
}
.d-flex {
    display: flex;
}

.d-flex-center {
    display: flex;
    justify-content: center;
    align-items: center;
}

.row {
    flex-direction: row;
}

.column {
    flex-direction: column;
}
.badge {
    display: inline-block;
    padding: 5px 10px;
    font-size: .85em;
    font-weight: 700;
    line-height: 1;
    color: #fff;
    text-align: center;
    white-space: nowrap;
    vertical-align: baseline;
    border-radius: 1rem;
}

.badge-primary {
    background-color: #007bff;
}

.badge-secondary {
    background-color: #6c757d;
}

.badge-success {
    background-color: #28a745;
}

.badge-danger {
    background-color: #dc3545;
}

.badge-warning {
    background-color: #ffc107;
    color: #212529;
}

.badge-info {
    background-color: #17a2b8;
}

.badge-light {
    background-color: #f8f9fa;
    color: #212529;
}

.badge-dark {
    background-color: #343a40;
}

.bg-primary {
    background-color: #007bff !important;
}

.bg-secondary {
    background-color: #6c757d !important;
}

.bg-success {
    background-color: #28a745 !important;
}

.bg-danger {
    background-color: #dc3545 !important;
}

.bg-warning {
    background-color: #ffc107 !important;
    color: #212529 !important;
}

.bg-info {
    background-color: #17a2b8 !important;
}

.bg-light {
    background-color: #f8f9fa !important;
    color: #212529 !important;
}

.bg-dark {
    background-color: #343a40 !important;
}



.primary-btn,
.view-btn {
  background: #e00b1a;
  color: white;
  border-radius: 30px;
  padding: 1rem 2rem;
  font-weight: 700;
  text-transform: uppercase;
  cursor: pointer;
  border: none;
  transition: background-color 0.3s ease;
  white-space: nowrap;
  font-family: var(--main-font);
}

.primary-btn:hover {
  background: #ffffff;
  color: #e00b1a;
}

.view-btn {
  background: #1f2937;
}

.view-btn:hover {
  background: #ffffff;
  color: #1f2937;
}

.modal-save-btn,
.modal-close-btn {
  border-radius: 30px;
  padding: 1rem 2rem;
  font-weight: 700;
  text-transform: uppercase;
  cursor: pointer;
  border: none;
  transition: background-color 0.3s ease;
  white-space: nowrap;
  font-family: var(--main-font);
}

.modal-save-btn {
  background: #e00b1a;
  color: white;
}

.modal-save-btn:hover {
  background: #c10a16;
}

.modal-close-btn {
  background: #e5e7eb;
  color: #111;
}

.modal-close-btn:hover {
  background: #d1d5db;
  color: #000;
}

.icon-button {
  background: #e00b1a;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  color: white;
  font-size: 1.2rem;
  border: none;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.user-box:hover .icon-button {
  background: #ffffff;
  color: #e00b1a;
}

.authorization-btn {
  font-size: 0.9rem;
}

.user-box:hover .user-name {
  color: var(--primary-color);
}

.payment-btn {
  margin: auto;
}
/* Navigation */
.nav ul {
  list-style: none;
  display: flex;
  gap: 2rem;
  margin: 0;
  padding: 0;
  align-items: center;
  font-weight: 600;
  font-size: 0.9rem;
  text-transform: uppercase;
}

.nav ul li a {
  color: white;
  text-decoration: none;
  transition: color 0.3s ease;
  padding: 0.5rem 0;
  position: relative;
  display: inline-flex;
  align-items: center;
}

.nav ul li a:hover,
.nav ul li a:focus {
  color: #e00b1a;
}

.nav ul li a::after {
  content: "";
  display: inline-block;
  margin-left: 0.25rem;
  width: 0.9rem;
  height: 0.9rem;
  cursor: pointer;
  z-index: 1000;
  background-color: #fff;
  mask: url("/assets/images/icons/ninja-star.svg") no-repeat center / contain;
  -webkit-mask: url("/assets/images/icons/ninja-star.svg") no-repeat center / contain;
  transition: transform 0.3s ease;
}

.nav ul li a:hover::after {
  transform: rotate(90deg);
}

.mobile-nav-toggle {
  display: none;
  width: 50px;
  height: 50px;
  cursor: pointer;
  z-index: 1000;
  background-color: red;
  mask: url("/assets/images/icons/open-toggle-icon.svg") no-repeat center / contain;
  -webkit-mask: url("/assets/images/icons/open-toggle-icon.svg") no-repeat center / contain;
  transition: mask 0.3s ease, -webkit-mask 0.3s ease, background-color 0.3s ease;
}

.mobile-nav-toggle.open {
  background-color: white;
  width: 50px;
  height: 50px;
  mask: url("/assets/images/icons/close-toggle-icon.svg") no-repeat center / contain;
  -webkit-mask: url("/assets/images/icons/close-toggle-icon.svg") no-repeat center / contain;
}

/* --- Mobile nav panel --- */
@media (max-width: 1021px) {
  body.no-scroll {
    overflow: hidden;
  }

  .mobile-nav-toggle,
  .mobile-nav-toggle.open {
    display: block;
    width: 40px;
    height: 40px;
  }

  .nav {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    height: 100vh;
    height: 100dvh;
    background: rgba(0, 0, 0, 0.95);
    transform: translateX(100%);
    transition: transform 0.3s ease-in-out;
    z-index: 900;
    display: flex;
    flex-direction: column;
    padding-top: 6rem;
    padding-bottom: env(safe-area-inset-bottom);
    overflow-y: auto;
  }

  .nav.open {
    transform: translateX(0);
  }

  .nav ul {
    flex-direction: column;
    gap: 2rem;
    padding: 2rem;
  }

  .nav ul li {
    padding: 1rem 0;
  }
}
:root {
  --bg-card: #ffffff;
  --bg-soft: #f1f3f7;
  --radius-lg: 18px;
  --radius-md: 14px;
  --radius-sm: 10px;
  --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.08);
  --shadow-hover: 0 15px 40px rgba(0, 0, 0, 0.12);
}

.card {
  width: 100%;
  max-width: 700px;
  height: auto;
  padding: 3rem 2rem;
  border-radius: 20px;
  background-size: cover;
  background-position: center;
  box-shadow: var(--shadow-soft);
  margin: 100px auto;
  color: #fff;
  position: relative;
  overflow: hidden;
  font-family: var(--main-font);
  overflow: visible;
}

.primary-color {
    color: var(--primary-color);
}
/* ==============================
   STUDENT STYLE MODAL
============================== */

.custom-modal {
  position: fixed;
  inset: 0;
  z-index: 9997;
  display: none;
  align-items: center;
  justify-content: center;
}

.custom-modal.active {
  display: flex;
}

/* Backdrop */
.custom-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(17, 24, 39, 0.75);
}

/* Dialog */
.custom-modal-dialog {
  position: relative;
  width: 100%;
  max-width: 800px;
  padding: 1rem;
  z-index: 2;
}

/* Card */
.student-modal-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
  animation: modalSlideUp 0.25s ease;
  position: relative;
}

/* Accent bar (same as cards) */
.student-modal-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  height: 4px;
  width: 100%;
  background: var(--primary-color);
}

/* Header */
.student-modal-header {
  padding: 1.25rem 1.5rem;
  background: #1f2937;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.student-modal-header h4 {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 600;
}

.modal-close-icon {
  background: none;
  border: none;
  color: #fff;
  font-size: 1.4rem;
  cursor: pointer;
  opacity: 0.85;
}

.modal-close:hover {
  opacity: 1;
}

/* Body */
.student-modal-body {
  padding: 1.5rem;
  background: var(--bg-soft);
  display: grid;
  gap: 1.25rem;
}

.student-modal-body label {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 0.35rem;
  display: block;
}

/* Inputs */
.student-modal-body .form-control {
  width: 100%;
  background: #fff;
  border-radius: var(--radius-sm);
  padding: 0.65rem 0.85rem;
  border: 1px solid #e5e7eb;
  font-family: var(--main-font);
}

.student-modal-body .form-control:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.15);
}

/* Footer */
.student-modal-footer {
  padding: 1rem 1.5rem;
  display: flex;
  justify-content: flex-end;
  gap: 0.5rem;
  background: #fff;
  border-top: 1px solid #eef1f5;
}

/* File input styles (scoped to modal to match sign-up look) */
.student-modal-body .file-input-wrapper {
  width: 100%;
  margin-bottom: 1.25rem;
  text-align: left;
}

.student-modal-body .custom-file-label {
  display: inline-block;
  background: var(--primary-color);
  color: #fff;
  padding: 0.8rem 0.95rem;
  border-radius: 8px;
  cursor: pointer;
  font-family: var(--main-font);
  font-size: 16px;
  transition: background 0.3s ease;
}

.student-modal-body .custom-file-label:hover {
  background: var(--primary-color);
}

.student-modal-body .file-name {
  margin-left: 10px;
  color: #1f2937;
  font-size: 0.9rem;
  display: inline-block;
  vertical-align: middle;
}

.student-modal-body .file-input-wrapper input[type="file"] {
  display: none;
}

/* Animation */
@keyframes modalSlideUp {
  from {
    opacity: 0;
    transform: translateY(15px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Mobile */
@media (max-width: 768px) {
  .student-modal-dialog {
    max-width: 100%;
  }
}


/* ==============================
   CHECKOUT ADDON (SAFE LAYER)
============================== */

/* Dialog width tweak */
.checkout-dialog {
  max-width: 520px;
}

/* Summary box */
.checkout-summary {
  background: #ffffff;
  border-radius: 14px;
  padding: 1.4rem 1.6rem;
  border: 1px solid #e5e7eb;
}

.checkout-summary ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.checkout-summary li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.65rem 0;
  font-size: 0.95rem;
  color: #334155;
}

.checkout-summary li:not(:last-child) {
  border-bottom: 1px dashed #e5e7eb;
}

.checkout-summary span {
  font-weight: 500;
}

.checkout-summary b {
  font-weight: 600;
  color: #0f172a;
}

/* Total row */
.checkout-total {
  font-size: 1.05rem;
  padding-top: 0.9rem;
}

.checkout-total b {
  color: #16a34a;
}

/* Mobile */
@media (max-width: 640px) {
  .checkout-dialog {
    padding: 0.75rem;
  }

  .checkout-summary {
    padding: 1.2rem;
  }
}

/* ==============================
   PASSWORD RENEWAL MODAL
============================== */

.password-renewal-modal .student-modal-card {
  background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url("/assets/images/sign-up-bg.jpg");
  background-color: #0f172a;
  background-size: cover;
  background-position: center;
  color: #fff;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.7);
}

.password-renewal-modal .student-modal-header {
  background: transparent;
}

.password-renewal-modal .student-modal-body {
  background: transparent;
  padding: 2rem;
}

.password-renewal-modal .form-block {
  margin-bottom: 1.5rem;
}

.password-renewal-modal label {
  display: block;
  margin-bottom: 10px;
  color: #fff;
  font-size: 1rem;
}

.password-renewal-modal .password-wrapper {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}

.password-renewal-input {
  width: 100%;
  padding: 0.75rem 1rem;
  padding-right: 45px;
  margin-bottom: 1rem;
  border-radius: 8px;
  border: none;
  background-color: #1a1a2e;
  color: #fff;
  font-size: 1rem;
  font-family: var(--main-font);
  box-sizing: border-box;
}

.password-renewal-input:focus {
  outline: 2px solid var(--primary-color);
  background-color: #22223b;
}

.password-renewal-modal .toggle-password {
  position: absolute;
  right: 20px;
  top: 13px;
  cursor: pointer;
  font-size: 16px;
  color: #777;
  z-index: 2;
}

.password-renewal-btn {
  width: 100%;
  padding: 0.75rem;
  border-radius: 8px;
  border: none;
  background-color: var(--primary-color);
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.3s ease;
  font-family: var(--main-font);
}

.password-renewal-btn:hover {
  background-color: #ff2e2e;
}
/* Dropdown menu */
.user-dropdown {
  position: absolute;
  top: 100%;
  right: 0;
  width: 200px;
  background-color: #000;
  margin-top: 10px;
  border-radius: 6px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.25s ease;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
  z-index: 1100;
}

/* Show dropdown on hover or open class */
.user-wrapper:hover .user-dropdown,
.user-wrapper.open .user-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* Dropdown list styles */
.user-dropdown ul {
  margin: 0;
  padding: 6px 0;
}

.user-dropdown ul li {
  list-style: none;
}

.user-dropdown ul li a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  color: #fff;
  text-decoration: none;
  font-size: 0.95rem;
  transition:
    background 0.25s ease,
    color 0.25s ease;
  border-radius: 4px;
}

.user-dropdown ul li a:hover {
  background: var(--primary-color);
  color: #fff;
}

.user-dropdown ul li a i {
  width: 18px;
  text-align: center;
  font-size: 1rem;
  color: var(--primary-color);
  transition: color 0.25s ease;
}

.user-dropdown ul li a:hover i {
  color: #fff;
}

/* === MOBILE USER DROPDOWN === */
.mobile-user-dropdown {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: #000;
  transform: translateY(100%);
  transition: transform 0.3s ease;
  z-index: 2000;
  border-top-left-radius: 12px;
  border-top-right-radius: 12px;
  padding: 12px 0;
  font-family: var(--main-font);
}

.mobile-user-dropdown.open {
  transform: translateY(0);
  box-shadow: 0 -6px 20px rgba(0, 0, 0, 0.7);
}

/* Mobile dropdown links */
.mobile-user-dropdown a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 24px;
  color: white;
  text-decoration: none;
  font-size: 1.1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  transition: background 0.3s ease;
}

.mobile-user-dropdown a:last-child {
  border-bottom: none;
}

.mobile-user-dropdown a i {
  font-size: 1.3rem;
  color: var(--primary-color);
  transition: color 0.3s ease;
}

.mobile-user-dropdown a:hover {
  background: var(--primary-color);
  color: white;
}

.mobile-user-dropdown a:hover i {
  color: white;
}

/* === DROPDOWN FILTER === */
.dropdown-filter {
  position: relative;
  width: 200px;
  font-family: var(--main-font);
}

.dropdown-selected {
  background: #fff;
  color: #000;
  padding: 12px 16px;
  border-radius: 6px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.3);
  transition: border 0.25s ease;
}

.dropdown-selected:hover {
  border-color: var(--primary-color);
}

.dropdown-selected i {
  font-size: 0.9rem;
  color: var(--primary-color);
  transition: transform 0.3s ease;
}

.dropdown-filter.open .dropdown-selected i {
  transform: rotate(180deg);
}

/* Dropdown menu */
.dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  width: 100%;
  background: #fff;
  border-radius: 6px;
  list-style: none;
  padding: 6px 0;
  margin: 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.25s ease;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
  z-index: 1000;
}

.dropdown-filter.open .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-menu li {
  padding: 12px 16px;
  color: #000;
  cursor: pointer;
  transition: background 0.25s ease;
}

.dropdown-menu li:hover,
.dropdown-menu li.active {
  background: var(--primary-color);
}

.pagination-wrapper {
    display: flex;
    justify-content: center;
    margin-top: 1.5rem;
}

.pagination {
    display: inline-flex;
    list-style: none;
    padding: 0;
    margin: 0;
    gap: 10px;
}

.page-item {
    border-radius: 0.5rem;
    overflow: hidden;
}

.page-item.disabled .page-link,
.page-item.active .page-link {
    pointer-events: none;
}

.page-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--dark-color);
    color: #fff;
    border-radius: 30px;
    text-decoration: none;
    font-size: 0.84rem;
    font-weight: bold;
    transition: background 0.3s ease, color 0.3s ease;
    position: relative;
}

.page-link:hover {
    background: var(--primary-color);
}

.page-item.active .page-link {
    background: var(--primary-color);
    color: #fff;
}

.page-item.disabled .page-link {
    background: var(--dark-color);
    color: #fff;
    cursor: not-allowed;
}

.page-link i {
    font-size: 0.8rem;
}

.shuriken-icon-left,
.shuriken-icon-right {
    width: 15px;
    position: absolute;
}

.shuriken-icon-left {
    right: 15px;
}

.shuriken-icon-right {
    transform: rotate(180deg);
    left: 15px;
}
/* BASE HEADER */
.header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 80px;
  background: rgba(0, 0, 0, 0.7);
  z-index: 1000;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 4rem 2rem;
  box-sizing: border-box;
  color: white;
  border-bottom: 1px solid rgb(255, 255, 255);
  font-family: var(--main-font);
}

/* LOGO */
.header .logo {
  cursor: pointer;
  width: 200px;
  margin-right: 1.5rem;
}

/* RIGHT SIDE */
.header-right {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding-left: 1.5rem;
}

.vertical-separator {
  width: 1px;
  height: 30px;
  background: white;
}

/* ICON BUTTON */
.icon-button {
  background: var(--primary-color);
  width: 45px;
  height: 45px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  color: white;
  font-size: 1.2rem;
  border: none;
  transition:
    background-color 0.3s ease,
    color 0.3s ease;
}

.icon-button:hover {
  background: #fff;
  color: var(--primary-color);
}

/* CART */
.cart-btn {
  position: relative;
}

.cart-count {
  position: absolute;
  top: -6px;
  right: -6px;
  min-width: 20px;
  height: 20px;
  padding: 2px 6px;
  background: var(--dark-color);
  color: #fff;
  font-size: 12px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* USER BOX */
.user-wrapper {
  position: relative;
}

.user-box {
  display: flex;
  align-items: center;
  gap: 1rem;
  cursor: pointer;
  color: white;
  transition: color 0.25s ease;
}

.user-box:hover {
  color: var(--primary-color);
}

.user-name {
  font-size: 1rem;
}

/* USER DROPDOWN */
.user-dropdown {
  position: absolute;
  top: 110%;
  right: 0;
  min-width: 180px;
  background: rgba(0, 0, 0, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 12px;
  padding: 0.5rem;
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);

  transition:
    opacity 0.2s ease,
    transform 0.2s ease,
    visibility 0.2s ease;
}

.user-wrapper:hover .user-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.user-dropdown ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.user-dropdown li a {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.6rem 0.7rem;
  border-radius: 10px;
  color: white;
  text-decoration: none;
  transition: background 0.25s ease, color 0.25s ease;
}

.user-dropdown li a:hover {
  background: rgba(255, 255, 255, 0.12);
  color: var(--primary-color);
}

/* LANGUAGE */
.lang-wrapper {
  position: relative;
}

.lang-toggle {
  padding: 0;
  overflow: hidden;
}

.lang-flag {
  width: 40px;
  height: 40px;
  object-fit: fill;
  border-radius: 50%;
  display: block;
  margin: auto;
}

/* LANGUAGE DROPDOWN */
.lang-dropdown {
  position: absolute;
  top: 110%;
  right: 5px;
  min-width: 160px;
  background: rgba(0, 0, 0, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 12px;
  padding: 0.5rem;
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition:
    opacity 0.2s ease,
    transform 0.2s ease,
    visibility 0.2s ease;
}

.lang-wrapper:hover .lang-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* LANGUAGE ITEMS */
.lang-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.6rem 0.7rem;
  border-radius: 10px;
  color: white;
  text-decoration: none;
  transition: background 0.25s ease, color 0.25s ease;
}

.lang-item img {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  object-fit: fill;
}

.lang-item:hover {
  background: rgba(255, 255, 255, 0.12);
  color: var(--primary-color);
}

/* === HERO STYLES === */
.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  background-image: url("/assets/images/banner.jpg");
  background-size: cover;
  background-attachment: fixed;
  background-repeat: no-repeat;
  background-position: center;
  overflow: hidden;
  object-fit: cover;
}

/* Kyokushin image */
.hero .kyokushin {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  max-width: 80%;
  height: 75%;
  z-index: 10;
}

/* Hero content */
.hero h1 {
  margin-bottom: 1rem;
}

.hero p {
  max-width: 600px;
}

/* MOBILE HERO */
@media (max-width: 768px) {
  .hero {
    height: 320px;
    background-attachment: scroll;
  }

  .hero .kyokushin {
    height: 70%;
  }
}

@media (max-width: 1021px) {
  .hero {
    height: auto;
    aspect-ratio: 16 / 9;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    background-attachment: scroll;
  }

  .hero .kyokushin {
    height: 70%;
  }
}

/* RESPONSIVE */
@media (max-width: 1258px) {
  .header .logo {
    width: 150px;
  }

  .nav ul {
    font-size: 0.9rem;
  }
}

@media (max-width: 1209px) {
  .nav ul {
    gap: 1rem;
  }

  .header-right {
    gap: 1rem;
  }

  .header-right .primary-btn {
    padding: 0.8rem 1.8rem;
  }

  .header-right .icon-button {
    height: 42px;
    width: 42px;
  }
}

@media (max-width: 1120px) {
  .header {
    padding: 3.5rem 1.8rem;
  }

  .nav ul {
    gap: 0.9rem;
    font-size: 0.8rem;
  }

  .header-right {
    gap: 0.9rem;
  }

  .header-right .primary-btn {
    padding: 0.7rem 1.7rem;
  }

  .header-right .icon-button {
    height: 39px;
    width: 39px;
  }

  .lang-dropdown {
    right: auto;
  }
}

@media (max-width: 1053px) {
  .header {
    padding: 3.5rem 1.5rem;
  }

  .header .logo {
    margin-right: 1.2rem;
  }

  .header-right {
    gap: 0.8rem;
  }

  .nav ul {
    font-size: 0.8rem;
  }
}

/* MOBILE MODE */
@media (max-width: 1021px) {

  .header-right {
    display: none;
  }

  .header {
    padding: 2.5rem 1rem;
  }

  .header .logo {
    width: 150px;
  }

  .nav ul {
    font-size: 0.9rem;
  }

  .nav {
    padding-bottom: 80px;
  }
}

/* MOBILE BOTTOM BAR */
.mobile-bottom-bar {
  display: none;
}

@media (max-width:1021px) {

  .mobile-bottom-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 70px;
    background: rgba(0, 0, 0, 0.95);
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    justify-content: space-around;
    align-items: center;
    z-index: 5000;
  }

  /* DROPDOWNS OPEN UPWARD */
  .mobile-bottom-bar .lang-dropdown,
  .mobile-bottom-bar .user-dropdown {
    top: auto;
    bottom: 110%;
  }

}

/* SMALL MOBILE */
@media (max-width:450px) {

  .header {
    position: static;
    padding: 1rem;
    background: black;
  }

  .header .logo {
    width: 120px;
  }

}
.footer {
  position: relative;
  background: url("/assets/images/footer-background.jpg");
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  color: white;
  font-family: var(--main-font);
  padding: 3rem 2rem 1rem;
  box-sizing: border-box;
  overflow: hidden;
}

.footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background-color: var(--dark-color);
  opacity: 0.7;
  transition: opacity 0.3s ease;
  z-index: 1;
}

.footer>* {
  position: relative;
  z-index: 2;
}

/* MAIN FOOTER CONTENT */

.footer-main.show {
  opacity: 1;
  transform: translateY(0);
}

.footer-main {
  opacity: 0;
  transform: translateY(50px);
  transition:
    opacity 1s ease,
    transform 1s ease;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: flex-start;
  max-width: 1280px;
  margin: 0 auto;
  gap: 3rem;
}

/* Logo */
.footer-logo img {
  height: 60px;
  user-select: none;
  cursor: default;
  margin-bottom: 1rem;
}

.footer-columns {
  display: flex;
  flex: 1 1 auto;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: nowrap;
}

/* Each column */
.footer-column {
  flex: 1 1 150px;
  min-width: 150px;
}

/* Column headings */
.footer-column h3 {
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

/* Lists */
.footer-column ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-column ul li {
  margin-bottom: 0.75rem;
  font-weight: 400;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-column ul li i {
  color: #e00b1a;
  min-width: 20px;
  text-align: center;
}

.footer-column ul li a {
  color: white;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-column ul li a:hover,
.footer-column ul li a:focus {
  color: #e00b1a;
}

/* FOOTER BOTTOM */

.footer-bottom {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  margin-top: 2rem;
  border-top: 1px solid #444;
  padding-top: 2rem;
  padding-bottom: 1rem;
  font-size: 0.9rem;
  color: #bbb;
}

.footer-bottom ul {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 30px;
  padding: 0;
  margin: 0;
}

/* RESPONSIVE */

@media (max-width: 1024px) {
  .footer-main {
    flex-direction: column;
    align-items: center;
    gap: 2.5rem;
    padding: 2rem;
  }

  .footer-columns {
    flex-direction: column;
    gap: 5rem;
  }

  .footer-column ul li {
    font-size: 1.1rem;
  }

  .footer-logo {
    margin-bottom: 2rem;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 2rem;
    text-align: center;
    padding-bottom: 2rem;
  }

  .footer-bottom ul {
    justify-content: center;
    gap: 20px;
  }
}

@media (max-width: 480px) {
  .footer {
    padding: 2rem 1rem 1rem;
  }

  .footer-bottom {
    font-size: 0.85rem;
  }

  .footer-bottom ul {
    flex-wrap: wrap;
    gap: 15px;
  }
}
.marquee {
    padding: 30px;
    overflow: hidden;
    white-space: nowrap;
    display: flex;
    /* -webkit-mask-image: linear-gradient(to bottom,
            rgba(0, 0, 0, 1) 0%,
            rgba(0, 0, 0, 1) 20%,
            rgba(0, 0, 0, 0.5) 60%,
            rgba(0, 0, 0, 0) 90%);
    mask-image: linear-gradient(to bottom,
            rgba(0, 0, 0, 1) 0%,
            rgba(0, 0, 0, 1) 20%,
            rgba(0, 0, 0, 0.5) 60%,
            rgba(0, 0, 0, 0) 90%); */
}

.marquee-track {
    display: inline-flex;
    width: max-content;
    animation: scroll 15s linear infinite;
}

.marquee span {
    display: inline-flex;
    align-items: center;
    margin-right: 50px;
    font-size: 3rem;
    font-weight: bold;
    color: var(--primary-color);
}

@keyframes scroll {
    0% {
        transform: translateX(0%);
    }

    100% {
        transform: translateX(-50%);
    }
}


.marquee span::after {
    content: "";
    display: inline-block;
    width: 40px;
    height: 40px;
    margin-left: 50px;
    background-color: var(--primary-color);
    mask: url("/assets/images/icons/ninja-star.svg") no-repeat center / contain;
    -webkit-mask: url("/assets/images/icons/ninja-star.svg") no-repeat center / contain;
    animation: spinScale 2s linear infinite;
}

@keyframes spinScale {
    0% {
        transform: rotate(0deg) scale(0.5);
    }

    50% {
        transform: rotate(180deg) scale(1);
    }

    100% {
        transform: rotate(360deg) scale(0.5);
    }
}

@media (max-width: 600px) {
    .marquee {
        padding: 15px;
    }

    .marquee span {
        font-size: 1.5rem;
        margin-right: 30px;
    }

    .marquee span::after {
        width: 25px;
        height: 25px;
        margin-left: 30px;
    }

    .marquee-track {
        animation-duration: 10s;
    }
}
.sign-in-container {
  padding: 0 1rem;
}

.sign-in-card {
  width: 100%;
  max-width: 700px;
  height: auto;
  padding: 3rem 2rem;
  border-radius: 20px;
  background:
    linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)),
    url("/assets/images/sign-in-bg.jpg");
  background-size: cover;
  background-position: center;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.7);
  margin: 100px auto;
  color: #fff;
  position: relative;
  overflow: visible;
  font-family: var(--main-font);
}

.sign-up-card {
  width: 100%;
  max-width: 1000px;
  background:
    linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)),
    url("/assets/images/sign-up-bg.jpg");
  background-size: cover;
  background-position: center;
}

.signup-form .form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

@media (max-width: 768px) {
  .signup-form .form-grid {
    grid-template-columns: 1fr;
  }
}

.section-title {
  font-size: 1.2rem;
  margin: 2rem 0 1rem;
  font-weight: 700;
  color: var(--primary-color);
  border-left: 4px solid var(--primary-color);
  padding-left: 10px;
}

.sign-in-card h2 {
  margin-bottom: 2rem;
  font-size: 1.8rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-align: center;
}

label {
  display: block;
  margin-bottom: 10px;
}

.sign-in-card input[type="text"],
.sign-in-card input[type="password"],
.sign-in-card input[type="number"],
.sign-in-card input[type="date"] {
  width: 99%;
  margin-left: 2px;
  padding: 0.75rem 1rem;
  margin-bottom: 1rem;
  border-radius: 8px;
  border: none;
  background-color: #1a1a2e;
  color: #fff;
  font-size: 1rem;
  font-family: var(--main-font);
}

.sign-in-card input[type="text"]:focus,
.sign-in-card input[type="password"]:focus,
.sign-in-card input[type="number"]:focus,
.sign-in-card input[type="date"]:focus {
  outline: 2px solid var(--primary-color);
  background-color: #22223b;
}

.sign-in-card input[type="number"]::-webkit-outer-spin-button,
.sign-in-card input[type="number"]::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.sign-in-card input[type="number"] {
  -moz-appearance: textfield;
}

.sign-in-card input[type="file"] {
  width: 100%;
  padding: 0.75rem 1rem;
  margin-bottom: 1.5rem;
  border-radius: 8px;
  border: none;
  background-color: #1a1a2e;
  color: #fff;
  font-size: 1rem;
  font-family: var(--main-font);
  cursor: pointer;
}

.sign-in-card input[type="file"]::-webkit-file-upload-button {
  background: var(--primary-color);
  color: #fff;
  border: none;
  padding: 0.5rem 1rem;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.3s ease;
  font-family: var(--main-font);
}

.sign-in-card input[type="file"]::-webkit-file-upload-button:hover {
  background: #ff2e2e;
}

.file-input-wrapper {
  width: 100%;
  margin-bottom: 1.5rem;
  text-align: left;
}

.custom-file-label {
  display: inline-block;
  background: var(--primary-color);
  color: #fff;
  padding: 0.75rem 1rem;
  border-radius: 8px;
  cursor: pointer;
  font-family: var(--main-font);
  transition: background 0.3s ease;
}

.custom-file-label:hover {
  background: var(--primary-color);
}

.file-name {
  margin-left: 10px;
  color: #ccc;
  font-size: 0.9rem;
}

.file-input-wrapper input[type="file"] {
  display: none;
}

.password-wrapper {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}

.password-wrapper input {
  width: 100%;
  padding-right: 45px;
  box-sizing: border-box;
}

.toggle-password {
  position: absolute;
  right: 20px;
  top: 13px;
  cursor: pointer;
  font-size: 16px;
  color: #777;
  z-index: 2;
}

.password-wrapper small.text-danger {
  text-align: left;
  display: block;
}

.sign-in-card button {
  width: 100%;
  padding: 0.75rem;
  margin-top: 1rem;
  border-radius: 8px;
  border: none;
  background-color: var(--primary-color);
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.3s ease;
  font-family: var(--main-font);
}

.sign-in-card button:hover {
  background-color: #ff2e2e;
}

.sign-in-card .links {
  margin-top: 1rem;
  font-size: 0.85rem;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  text-align: center;
}

.sign-in-card .links a {
  color: var(--primary-color);
  text-decoration: none;
  margin: 0.3rem 0.7rem 0 0.7rem;
}

.sign-in-card .links a:hover {
  text-decoration: underline;
}

@media (max-width: 480px) {
  .sign-in-card .links {
    font-size: 0.75rem;
  }
}

.checkbox-list li {
  list-style: none;
  margin-bottom: 12px;
}

.checkbox-container {
  display: flex;
  align-items: center;
  position: relative;
  padding-left: 35px;
  cursor: pointer;
  font-size: 1rem;
  color: #fff;
  user-select: none;
  line-height: 20px;
}

.checkbox-container input {
  position: absolute;
  opacity: 0;
  height: 0;
  width: 0;
}

.checkmark {
  position: absolute;
  left: 0;
  top: 0;
  height: 22px;
  width: 22px;
  background-color: #1a1a2e;
  border-radius: 6px;
  border: 2px solid #444;
  transition: 0.25s ease;
}

.checkbox-container:hover input~.checkmark {
  border-color: var(--primary-color);
}

.checkbox-container input:checked~.checkmark {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
}

.checkmark::after {
  content: "";
  position: absolute;
  display: none;
}

.checkbox-container input:checked~.checkmark::after {
  display: block;
}

.checkmark::after {
  left: 6px;
  top: 2px;
  width: 6px;
  height: 12px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.d-none {
  display: none;
}

.parents-form,
.guardian-form,
.adult-form {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition:
    max-height 0.6s ease,
    opacity 0.6s ease,
    margin 0.6s ease;
  margin: 0;
}

.show-form {
  max-height: 2000px;
  opacity: 1;
  margin-top: 20px;
}

.mother-fields,
.father-fields {
  max-height: 1000px;
  opacity: 1;
  overflow: visible;
  transition:
    max-height 0.5s ease,
    opacity 0.5s ease;
}

.mother-fields.is-hidden,
.father-fields.is-hidden {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition:
    max-height 0.5s ease,
    opacity 0.5s ease;
}
/* ================================
   PROFILE PAGE (PARENTS / STUDENTS)
   ================================ */

.profile-main {
  min-height: 100vh;
  padding: 4rem 1.5rem;
  font-family: var(--main-font);
}

/* Main container */
.profile-container {
  max-width: 90%;
  margin: 0 auto;
}

/* ================================
   PARENT CARD
   ================================ */

.parent-card {
  background: var(--bg-soft);
  color: #111;
  border-radius: 14px;
  padding: 2rem;
  margin-bottom: 3rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
  position: relative;
  overflow: hidden;
}

/* Accent bar */
.parent-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  height: 5px;
  width: 100%;
  background: var(--primary-color);
}

/* Header */
.parent-header {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.parent-header img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  background: #fff;
  border: 2px solid var(--primary-color);
}

.parent-header h2 {
  margin: 0;
  font-size: 1.6rem;
  font-weight: 600;
}

.parent-header p {
  margin: 0.2rem 0 0;
  font-size: 0.95rem;
  color: #555;
}

/* Parent info grid */
.parent-info {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
  font-size: 0.95rem;
}

.parent-info div {
  background: #fff;
  padding: 0.75rem 1rem;
  border-radius: 8px;
  color: #333;
}

/* ================================
   STUDENT SECTION
   ================================ */

.students-section {
  margin-top: 2rem;
}

.student-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 30px;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.student-header-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.students-section h3 {
  font-size: 1.4rem;
  border-left: 4px solid var(--primary-color);
  padding-left: 1rem;
}

/* Grid */
.students-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

/* Tablet */
@media (max-width: 1024px) {
  .students-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Mobile */
@media (max-width: 600px) {
  .students-grid {
    grid-template-columns: 1fr;
  }
}

/* ================================
   student CARD
   ================================ */

.student-card {
  background: var(--bg-soft);
  color: #111;
  border-radius: 14px;
  padding: 1.5rem;
  text-align: center;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  position: relative;
  overflow: hidden;
}

.student-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  height: 4px;
  width: 100%;
  background: var(--primary-color);
}

.student-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.25);
}

/* Student image */
.student-card .student-profile-img {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 1rem;
  background: #fff;
  border: 2px solid var(--primary-color);
}

/* Student info */
.student-card h4 {
  margin: 0.5rem 0 0.2rem;
  font-size: 1.1rem;
  font-weight: 600;
}

.student-card p {
  margin: 5px 0;
  font-size: 0.9rem;
  color: #555;
}

/* ================================
   BELT ICON
   ================================ */

.belt-icon {
  width: 60px;
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
}

/* ================================
   MOBILE ADJUSTMENTS
   ================================ */

@media (max-width: 768px) {
  /* .main {
    padding: 3rem 1rem;
  } */

  .parent-header {
    flex-direction: column;
    text-align: center;
  }

  .parent-info {
    grid-template-columns: 1fr;
  }
}
/* ================================
   STUDENT VIEW CARD
================================ */

.student-view-main {
  min-height: 100vh;
  padding: 4rem 1.5rem;
  background: var(--bg-page);
  font-family: var(--main-font);
  color: var(--text-main);
}

.student-view-container {
  max-width: 90%;
  margin: 0 auto;
  box-shadow: var(--shadow-soft);
}

.student-view-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.student-view-header {
  background: #1f2937;
  padding: 3rem 2rem;
  text-align: center;
  color: #fff;
}

.student-view-header img {
  width: 130px;
  height: 130px;
  object-fit: cover;
  border-radius: 50%;
  border: 2px solid #fff;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
  margin-bottom: 1rem;
}

.student-view-header h2 {
  margin: 0.5rem 0 0.25rem;
  font-size: 1.75rem;
  font-weight: 600;
}

.student-view-body {
  padding: 2rem;
  display: grid;
  gap: 1.75rem;
}

.info-section {
  background: var(--bg-soft);
  border-radius: var(--radius-md);
  padding: 1.5rem;
}

@keyframes examAlertPulse {
  0% {
    background: var(--bg-soft);
  }

  50% {
    background: var(--primary-color)
  }

  100% {
    background: var(--bg-soft);
  }
}

.exam-section.alert-active {
  animation: examAlertPulse 2s infinite;
}

@media (max-width: 765px) {

  .student-view-body,
  .info-section {
    padding: 1rem;
  }

}

.info-section,
.table-wrapper {
  min-width: 0;
}

.info-section h4 {
  margin-bottom: 1rem;
  font-size: 1.05rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.info-section h4::before {
  content: "";
  width: 4px;
  height: 18px;
  background: var(--primary-color);
  border-radius: 2px;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
}

.info-item {
  background: #fff;
  border-radius: var(--radius-sm);
  padding: 0.75rem 1rem;
  font-size: 0.95rem;
}

.info-item span {
  display: block;
  font-size: 0.7rem;
  color: var(--text-muted);
  margin-bottom: 0.15rem;
}

.info-item[data-state="positive"] {
  background: #d4edda;
  color: #000;
}

.info-item[data-state="negative"] {
  background: #f8d7da;
  color: #000 !important;
}

.info-item span[data-state="negative"],
.info-item span[data-state="positive"] {
  color: #000 !important;
}

.belt-box img {
  width: 50px;
  display: block;
}

.student-actions {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.student-actions a {
  border-radius: var(--radius-sm);
  padding: 0.45rem 0.75rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.student-actions a:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}

/* ================================
   STUDENT VIEW MOBILE
================================ */

@media (max-width: 768px) {
  .student-view-main {
    padding: 2rem 0rem;
  }

  .student-view-card {
    overflow: hidden;
  }

  .student-view-header {
    padding: 2rem 1.25rem;
  }

  .student-view-header h2 {
    font-size: 1.2rem;
  }

  .student-view-header img {
    width: 110px;
    height: 110px;
  }

  .student-body {
    padding: 1.25rem;
  }

  .info-grid {
    gap: 0.75rem;
  }
}

/* ================================
   BELT EXAMS TABLE
================================ */

.table-wrapper {
  width: 100%;
  /* overflow-x: auto; */
}

.belt-exams-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: #fff;
  border-radius: var(--radius-md);
  /* overflow: hidden; */
  font-size: 0.9rem;
}

.belt-exams-table thead {
  background: #f8fafc;
}

.belt-exams-table th {
  text-align: left;
  padding: 0.85rem 1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  border-bottom: 1px solid #e5e7eb;
}

.belt-exams-table td {
  padding: 0.85rem 1rem;
  border-bottom: 1px solid #eef1f5;
  vertical-align: middle;
}

.belt-exams-table tbody tr:last-child td {
  border-bottom: none;
}

.belt-exams-table tbody tr:hover {
  background: #f9fafb;
}

/* Belt cell */
.belt-exams-table td img {
  width: 50px;
  margin-right: 0.5rem;
  vertical-align: middle;
}

.belt-exams-table .exam-actions.dropdown-filter {
  width: auto;
}

/* Status badge */
.exam-status-wrapper {
  display: flex;
  align-items: center;
  height: 100%;
}

.exam-status {
  display: inline-block;
  padding: 0.3rem 0.6rem;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 600;
}

.exam-status.passed {
  background: rgba(16, 185, 129, 0.12);
  color: #059669;
}

.exam-status.failed {
  background: rgba(239, 68, 68, 0.12);
  color: #dc2626;
}

.exam-status.active {
  background: rgba(59, 130, 246, 0.12);
  color: #2563eb;
}

.exam-status.info {
  background: rgba(107, 114, 128, 0.12);
  color: #4b5563;
}

.exam-status.cancelled {
  background: rgba(0, 0, 0, 0.12);
  color: #111111;
}

.belt-exams-table td {
  position: relative;
  overflow: visible;
}

.exam-actions {
  position: relative;
  width: auto;

}

.exam-actions .dropdown-menu {
  top: auto;
  bottom: calc(100% + 8px);
  left: auto;
  right: 0;
  width: 200px;
}

.exam-actions .dropdown-selected {
  width: 40px;
  height: 40px;
  padding: 0;
  border-radius: 8px;
  justify-content: center;
}

.exam-actions .dropdown-selected i {
  margin: 0;
  font-size: 1.3rem;
}

/* Empty state */
.table-empty {
  padding: 1.5rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.doc-preview {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 150px;
  height: 100px;
  background: #fff;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(0, 0, 0, 0.08);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.doc-preview:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
}

.doc-icon {
  width: 56px;
  height: auto;
}

/* ================================
   MOBILE TABLE
================================ */

@media (max-width: 768px) {

  .belt-exams-table th,
  .belt-exams-table td {
    padding: 0.65rem 0.75rem;
    font-size: 0.8rem;
  }

  .belt-exams-table td img {
    width: 45px;
  }
}

/* ================================
   MONTHLY ATTENDANCE CALENDAR
================================ */
.calendar-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

#calendar-filter {
  display: flex;
  gap: 10px;
}

.calendar {
  width: 100%;
}

/* Weekday header */
.calendar-header {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  margin-bottom: 0.5rem;
  text-align: center;
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--text-muted);
}

.day-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.day-weekday {
  font-size: 11px;
  font-weight: 700;
  color: var(--text-muted);
  white-space: nowrap;
}

/* Days grid */
.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 0.5rem;
}

/* Day cell */
.calendar-day {
  background: #fff;
  border-radius: var(--radius-sm);
  padding: 0.5rem;
  min-height: 80px;
  position: relative;
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* Empty days */
.calendar-day.empty {
  background: transparent;
  box-shadow: none;
}

/* Day number */
.day-number {
  font-size: 0.75rem;
  font-weight: 600;
}

/* Status text */
.day-status {
  font-size: 0.65rem;
  font-weight: 600;
  border-radius: 999px;
  padding: 0.2rem 0.5rem;
  text-align: center;
}

.day-time {
  display: block;
  font-size: 12px;
  text-align: center;
  color: var(--text-muted);
  margin-top: 4px;
}

.day-status {
  display: block;
  font-size: 12px;
  font-weight: 600;
}

/* States */
.calendar-day.attended {
  border: 2px solid rgba(16, 185, 129, 0.4);
}

.calendar-day.attended .day-status {
  background: rgba(16, 185, 129, 0.15);
  color: #059669;
}

.calendar-day.missed {
  border: 2px solid rgba(239, 68, 68, 0.4);
}

.calendar-day.missed .day-status {
  background: rgba(239, 68, 68, 0.15);
  color: #dc2626;
}

.calendar-day.upcoming {
  border: 2px solid rgba(59, 130, 246, 0.4);
}

.calendar-day.upcoming .day-status {
  background: rgba(59, 130, 246, 0.15);
  color: #2563eb;
}

.calendar-day.holiday {
  border: 2px solid rgba(240, 160, 21, 0.4);
}

.calendar-day.holiday .day-status {
  background: rgba(240, 160, 21, 0.15);
  color: #d97706;
}

/* Tablet */
@media (min-width: 769px) and (max-width: 968px) {
  .calendar-grid {
    grid-template-columns: repeat(4, 1fr);
    overflow: hidden;
    overflow-x: scroll;
  }

  .calendar-day.empty {
    display: none;
  }
}


/* Mobile */
@media (max-width: 768px) {
  .info-section h4 {
    font-size: 0.95rem;
  }

  .calendar {
    overflow: visible;
  }

  .calendar-header {
    display: none;
  }

  .calendar-grid {
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 10px;
    min-width: 0;
  }

  .calendar-day.empty {
    display: none;
  }

  .calendar-day {
    min-height: 92px;
    padding: 12px;
    box-shadow: var(--shadow-soft);
  }

  .day-number {
    font-size: 14px;
    margin-bottom: 6px;
  }

  .day-time {
    font-size: 10px;
    margin-top: 6px;
  }

  .day-status {
    font-size: 12px;
    padding: 6px 10px;
  }

  #calendar-filter {
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
  }

  .dropdown-filter {
    width: 100%;
  }
}

@media (max-width: 500px) {

  .calendar-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .day-status {
    font-size: 7.5px;
    padding: 3px 6px;
    line-height: 1.1;

    white-space: nowrap;
    overflow: hidden;
  }

  .day-time {
    font-size: 9px;
  }

  .calendar-day {
    padding: 10px;
    min-height: 80px;
  }
}

@media (max-width: 360px) {

  .calendar-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .day-status {
    font-size: 8px;
    padding: 3px 6px;
    line-height: 1.1;

    white-space: nowrap;
    overflow: hidden;
  }

  .day-time {
    font-size: 9px;
  }

  .calendar-day {
    padding: 10px;
    min-height: 80px;
  }
}

@media (max-width: 980px) {

  .belt-exams-table thead {
    display: none;
  }

  .belt-exams-table,
  .belt-exams-table tbody,
  .belt-exams-table tr,
  .belt-exams-table td {
    display: block;
    width: 100%;
  }

  .belt-exams-table tbody tr {
    background: #fff;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-soft);
    padding: 12px;
    margin-bottom: 12px;
    position: relative;
  }

  .belt-exams-table td {
    border: none;
    padding: 10px 0;
    border-bottom: 1px solid #eef1f5;
  }

  .belt-exams-table td:last-child {
    border-bottom: none;
    padding-bottom: 0;
  }

  .belt-exams-table td::before {
    content: attr(data-label);
    display: block;
    font-size: 12px;
    font-weight: 700;
    color: var(--text-muted);
    margin-bottom: 6px;
    text-transform: none;
    letter-spacing: 0;
  }

  .belt-exams-table td img {
    width: 52px;
    margin: 0;
  }

  .belt-exams-table td .primary-btn {
    width: 100%;
    justify-content: center;
  }

  .belt-exams-table td.col-actions {
    position: absolute;
    top: 10px;
    right: 10px;
    width: auto;
    padding: 0;
    border: none;
  }

  .belt-exams-table td.col-actions::before {
    content: "";
    display: none;
  }

  .exam-actions .dropdown-menu {
    right: 0;
    left: auto;
    top: calc(100% + 8px);
    bottom: auto;
    width: 200px;
  }

  .exam-actions .dropdown-selected {
    width: 40px;
    height: 40px;
    padding: 0;
    border-radius: 10px;
    justify-content: center;
  }

  td .primary-btn {
    padding: 1rem;
  }
}
.catalog {
  min-height: calc(100vh - 200px);
  padding: 2rem 1.5rem;
  font-family: var(--main-font);
  color: #1e1e1e;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* GRID */
.catalog-container {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
}

/* CARD */
.catalog-item {
  position: relative;
  background: #1c1c1c;
  border-radius: 14px;
  overflow: hidden;
  transition: all 0.4s ease;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.6);
  border: 2px solid #2a2a2a;
  display: flex;
  flex-direction: column;
  min-height: 350px;
}

/* Hover */
.catalog-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 0 25px rgba(194, 0, 0, 0.6);
  border: 2px solid var(--primary-color);
}

.catalog-item:hover::before {
  border-color: #c20000;
  top: 100%;
}

/* IMAGE WITH KANJI WATERMARK */
.catalog-image {
  position: relative;
  background-image: url("/assets/images/icons/kanji.png");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 47%;
  background-color: #111;
  display: flex;
  align-items: center;
  justify-content: center;

  aspect-ratio: 4 / 5;
  min-height: 250px;
  width: 100%;
}

/* kanji overlay fade */
.catalog-image::after {
  content: "";
  position: absolute;
  inset: 0;
  transition: background 0.4s ease;
}

.catalog-item img.catalog-main-image {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 20px;
  transition: transform 0.4s ease;
}

.catalog-item:hover img.catalog-main-image {
  transform: scale(1.05);
}

/* INFO */
.catalog-item-info {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  position: relative;
  z-index: 2;
  border-top: 1px solid #2a2a2a;
  background: #181818;
}

/* Title */
.catalog-item-title {
  margin: 0 0 1rem 0;
  font-size: clamp(1.1rem, 2vw, 1.5rem);
  font-weight: 600;
  transition: color 0.3s ease;
  color: #ffffff;
}

.catalog-item:hover .catalog-item-title {
  color: var(--primary-color);
}

/* Price */
.catalog-item-price {
  display: inline-block;
  background: linear-gradient(to right, #000, #222);
  color: #fff;
  padding: 0.6rem 1rem;
  border-left: 4px solid #c20000;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 1px;
  align-self: flex-start;
  transition: all 0.3s ease;
}

.catalog-item:hover .catalog-item-price {
  background: #c20000;
  border-left: 4px solid #fff;
}

/* RESPONSIVE */
@media (min-width: 1184px) and (max-width: 1387px) {
  /* Title */
  .catalog-item-title {
    font-size: clamp(1.1rem, 1.5vw, 1.2rem);
  }
}

@media (max-width: 768px) {
  .catalog {
    padding: 1.5rem 1rem;
  }

  .catalog-container {
    gap: 1.5rem;
  }
}

@media (max-width: 480px) {
  .catalog-container {
    gap: 1rem;
  }

  .catalog-image {
    min-height: 220px;
  }

  .catalog-item {
    min-height: auto;
  }
}
/* PRODUCT LAYOUT */
.product-container {
  display: flex;
  align-items: flex-start; 
  gap: 32px;
  max-width: 90%;
  margin: 40px auto;
  padding: 0 20px;
}

/* THUMBNAILS COLUMN */
.product-images {
  display: flex;
}

.product-image-items {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 20px;
}

.product-image {
  background: #181818;
  width: 130px;
  padding: 10px;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  border: 3px solid var(--primary-color);
  border-radius: var(--radius-lg);
  cursor: pointer;
  transition: all 0.25s ease;
}

.product-image:hover {
  transform: scale(1.05);
  border-color: #000;
}

/* MAIN IMAGE */
.product-main {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 25px;
  background: #181818;
  border: 3px solid var(--primary-color);
  border-radius: var(--radius-lg);
}

.main-image-wrapper {
  position: relative;
  width: 450px;
  max-width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
}

.main-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.4s ease;
  display: block;
  position: relative;
}

/* animation states */
.slide-in-right {
  transform: translateX(100%);
}

.slide-in-left {
  transform: translateX(-100%);
}

.slide-center {
  transform: translateX(0);
}

.slide-out-left {
  transform: translateX(-100%);
}

.slide-out-right {
  transform: translateX(100%);
}

/* PRODUCT INFO */
.product-info {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
}

.product-info h2 {
  font-size: 26px;
}

.product-price {
  font-size: 21px;
  color: var(--primary-color);
  font-weight: 600;
}

.divider {
  height: 1px;
  width: 100%;
  background-color: var(--border-divider);
}

.product-specs {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.product-size {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.product-colors {
  display: flex;
  align-items: center;
  gap: 12px;
}

.color-option {
  position: relative;
  top: 2px;
  cursor: pointer;
}

.color-option input {
  display: none;
}

.color-box {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: block;
  border: 2px solid #ccc;
  transition: all 0.2s ease;
}

/* hover effect */
.color-option:hover .color-box {
  transform: scale(1.1);
}

/* selected */
.color-option input:checked+.color-box {
  border: 2px solid #000;
}

.color-option input:checked+.color-box::after {
  content: "✓";
  color: white;
  font-size: 18px;
  font-weight: bold;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.product-size-item {
  position: relative;
  top: 3px;
  min-width: 70px;
  height: 27px;
  border-radius: 6px;
  background-color: #ccc;
  cursor: pointer;
  margin-right: 5px;

  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 13px;
  user-select: none;
  color: #000;
}

.product-size-item input[type="radio"] {
  opacity: 0;
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  margin: 0;
  cursor: pointer;
  z-index: 2;
}

.product-size-item span {
  position: relative;
  z-index: 1;
  pointer-events: none;
}

.product-size-item input[type="radio"]:checked+span {
  background-color: var(--primary-color);
  color: white;
  border-radius: 6px;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-size-item:hover {
  background-color: #bbb;
}

/* BUNDLE ITEMS */
.bundle-items {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.bundle-item {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 5px 0;
}

.bundle-subtitles {
  font-size: 18px !important;
  color: var(--primary-color);
}

.bundle-item b:first-child {
  font-size: 15px;
}

.bundle-items .divider {
  width: 100%;
  margin: 0;
}

.product-btns form {
  width: 100%;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.product-btns button {
  min-width: 210px;
}

.product-payment-methods {
  width: 100%;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.product-payment-methods img {
  width: 55px;
}

.product-payment-methods img:nth-child(1),
.product-payment-methods img:nth-child(2) {
  padding-right: 15px;
  border-right: 1px solid black;
}

.clear-selects {
  font-size: 13px;
  cursor: pointer;
}

.clear-selects:hover {
  color: var(--primary-color);
}

.product-quantity {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--main-font);
  font-size: 14px;
  color: #000;
}

.product-quantity input[type="number"] {
  width: 60px;
  padding: 8px 12px;
  border-radius: 6px;
  border: 1px solid rgba(0, 0, 0, 0.3);
  background-color: #fff;
  text-align: center;
  font-size: 14px;
  transition:
    border 0.25s ease,
    box-shadow 0.25s ease;
  cursor: pointer;
}

.product-quantity input[type="number"]:hover,
.product-quantity input[type="number"]:focus {
  border-color: var(--primary-color);
  outline: none;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
}

.product-quantity b {
  font-weight: 600;
}

.qty-box {
  display: flex;
  gap: 10px;
  align-items: center;
}

.qty-input {
  width: 50px;
  text-align: center;
  border: none;
  outline: none;
  font-size: 14px;
  padding: 8px 0;
}

.qty-btn {
  width: 35px;
  height: 35px;
  border: none;
  border-radius: 6px;
  background: var(--primary-color);
  color: #fff;
  cursor: pointer;
  font-size: 18px;
  font-weight: bold;
  transition: 0.2s;
}

.qty-btn:hover {
  background: var(--dark-color);
}

/* MOBILE */
@media (max-width: 1024px) {
  .product-container {
    flex-direction: column;
    align-items: center;
    gap: 24px;
  }

  /* MAIN IMAGE */
  .product-main {
    order: 1;
    width: 100%;
    max-width: 460px;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  /* THUMBNAILS */
  .product-images {
    order: 2;
    width: 100%;
    max-width: 460px;
    display: flex;
    justify-content: center;
  }

  .product-image-items {
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    gap: 16px;
    padding: 5px;
  }

  .product-image {
    width: 90px;
    flex-shrink: 0;
  }

  /* PRODUCT INFO */
  .product-info {
    order: 3;
    max-width: 90%;
  }
}

@media (min-width: 792px) and (max-width: 1024px) {
  .product-image-items {
    gap: 25px;
    justify-content: center;
  }

  .product-main {
    max-width: 90%;
  }

  .product-image {
    width: 140px;
  }
}

@media (max-width: 445px) {
  .product-image-items {
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 6px;
  }

  .product-btns button {
    min-width: 100%;
  }
}

@media (max-width: 360px) {
  .product-image-items {
    gap: 10px;
  }
}
.contact-info {
  display: flex;
  justify-content: space-around;
  margin-top: 1.5rem;
}

.contact-item {
  display: flex;
  justify-content: center;
  gap: 1rem;
  border-radius: 12px;
}

.contact-item span {
  font-size: 1rem;
  font-weight: 500;
  transition: color 0.3s ease;
}

.contact-icon {
  height: clamp(3.125rem, 2.75rem + 1.875vw, 5rem);
  width: clamp(3.125rem, 2.75rem + 1.875vw, 5rem);
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  font-size: clamp(1.25rem, 1.0014rem + 0.8322vw, 2rem);
  border: 1px solid var(--primary-color);
  background: radial-gradient(
    circle,
    rgba(255, 255, 255, 1) 30%,
    rgba(240, 136, 143, 1) 75%,
    rgba(230, 61, 73, 1) 92%,
    rgba(224, 11, 26, 1) 100%
  );
  transition:
    background 0.6s ease,
    transform 0.4s ease,
    box-shadow 0.4s ease;
}

.contact-icon i {
  color: var(--primary-color);
  transition: color 0.4s ease;
}

.contact-item:hover .contact-icon {
  background: var(--primary-color);
  transform: scale(1.1);

  box-shadow:
    0 0 15px rgba(224, 11, 26, 0.4),
    inset 0 0 15px rgba(255, 255, 255, 0.3);
}

.contact-item:hover .contact-icon i {
  color: #fff;
}

.contact-item:hover span {
  color: var(--primary-color);
}

.map {
  width: 100%;
  height: 450px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
}

.map iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

@media (max-width: 1140px) {
  .contact-info {
    gap: 0rem;
  }
}
@media (max-width: 960px) {
  .contact-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 1.5rem;
  }

  .contact-item {
    margin: 0;
    width: 100%;
    max-width: 320px;
    padding: 1rem 0;
    justify-content: flex-start;
    gap: 1rem;
  }

  .contact-icon {
    min-width: 60px;
    min-height: 60px;
    width: 60px !important;
    height: 60px !important;
    font-size: 1.5rem !important;
  }

  .contact-item span {
    font-size: 1.1rem;
  }

  .headings h1 {
    font-size: 2.25rem;
  }
}

@media (max-width: 715px) {
  .headings h1 {
    font-size: 2rem;
  }

  .contact-details h3 {
    font-size: 1.25rem;
  }
  .contact-item span {
    font-size: 1rem;
  }
}

/* ================================
   GALLERY PAGE
================================ */

.gallery-main {
  min-height: 100vh;
  padding: 4rem 1.5rem;
  background: var(--bg-page);
  font-family: var(--main-font);
  color: var(--text-main);
}

.gallery-container {
  max-width: 95%;
  margin: 0 auto;
}

/* ================================
   GALLERY HEADER
================================ */

.gallery-header {
  text-align: center;
  margin-bottom: 3rem;
}

.gallery-title-section {
  margin-bottom: 2.5rem;
}

.gallery-title-section h1 {
  font-size: 2.8rem;
  font-weight: 700;
  margin: 0 0 0.5rem;
  color: var(--dark-color);
}

.gallery-title-section p {
  font-size: 1rem;
  color: var(--text-muted);
  margin: 0;
}

/* ================================
   FILTERS
================================ */

.gallery-filters {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.filter-btn {
  padding: 0.65rem 1.25rem;
  border: 2px solid #e0e0e0;
  background: #ffffff;
  color: var(--dark-color);
  border-radius: 25px;
  cursor: pointer;
  font-family: var(--main-font);
  font-size: 0.95rem;
  font-weight: 600;
  transition: all 0.3s ease;
}

.filter-btn:hover {
  border-color: var(--primary-color);
  color: var(--primary-color);
}

.filter-btn.active {
  background: var(--primary-color);
  color: #fff;
  border-color: var(--primary-color);
  box-shadow: 0 4px 12px rgba(224, 11, 26, 0.25);
}

/* ================================
   GALLERY GRID
================================ */

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.75rem;
  margin-bottom: 2rem;
  background: #1f2937;
}

.gallery-item {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-card);
  box-shadow: var(--shadow-soft);
  transition: all 0.3s ease;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  animation: fadeInUp 0.6s ease-out;
}

.gallery-item:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-4px);
}

/* Image wrapper */
.gallery-image-wrapper {
  position: relative;
  width: 100%;
  padding-bottom: 100%;
  overflow: hidden;
  background: #f0f0f0;
}

.gallery-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-image {
  transform: scale(1.08);
}

/* Overlay */
.gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 10;
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-view-btn {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--primary-color);
  color: #fff;
  border: none;
  cursor: pointer;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(224, 11, 26, 0.4);
}

.gallery-view-btn:hover {
  transform: scale(1.1);
  background: #c80916;
}

/* Gallery info */
.gallery-info {
  padding: 1.25rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.gallery-info h3 {
  margin: 0 0 0.5rem;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--dark-color);
  line-height: 1.3;
}

.gallery-date {
  margin: 0 0 0.75rem;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.gallery-description {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-main);
  line-height: 1.4;
  flex: 1;
}

/* ================================
   EMPTY STATE
================================ */

.gallery-empty {
  text-align: center;
  padding: 4rem 2rem;
  color: var(--text-muted);
}

.gallery-empty i {
  font-size: 3.5rem;
  color: var(--text-muted);
  opacity: 0.5;
  margin-bottom: 1rem;
  display: block;
}

.gallery-empty p {
  font-size: 1.1rem;
  margin: 0;
}

/* ================================
   LIGHTBOX MODAL
================================ */

.lightbox-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(4px);
}

.lightbox-modal.active {
  display: flex;
}

.lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
}

.lightbox-container {
  position: relative;
  width: 90vw;
  max-width: 900px;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: lightboxSlideUp 0.3s ease-out;
}

.lightbox-image {
  max-width: 100%;
  max-height: 90vh;
  object-fit: contain;
  border-radius: var(--radius-md);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

/* Lightbox controls */
.lightbox-close {
  position: absolute;
  top: -40px;
  right: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
  border: none;
  cursor: pointer;
  font-size: 1.5rem;
  transition: all 0.3s ease;
  z-index: 10;
}

.lightbox-close:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: scale(1.1);
}

.lightbox-prev,
.lightbox-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
  border: none;
  cursor: pointer;
  font-size: 1.3rem;
  transition: all 0.3s ease;
  z-index: 10;
}

.lightbox-prev:hover,
.lightbox-next:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: translateY(-50%) scale(1.1);
}

.lightbox-prev {
  left: -60px;
}

.lightbox-next {
  right: -60px;
}

/* ================================
   ANIMATIONS
================================ */

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes lightboxSlideUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ================================
   RESPONSIVE
================================ */

@media (max-width: 1024px) {
  .gallery-grid {
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 1.5rem;
  }

  .lightbox-prev {
    left: -50px;
  }

  .lightbox-next {
    right: -50px;
  }
}

@media (max-width: 768px) {
  .gallery-main {
    padding: 2rem 1rem;
  }

  .gallery-title-section h1 {
    font-size: 2rem;
  }

  .gallery-title-section p {
    font-size: 0.9rem;
  }

  .gallery-grid {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1.25rem;
  }

  .filter-btn {
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
  }

  .lightbox-prev,
  .lightbox-next {
    width: 40px;
    height: 40px;
    font-size: 1.1rem;
  }

  .lightbox-prev {
    left: -45px;
  }

  .lightbox-next {
    right: -45px;
  }

  .lightbox-close {
    width: 35px;
    height: 35px;
    font-size: 1.2rem;
    top: -35px;
  }
}

@media (max-width: 480px) {
  .gallery-main {
    padding: 1.5rem 0.75rem;
  }

  .gallery-title-section h1 {
    font-size: 1.6rem;
  }

  .gallery-title-section p {
    font-size: 0.85rem;
  }

  .gallery-filters {
    gap: 0.5rem;
  }

  .filter-btn {
    padding: 0.45rem 0.85rem;
    font-size: 0.75rem;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }

  .gallery-info {
    padding: 0.85rem;
  }

  .gallery-info h3 {
    font-size: 0.95rem;
  }

  .lightbox-container {
    width: 95vw;
  }

  .lightbox-prev,
  .lightbox-next {
    display: none;
  }

  .lightbox-close {
    top: 10px;
    right: 10px;
  }
}

.privacy-policy-main {
    padding: 40px 20px;
}

.privacy-policy-container {
    max-width: 950px;
    margin: 0 auto;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.privacy-policy-content {
    background-color: white;
    padding: 50px 40px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    line-height: 1.8;
    color: #333;
}

.privacy-policy-content h1 {
    color: var(--primary-color, #e00b1a);
    font-size: 2.5rem;
    margin-bottom: 10px;
    border-bottom: 3px solid var(--primary-color, #e00b1a);
    padding-bottom: 15px;
}

.privacy-policy-content h2 {
    color: var(--dark-color, #101010);
    font-size: 1.5rem;
    margin-top: 40px;
    margin-bottom: 20px;
    font-weight: 600;
}

.privacy-policy-content h3 {
    color: var(--primary-color, #e00b1a);
    font-size: 1.1rem;
    margin-top: 25px;
    margin-bottom: 15px;
    font-weight: 600;
}

.intro-text {
    font-size: 0.95rem;
    color: #666;
    margin-bottom: 30px;
    font-style: italic;
}

.policy-section {
    margin-bottom: 50px;
}

.policy-section p {
    margin-bottom: 15px;
    text-align: justify;
}

.policy-section ul {
    list-style-type: none;
    padding-left: 0;
}

.policy-section li {
    margin-bottom: 12px;
    padding-left: 25px;
    position: relative;
}

.policy-section li:before {
    content: "▸";
    color: var(--primary-color, #e00b1a);
    font-weight: bold;
    position: absolute;
    left: 0;
}

.data-category {
    background-color: #f9f9f9;
    padding: 20px;
    border-left: 5px solid var(--primary-color, #e00b1a);
    margin-bottom: 25px;
    border-radius: 4px;
}

.data-category h3 {
    margin-top: 0;
}

.data-category ul {
    margin-bottom: 0;
}

.policy-footer {
    border-top: 2px solid #e00b1a;
    padding-top: 30px;
    margin-top: 50px;
    text-align: center;
    color: #666;
}

.policy-footer p {
    margin-bottom: 10px;
}

.disclaimer {
    font-weight: 600;
    color: var(--dark-color, #101010);
    font-size: 0.95rem;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .privacy-policy-main {
        padding: 20px 15px;
    }

    .privacy-policy-content {
        padding: 30px 20px;
    }

    .privacy-policy-content h1 {
        font-size: 1.8rem;
    }

    .privacy-policy-content h2 {
        font-size: 1.3rem;
    }

    .policy-section li {
        padding-left: 20px;
    }

    .data-category {
        padding: 15px;
    }
}

@media (max-width: 480px) {
    .privacy-policy-main {
        padding: 15px 10px;
    }

    .privacy-policy-content {
        padding: 20px 15px;
    }

    .privacy-policy-content h1 {
        font-size: 1.5rem;
    }

    .privacy-policy-content h2 {
        font-size: 1.1rem;
        margin-top: 25px;
    }

    .policy-section p {
        text-align: left;
    }
}

/* Cart Page Layout */
.cart-page {
  min-height: calc(100vh - 300px);
  padding: 2rem 1.5rem;
  font-family: var(--main-font);
  color: #1e1e1e;
}

.cart-container {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 350px;
  gap: 2rem;
}

/* Empty Cart Message */
.empty-cart {
  grid-column: 1 / -1;
  text-align: center;
  padding: 4rem 2rem;
  background: white;
  border-radius: 14px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
  font-size: 1.25rem;
}

/* Cart Table */
.cart-table {
  background: white;
  border-radius: 14px;
  /* overflow: hidden; */
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
  border: 1px solid #e5e7eb;
}

.cart-table table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}

.cart-table thead {
  background: linear-gradient(135deg, #f8f8f8 0%, #e6e6e6 100%);
  border-bottom: 2px solid #d1d5db;
}

.cart-table th {
  padding: 1.25rem 1rem;
  text-align: left;
  font-weight: 700;
  color: #1f2937;
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 0.5px;
}

.cart-table tbody tr {
  border-bottom: 1px solid #e5e7eb;
  transition: background-color 0.2s ease;
}

.cart-table tbody tr:hover {
  background-color: #f9fafb;
}

.cart-table td {
  padding: 1.25rem 1rem;
  vertical-align: middle;
}

.cart-item-image {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid #e5e7eb;
}

.cart-item-title {
  font-weight: 600;
  color: #1f2937;
  margin: 0;
}

.cart-item-meta {
  font-size: 0.85rem;
  color: #6b7280;
  margin-top: 0.5rem;
}

.cart-students-dropdown {
  position: relative;
  width: auto;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
}

.cart-students-dropdown .dropdown-menu {
  position: absolute;
  z-index: 50;
  width: 100%;
}

.cart-item-price {
  font-weight: 700;
  color: var(--primary-color);
  font-size: 1.1rem;
  white-space: nowrap;
}

.cart-remove-btn {
  background-color: var(--primary-color);
  width: 30px;
  height: 30px;
  mask: url("/assets/images/icons/close-toggle-icon.svg") no-repeat center /
    contain;
  -webkit-mask: url("/assets/images/icons/close-toggle-icon.svg") no-repeat
    center / contain;
  padding: 0.5rem 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 0.85rem;
}

.cart-remove-btn:hover {
  background-color: var(--dark-color);
}

/* Checkout Card */
.checkout-card {
  position: sticky;
  top: 20px;
  background: white;
  border-radius: 14px;
  padding: 2rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
  border: 1px solid #e5e7eb;
  height: fit-content;
}

.checkout-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  text-align: center;
  color: #1f2937;
}

.checkout-summary {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 2px solid #e5e7eb;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.95rem;
}

.summary-row.total {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary-color);
}

.checkout-btn {
  width: 100%;
  margin-top: 1rem;
}

/* Responsive */
@media (max-width: 1245px) {
  .cart-container {
    max-width: 800px;
  }
  .cart-container {
    grid-template-columns: 1fr;
  }

  .checkout-card {
    position: static;
  }

  .cart-table table,
  .cart-table thead,
  .cart-table tbody,
  .cart-table th,
  .cart-table td,
  .cart-table tr {
    display: block;
  }

  .cart-table thead tr {
    display: none;
  }

  .cart-table tbody tr {
    position: relative;
    margin-bottom: 1.5rem;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 1rem;
  }

  .cart-table tbody td {
    padding: 0.5rem 0;
    position: relative;
    padding-left: 50%;
    text-align: left;
    border: none;
    border-bottom: 1px solid #e5e7eb;
  }

  .cart-table tbody td::before {
    position: absolute;
    left: 1rem;
    width: 45%;
    white-space: nowrap;
    font-weight: 600;
    color: #374151;
    content: attr(data-label);
  }

  .cart-table tbody td:nth-child(1)::before {
    top: 25px;
  }

  /* .cart-table tbody td:nth-child(5)::before {
    top: 13px;
  } */

  .cart-item-image {
    width: 60px;
    height: 60px;
    margin-bottom: 0.5rem;
  }

  .cart-remove-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 28px;
    height: 28px;
    margin: 0;
  }

  .cart-table tbody tr {
    position: relative;
    padding-top: 2rem;
  }

  .cart-table tbody td:last-child {
    display: contents;
  }

  .cart-students-dropdown {
    width: 130px;
    font-size: 0.8rem;
  }

  .cart-students-dropdown-selected {
    display: block;
    padding: 8px 12px;
  }

  /* remove button */
  .cart-remove-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 26px;
    height: 26px;
    background-color: #ef4444;
    border-radius: 50%;
  }

  .cart-remove-btn:hover {
    background-color: #dc2626;
  }
}

/* PRODUCT ORDER */

.product-order-container {
    padding: 0 1rem;
}

/* reuse sign-in-card */
.product-order-card {
    background:
        linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)),
        url("/assets/images/card-checkout-form.png") !important;
}

/* subtitle */
.checkout-subtitle {
    text-align: center;
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    color: #ccc;
}

/* grid for name/lastname */
.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

/* mobile */
@media (max-width: 600px) {
    .form-grid {
        grid-template-columns: 1fr;
    }
}

/* spacing fix */
.mt-2 {
    margin-top: 1rem;
}

/* button override (optional) */
.product-order-card button {
    margin-top: 1.5rem;
}

/* small tweak for inputs */
.product-order-card input {
    width: 100%;
}

/* better focus */
.product-order-card input:focus {
    outline: 2px solid var(--primary-color);
}

/* link style */
.product-order-card .links span {
    color: #aaa;
    margin-right: 5px;
}
/* PASSWORD RESET */

.password-reset-container {
    padding: 0 1rem;
}

/* reuse sign-in-card */
.password-reset-card {
    background:
        linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)),
        url("/assets/images/card-checkout-form.png") !important;
}

/* spacing fix */
.mt-2 {
    margin-top: 1rem;
}

/* button override (optional) */
.password-reset-card button {
    margin-top: 1.5rem;
}

/* small tweak for inputs */
.password-reset-card input {
    width: 100%;
}

/* better focus */
.password-reset-card input:focus {
    outline: 2px solid var(--primary-color);
}

/* link style */
.password-reset-card .links span {
    color: #aaa;
    margin-right: 5px;
}
body {
  background-image: url("/assets/images/background.png");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  background-attachment: fixed;
  min-height: 100vh;
  min-height: 100dvh;
  margin: 0;
}

.wrapper {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 100vh;
  min-height: 100dvh;
}

.main {
  flex: 1;
}

.headings {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: center;
  align-items: center;
  white-space: nowrap;
  color: var(--primary-color);
  margin-bottom: 50px;
  max-width: 100%;
}

.blade-start,
.blade-end {
  height: clamp(16px, 6vw, 45px);
  width: auto;
  margin-bottom: 3px;
  flex-shrink: 1;
}

.headings h1 {
  margin: 0px 10px 0px 5px;
  flex-shrink: 1;
  min-width: 0;
}

.headings h1,
.headings h2,
.headings h3,
.headings h4,
.headings h5,
.headings h6 {
  font-size: clamp(1rem, 6vw, 2rem);
}

@media (max-width: 715px) {
  .headings h1,
  .headings h2,
  .headings h3,
  .headings h4 {
    font-size: clamp(1rem, 6.5vw, 1.8rem);
  }
}

@media (max-width: 460px) {
  .blade-start,
  .blade-end {
    height: clamp(14px, 7vw, 30px);
  }

  .headings h1,
  .headings h2,
  .headings h3,
  .headings h4,
  .headings h5,
  .headings h6 {
    font-size: clamp(0.9rem, 7vw, 1.4rem);
  }
}

