/* =====================================================
   🎨 Navbar Auth Buttons
===================================================== */

.btn-login, .btn-register, .btn-logout {
    padding: 0.5rem 1.2rem !important;
    border-radius: 8px !important;
    font-weight: 500 !important;
    transition: all 0.3s ease !important;
}

.btn-login {
    background: rgba(88, 101, 242, 0.15) !important;
    color: #8a9bff !important;
}

.btn-login:hover {
    background: rgba(88, 101, 242, 0.25) !important;
    color: #fff !important;
}

.btn-register {
    background: var(--primary) !important;
    color: #fff !important;
}

.btn-register:hover {
    background: #4752c4 !important;
    box-shadow: 0 0 15px rgba(88, 101, 242, 0.4) !important;
}

.btn-logout {
    background: rgba(220, 53, 69, 0.15) !important;
    color: #dc3545 !important;
}

.btn-logout:hover {
    background: rgba(220, 53, 69, 0.25) !important;
    color: #fff !important;
}

/* =====================================================
   📬 Contact Page Styles
===================================================== */

.contact-page {
    max-width: 1200px;
    margin: 0 auto;
    padding: 3rem 1rem;
}

.contact-page h1 {
    color: var(--primary-light);
    margin-bottom: 1rem;
}

.contact-page .lead {
    color: #a1a1a6;
    font-size: 1.1rem;
    margin-bottom: 3rem;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 3rem;
    margin-top: 2rem;
}

@media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

.contact-form-wrapper {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--radius);
    padding: 2rem;
}

.contact-form .form-group {
    margin-bottom: 1.5rem;
}

.contact-form label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--primary-light);
    font-weight: 500;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 0.8rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: #f1f1f2;
    font-family: inherit;
    transition: all 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(88, 101, 242, 0.1);
}

.contact-form textarea {
    resize: vertical;
    min-height: 150px;
}

.contact-info {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--radius);
    padding: 2rem;
    height: fit-content;
}

.contact-info h3 {
    color: var(--primary-light);
    margin-bottom: 1.5rem;
}

.contact-method {
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.contact-method:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.contact-method h4 {
    color: #8a9bff;
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.contact-method p {
    color: #a1a1a6;
    margin: 0;
    line-height: 1.6;
}

/* =====================================================
   ⚙️ Dashboard Styles — Dark UI
===================================================== */

.admin-container {
  display: grid;
  grid-template-columns: 250px 1fr;
  min-height: 100vh;
  background: #0e0e10;
}

.admin-sidebar {
  background: rgba(20, 20, 25, 0.85);
  backdrop-filter: blur(14px);
  border-right: 1px solid rgba(255, 255, 255, 0.05);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 4px 0 10px rgba(0, 0, 0, 0.4);
}

.admin-sidebar h2 {
  color: #f3f3f3;
  font-size: 1.3rem;
  letter-spacing: -0.5px;
  margin-bottom: 2rem;
}

.admin-nav {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.admin-nav a {
  color: #a6a8b2;
  text-decoration: none;
  padding: 0.8rem 1rem;
  border-radius: 10px;
  font-weight: 500;
  transition: all 0.25s ease;
}

.admin-nav a:hover {
  background: rgba(88, 101, 242, 0.15);
  color: #ffffff;
}

.admin-nav a.active {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 0 14px rgba(88, 101, 242, 0.4);
}

.admin-main {
  padding: 3rem;
  background: #0e0e10;
  color: #f2f2f2;
}

.admin-main h1 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 2rem;
  letter-spacing: -0.5px;
  color: var(--primary-light);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.stat-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: var(--radius);
  padding: 1.5rem;
  transition: all 0.3s ease;
  box-shadow: var(--shadow);
  text-align: center;
}

.stat-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 0 24px rgba(88, 101, 242, 0.25);
}

.stat-card h3 {
  color: #9ca3af;
  font-size: 0.95rem;
  margin-bottom: 0.4rem;
}

.stat-number {
  font-size: 2rem;
  font-weight: bold;
  color: var(--primary-light);
}

.admin-section {
  background: rgba(255, 255, 255, 0.03);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow);
  margin-bottom: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.admin-section h2 {
  color: var(--primary-light);
  margin-bottom: 1.5rem;
}

/* ---------- Status Badges ---------- */
.status-badge {
  padding: 0.35rem 0.8rem;
  border-radius: 12px;
  font-size: 0.85rem;
  font-weight: 500;
  text-transform: capitalize;
}

.status-pending {
  background: rgba(255, 193, 7, 0.15);
  color: #ffc107;
}

.status-processing {
  background: rgba(88, 101, 242, 0.2);
  color: #8a9bff;
}

.status-completed {
  background: rgba(25, 135, 84, 0.2);
  color: #00d98b;
}

.status-cancelled {
  background: rgba(220, 53, 69, 0.2);
  color: #ff6b81;
}

/* ---------- Tables ---------- */
.admin-table {
  width: 100%;
  border-collapse: collapse;
  background: rgba(255, 255, 255, 0.03);
  box-shadow: var(--shadow);
  border-radius: var(--radius);
  overflow: hidden;
}

.admin-table th, .admin-table td {
  padding: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  text-align: left;
}

.admin-table th {
  background: rgba(88, 101, 242, 0.15);
  color: var(--primary-light);
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 0.5px;
}

.admin-table td {
  color: #ddd;
}

.admin-table tr:hover {
  background: rgba(255, 255, 255, 0.04);
  transition: background 0.25s ease;
}

/* =====================================================
   🔐 Login Page — Dark Glass UI
===================================================== */
.login-container {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  background: radial-gradient(circle at top left, rgba(88,101,242,0.25), transparent 60%),
              radial-gradient(circle at bottom right, rgba(235,69,158,0.15), transparent 60%),
              #0e0e10;
}

.login-box {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  backdrop-filter: blur(14px);
  box-shadow: 0 0 30px rgba(0,0,0,0.6);
  padding: 3rem 2.5rem;
  width: 100%;
  max-width: 400px;
  text-align: center;
  animation: fadeIn 0.8s ease;
}

.login-box h1 {
  color: var(--primary-light);
  font-size: 1.8rem;
  margin-bottom: 2rem;
  letter-spacing: -0.5px;
}

.form-group {
  text-align: left;
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  color: #ccc;
  font-weight: 500;
  margin-bottom: 0.5rem;
}

.form-group input {
  width: 100%;
  padding: 0.8rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.form-group input:focus {
  outline: none;
  border-color: var(--primary-light);
  box-shadow: 0 0 10px rgba(88, 101, 242, 0.5);
  background: rgba(255, 255, 255, 0.1);
}

.btn-login {
  width: 100%;
  background: var(--primary);
  color: white;
  padding: 0.9rem;
  border-radius: 10px;
  font-weight: 600;
  letter-spacing: 0.5px;
  cursor: pointer;
  border: none;
  transition: all 0.3s ease;
  box-shadow: 0 0 20px rgba(88, 101, 242, 0.35);
}

.btn-login:hover {
  background: var(--primary-light);
  box-shadow: 0 0 25px rgba(88, 101, 242, 0.5);
  transform: translateY(-2px);
}

.login-hint {
  color: #9b9b9b;
  font-size: 0.9rem;
  margin-top: 1.5rem;
}

.login-hint a {
  color: var(--primary-light);
  text-decoration: none;
}

.login-hint a:hover {
  text-decoration: underline;
}

/* ---------- Animations ---------- */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* =====================================================
   📱 Responsive
===================================================== */
@media (max-width: 768px) {
  .admin-container {
    grid-template-columns: 1fr;
  }

  .admin-sidebar {
    flex-direction: row;
    overflow-x: auto;
    border-right: none;
    border-bottom: 1px solid rgba(255,255,255,0.1);
  }

  .admin-main {
    padding: 2rem 1.5rem;
  }

  .login-box {
    margin: 1rem;
    padding: 2rem 1.5rem;
  }
}

/* =====================================================
   🖤 Ultra Modern Dark UI — GPT-5 Edition
===================================================== */

/* ---------- Theme Variables ---------- */
:root {
  --primary: #5865f2;
  --primary-light: #8a9bff;
  --accent: #eb459e;
  --bg: #0e0e10;
  --bg-card: #1a1b1e;
  --bg-glass: rgba(255, 255, 255, 0.05);
  --text: #f1f1f2;
  --text-muted: #a1a1a6;
  --radius: 14px;
  --shadow: 0 6px 24px rgba(0, 0, 0, 0.5);
  --transition: all 0.25s ease;
}

/* ---------- Base Reset ---------- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Arial', sans-serif;
  background-color: var(--bg);
  color: var(--text);
  margin: 0;
  padding: 0;
  min-height: 100vh;
}


main {
  flex: 1;
  padding: 3rem 0;
  background: var(--bg);
  color: var(--text);
}

main h1 {
  color: var(--primary-light);
  font-size: 2.5rem;
  margin-bottom: 1rem;
  text-align: center;
}

.lead {
  text-align: center;
  color: var(--text-muted);
  font-size: 1.2rem;
  margin-bottom: 3rem;
}

.empty-message {
  text-align: center;
  color: var(--text-muted);
  font-size: 1.1rem;
  padding: 3rem 0;
}

.empty-message a {
  color: var(--primary-light);
  text-decoration: none;
  font-weight: 600;
}

.empty-message a:hover {
  text-decoration: underline;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* =====================================================
   🔝 Navigation
===================================================== */
.navbar {
  background: rgba(20, 20, 25, 0.7);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.05);
  color: white;
  padding: 1rem 0;
  box-shadow: var(--shadow);
  position: sticky;
  top: 0;
  z-index: 100;
  transition: var(--transition);
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-weight: 700;
  font-size: 1.5rem;
  color: white;
  text-decoration: none;
  letter-spacing: -0.5px;
  transition: var(--transition);
}

.logo:hover {
  color: var(--primary-light);
  transform: scale(1.03);
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 1.8rem;
}

.nav-menu a {
  color: white;
  font-weight: 500;
  text-decoration: none;
  position: relative;
  transition: var(--transition);
}

.nav-menu a:hover {
  color: var(--primary-light);
}

.nav-menu a::after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  background: var(--primary-light);
  left: 0;
  bottom: -5px;
  transition: width 0.3s ease;
}

.nav-menu a:hover::after {
  width: 100%;
}

.cart-count {
  background: var(--accent);
  color: white;
  font-size: 0.75rem;
  padding: 2px 6px;
  border-radius: 50px;
  margin-left: 6px;
}

/* =====================================================
   🌌 Hero Section
===================================================== */
.hero {
  background: radial-gradient(circle at top left, rgba(88,101,242,0.25), transparent 60%),
              radial-gradient(circle at bottom right, rgba(235,69,158,0.15), transparent 60%),
              var(--bg);
  color: white;
  text-align: center;
  padding: 6rem 1.5rem;
  position: relative;
  overflow: hidden;
}

.hero h1 {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 1rem;
  letter-spacing: -1px;
}

.hero p {
  font-size: 1.25rem;
  opacity: 0.9;
  margin-bottom: 2.5rem;
  color: #ccc;
}

/* =====================================================
   ⚙️ Buttons
===================================================== */
.btn {
  display: inline-block;
  padding: 0.9rem 1.8rem;
  border-radius: var(--radius);
  border: none;
  font-weight: 600;
  text-decoration: none;
  transition: var(--transition);
  cursor: pointer;
}

.btn-primary {
  background: var(--primary);
  color: white;
  box-shadow: 0 0 16px rgba(88, 101, 242, 0.35);
}

.btn-primary:hover {
  background: var(--primary-light);
  transform: translateY(-2px);
  box-shadow: 0 0 24px rgba(88, 101, 242, 0.5);
}

.btn-secondary {
  background: var(--bg-glass);
  color: var(--text);
  border: 1px solid rgba(255,255,255,0.1);
}

.btn-secondary:hover {
  background: rgba(255,255,255,0.08);
  transform: translateY(-2px);
}

.btn-small {
  display: inline-block;
  padding: 0.4rem 0.8rem;
  border-radius: 8px;
  border: 1px solid var(--primary);
  background: transparent;
  color: var(--primary-light);
  font-weight: 500;
  font-size: 0.9rem;
  cursor: pointer;
  transition: var(--transition);
}

.btn-small:hover {
  background: var(--primary);
  color: white;
}

.btn-danger {
  display: inline-block;
  padding: 0.4rem 0.8rem;
  border-radius: 8px;
  border: 1px solid #ff6b81;
  background: rgba(220, 53, 69, 0.1);
  color: #ff6b81;
  font-weight: 500;
  font-size: 0.9rem;
  cursor: pointer;
  transition: var(--transition);
}

.btn-danger:hover {
  background: #ff6b81;
  color: white;
}

/* =====================================================
   💎 Features
===================================================== */
.features {
  padding: 5rem 0;
  background: var(--bg);
  text-align: center;
}

.features h2 {
  text-align: center;
  font-size: 2rem;
  color: var(--primary-light);
  margin-bottom: 3rem;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
}

.feature-card {
  background: var(--bg-card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 2rem;
  text-align: center;
  transition: var(--transition);
  border: 1px solid rgba(255,255,255,0.05);
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 32px rgba(88,101,242,0.2);
}

.feature-card h3 {
  color: var(--primary-light);
  margin-bottom: 1rem;
}

.feature-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* =====================================================
   📢 CTA Section
===================================================== */
.cta {
  padding: 5rem 0;
  background: var(--bg);
  text-align: center;
}

.cta h2 {
  color: var(--primary-light);
  font-size: 2.2rem;
  margin-bottom: 1rem;
  font-weight: 700;
}

.cta p {
  color: var(--text-muted);
  font-size: 1.15rem;
  margin-bottom: 2rem;
}

/* =====================================================
   🛒 Products
===================================================== */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap: 2rem;
  margin: 4rem 0;
}

.product-card {
  background: var(--bg-card);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow);
  transition: var(--transition);
  text-align: center;
  border: 1px solid rgba(255,255,255,0.05);
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 0 20px rgba(88,101,242,0.25);
}

.product-card img {
  max-width: 100%;
  border-radius: var(--radius);
  margin-bottom: 1rem;
}

.product-card h3 {
  color: var(--primary-light);
  margin-bottom: 0.5rem;
  font-size: 1.25rem;
}

.product-description {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 1rem;
}

.product-price {
  font-size: 1.4rem;
  font-weight: 700;
  color: white;
  margin-bottom: 1rem;
}

/* =====================================================
   🧾 Footer
===================================================== */
footer {
  background: linear-gradient(180deg, #0b0b0c 0%, #1a1a1d 100%);
  color: #b0b0b0;
  padding: 4rem 1rem 2rem;
  margin-top: 5rem;
  border-top: 2px solid rgba(138, 155, 255, 0.2);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-section {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.5rem;
  background: linear-gradient(135deg, #8a9bff, #5865f2);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.footer-description {
  color: #b0b0b0;
  line-height: 1.6;
  font-size: 0.95rem;
}

.footer-heading {
  font-size: 1.1rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 0.5rem;
}

.footer-links,
.footer-contact {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links li,
.footer-contact li {
  font-size: 0.95rem;
}

.footer-links a,
.footer-contact a {
  color: #b0b0b0;
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-block;
}

.footer-links a:hover,
.footer-contact a:hover {
  color: var(--primary-light);
  transform: translateX(5px);
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.08);
  color: #888;
  font-size: 0.9rem;
}

/* =====================================================
   📱 Responsive
===================================================== */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 2.2rem;
  }

  .features-grid,
  .products-grid {
    grid-template-columns: 1fr;
  }

  .navbar .container {
    flex-direction: column;
    gap: 1rem;
  }
}

/* ================================
    🛒 Checkout & Cart — Dark UI
================================ */
.checkout-container {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 2rem;
  margin: 3rem 0;
}

.checkout-form, .order-summary {
  background: var(--bg-card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 2rem;
  border: 1px solid rgba(255,255,255,0.07);
  color: var(--text);
}

.checkout-form h2 {
  color: var(--primary-light);
  font-size: 1.5rem;
  margin-bottom: 2rem;
  font-weight: 700;
  letter-spacing: -0.5px;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  color: var(--primary-light);
  font-weight: 500;
  margin-bottom: 0.5rem;
  display: block;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 1rem;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.04);
  color: var(--text);
  font-size: 1rem;
  transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-light);
  background: rgba(255,255,255,0.1);
  box-shadow: 0 0 10px rgba(88, 101, 242, 0.5);
}

.order-summary h2 {
  color: var(--primary-light);
  margin-bottom: 1.5rem;
  font-size: 1.2rem;
  font-weight: 700;
}

.summary-list {
  margin-bottom: 1.5rem;
}

.summary-item {
  display: flex;
  justify-content: space-between;
  padding: 0.8rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  color: var(--text-muted);
  font-size: 1rem;
}

.summary-total {
  display: flex;
  justify-content: space-between;
  padding: 1.2rem 0;
  font-size: 1.3rem;
  font-weight: bold;
  color: var(--primary-light);
  border-top: 2px solid var(--primary-light);
  margin-top: 1rem;
}

.cart-container {
  background: var(--bg-card);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow);
  border: 1px solid rgba(255,255,255,0.07);
}

.cart-table {
  width: 100%;
  background: var(--bg-card);
  border-collapse: collapse;
  box-shadow: var(--shadow);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 2rem;
}

.cart-table th, .cart-table td {
  padding: 1rem;
  text-align: left;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  color: var(--text);
}

.cart-table th {
  background: rgba(88,101,242,0.15);
  color: var(--primary-light);
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 0.5px;
}

.cart-table tr:hover {
  background: rgba(255,255,255,0.04);
  transition: background 0.25s ease;
}

.cart-table img {
  max-width: 60px;
  border-radius: var(--radius);
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.quantity-form input {
  width: 70px;
  padding: 0.5rem;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.04);
  color: var(--text);
  font-size: 1rem;
  transition: var(--transition);
}

.quantity-form input:focus {
  border-color: var(--primary-light);
  background: rgba(255,255,255,0.1);
}

.cart-actions {
  display: flex;
  gap: 1rem;
  justify-content: flex-end;
  margin-top: 2rem;
}

.btn,
.btn-primary,
.btn-secondary {
  border-radius: 10px;
  font-weight: 600;
  transition: var(--transition);
  padding: 0.9rem 1.8rem;
  border: none;
  cursor: pointer;
  font-size: 1rem;
}

.btn-primary {
  background: var(--primary);
  color: white;
  box-shadow: 0 0 16px rgba(88, 101, 242, 0.35);
}

.btn-primary:hover {
  background: var(--primary-light);
  box-shadow: 0 0 24px rgba(88, 101, 242, 0.5);
  transform: translateY(-2px);
}

.btn-secondary {
  background: var(--bg-glass);
  color: var(--text);
  border: 1px solid rgba(255,255,255,0.1);
}

.btn-secondary:hover {
  background: rgba(255,255,255,0.08);
  transform: translateY(-2px);
}

.cart-empty {
  text-align: center;
  color: var(--text-muted);
  font-size: 1.1rem;
  padding: 2rem 0;
}

.checkout-success {
  background: rgba(25, 135, 84, 0.15);
  color: #00d98b;
  border-radius: 10px;
  padding: 1.5rem;
  text-align: center;
  font-weight: 600;
  margin-bottom: 2rem;
  box-shadow: 0 0 14px rgba(25, 135, 84, 0.15);
}

.checkout-error {
  background: rgba(220, 53, 69, 0.15);
  color: #ff6b81;
  border-radius: 10px;
  padding: 1.5rem;
  text-align: center;
  font-weight: 600;
  margin-bottom: 2rem;
  box-shadow: 0 0 14px rgba(220, 53, 69, 0.15);
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.checkout-form,
.order-summary,
.cart-table {
  animation: fadeIn 0.7s ease;
}

/* Responsive */
@media (max-width: 900px) {
  .checkout-container {
     grid-template-columns: 1fr;
     gap: 1rem;
  }
  .cart-actions {
    flex-direction: column;
    align-items: stretch;
  }
}

@media (max-width: 600px) {
  .checkout-form, .order-summary {
    padding: 1rem;
  }
  .cart-table th, .cart-table td {
    padding: 0.6rem;
    font-size: 0.95rem;
  }
}




/* ================================
    🛒 Checkout — Dark Modern UI
================================ */


/* Container voor de checkout */
.checkout-container {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 2rem;
  margin: 3rem auto;
  max-width: 1000px;
  padding: 3rem;
  background: var(--bg-card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid rgba(255, 255, 255, 0.07);
  color: var(--text);
  animation: fadeIn 0.7s ease;
}

/* Titel en bericht */
.checkout-container h2 {
  color: var(--primary-light);
  font-size: 2rem;
  margin-bottom: 2rem;
  font-weight: 700;
  letter-spacing: -0.5px;
}

.checkout-form {
  background: var(--bg-card);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow);
}

.checkout-form h3 {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  font-weight: bold;
  color: var(--primary-light);
}

.checkout-form .form-group {
  margin-bottom: 1.5rem;
}

.checkout-form .form-group label {
  color: var(--primary-light);
  font-weight: 500;
  margin-bottom: 0.5rem;
  display: block;
}

.checkout-form .form-group input,
.checkout-form .form-group textarea {
  width: 100%;
  padding: 1rem;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  color: #f1f1f2;
  font-size: 1rem;
  transition: var(--transition);
  font-family: inherit;
}

.checkout-form .form-group textarea {
  min-height: 120px;
  resize: vertical;
}

.checkout-form .form-group input:focus,
.checkout-form .form-group textarea:focus {
  outline: none;
  border-color: var(--primary-light);
  background: rgba(255, 255, 255, 0.1);
  box-shadow: 0 0 10px rgba(88, 101, 242, 0.5);
}

/* Tabel voor de order */
.cart-table {
  width: 100%;
  background: var(--bg-card);
  border-collapse: collapse;
  margin-top: 2rem;
  box-shadow: var(--shadow);
  border-radius: var(--radius);
}

.cart-table th, .cart-table td {
  padding: 1rem;
  text-align: left;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  color: var(--text);
}

.cart-table th {
  background: rgba(88, 101, 242, 0.15);
  color: var(--primary-light);
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 0.5px;
}

.cart-table tr:hover {
  background: rgba(255, 255, 255, 0.04);
  transition: background 0.25s ease;
}

/* Totalen sectie */
.order-summary {
  background: var(--bg-card);
  padding: 1.5rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.order-summary h3 {
  color: var(--primary-light);
  font-size: 1.3rem;
  margin-bottom: 1rem;
}

.order-summary .summary-list {
  margin-bottom: 1.5rem;
}

.order-summary .summary-item {
  display: flex;
  justify-content: space-between;
  padding: 0.8rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  color: var(--text-muted);
  font-size: 1rem;
}

.order-summary .summary-total {
  display: flex;
  justify-content: space-between;
  padding: 1.2rem 0;
  font-size: 1.3rem;
  font-weight: bold;
  color: var(--primary-light);
  border-top: 2px solid var(--primary-light);
  margin-top: 1rem;
}

/* Knoppen */
.checkout-actions {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  margin-top: 3rem;
}

.checkout-actions .btn {
  padding: 1rem 2.5rem;
  border-radius: 10px;
  font-weight: 600;
  font-size: 1.1rem;
  cursor: pointer;
}

.checkout-actions .btn-primary {
  background: var(--primary);
  color: white;
  box-shadow: 0 0 16px rgba(88, 101, 242, 0.35);
}

.checkout-actions .btn-primary:hover {
  background: var(--primary-light);
  box-shadow: 0 0 24px rgba(88, 101, 242, 0.5);
  transform: translateY(-3px);
}

.checkout-actions .btn-secondary {
  background: var(--bg-glass);
  color: var(--text);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.checkout-actions .btn-secondary:hover {
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-3px);
}

/* Animaties */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.checkout-container,
.cart-table,
.order-summary {
  animation: fadeIn 0.7s ease;
}

/* Responsive */
@media (max-width: 900px) {
  .checkout-container {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

@media (max-width: 600px) {
  .checkout-container {
    padding: 1rem;
  }
  .checkout-actions {
    flex-direction: column;
  }
  .cart-table th, .cart-table td {
    padding: 0.8rem;
  }
}

/* ================================
    ✅ Confirmation Page — Dark UI
================================ */
.confirmation-container {
  max-width: 900px;
  margin: 0 auto;
  animation: fadeIn 0.7s ease;
}

.confirmation-success {
  background: linear-gradient(135deg, rgba(25, 135, 84, 0.15), rgba(88, 101, 242, 0.1));
  border: 2px solid rgba(25, 135, 84, 0.4);
  border-radius: var(--radius);
  padding: 3rem 2rem;
  text-align: center;
  margin-bottom: 3rem;
  box-shadow: 0 0 30px rgba(25, 135, 84, 0.2);
}

.confirmation-success h1 {
  color: #00d98b;
  font-size: 2.5rem;
  margin-bottom: 1rem;
  font-weight: 800;
  text-shadow: 0 0 20px rgba(0, 217, 139, 0.3);
}

.confirmation-success p {
  color: var(--text);
  font-size: 1.1rem;
  margin-bottom: 0.8rem;
}

.confirmation-success .lead {
  font-size: 1.3rem;
  color: var(--primary-light);
  font-weight: 600;
}

.order-details {
  background: var(--bg-card);
  border-radius: var(--radius);
  padding: 2.5rem;
  box-shadow: var(--shadow);
  border: 1px solid rgba(255, 255, 255, 0.07);
  color: var(--text);
}

.order-details h2 {
  color: var(--primary-light);
  font-size: 1.8rem;
  margin-bottom: 0.5rem;
  font-weight: 700;
}

.order-details h3 {
  color: var(--primary-light);
  font-size: 1.3rem;
  margin: 2rem 0 1rem 0;
  font-weight: 600;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.order-details h3:first-of-type {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
}

.order-date {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 1rem;
}

.order-details p {
  color: var(--text);
  line-height: 1.8;
  margin-bottom: 1rem;
}

.order-details strong {
  color: var(--primary-light);
  font-weight: 600;
}

.order-table {
  width: 100%;
  background: rgba(255, 255, 255, 0.03);
  border-collapse: collapse;
  box-shadow: var(--shadow);
  border-radius: var(--radius);
  overflow: hidden;
  margin: 1.5rem 0 2rem 0;
}

.order-table th,
.order-table td {
  padding: 1rem;
  text-align: left;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  color: var(--text);
}

.order-table th {
  background: rgba(88, 101, 242, 0.15);
  color: var(--primary-light);
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 0.5px;
  font-weight: 600;
}

.order-table tbody tr:hover {
  background: rgba(255, 255, 255, 0.04);
  transition: background 0.25s ease;
}

.order-table tfoot td {
  background: rgba(88, 101, 242, 0.1);
  font-size: 1.1rem;
  border-top: 2px solid var(--primary-light);
  padding: 1.2rem 1rem;
}

.order-table tfoot strong {
  color: var(--primary-light);
  font-size: 1.2rem;
}

.confirmation-actions {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.confirmation-actions .btn {
  padding: 1rem 2.5rem;
  font-size: 1rem;
}

/* Alert Styles */
.alert {
  padding: 1rem 1.5rem;
  border-radius: var(--radius);
  margin-bottom: 1.5rem;
  font-weight: 500;
}

.alert-error {
  background: rgba(220, 53, 69, 0.15);
  color: #ff6b81;
  border: 1px solid rgba(220, 53, 69, 0.3);
}

.btn-large {
  width: 100%;
  padding: 1.2rem;
  font-size: 1.1rem;
  margin-top: 1rem;
}

/* Summary Item Styles for Checkout */
.summary-item-name {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex: 1;
}

.summary-item-qty {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-left: 0.5rem;
}

.summary-item-price {
  font-weight: 600;
}

.summary-total-label,
.summary-total-price {
  font-weight: 700;
}

/* Responsive voor Confirmation */
@media (max-width: 768px) {
  .confirmation-success {
    padding: 2rem 1.5rem;
  }
  
  .confirmation-success h1 {
    font-size: 2rem;
  }
  
  .order-details {
    padding: 1.5rem;
  }
  
  .confirmation-actions {
    flex-direction: column;
  }
  
  .order-table th,
  .order-table td {
    padding: 0.7rem;
    font-size: 0.9rem;
  }
}

/* ================================
    📄 Terms of Service Page
================================ */
.tos-container {
  max-width: 900px;
  margin: 0 auto;
  background: var(--bg-card);
  border-radius: var(--radius);
  padding: 3rem;
  box-shadow: var(--shadow);
  border: 1px solid rgba(255, 255, 255, 0.07);
  animation: fadeIn 0.7s ease;
}

.tos-container h1 {
  color: var(--primary-light);
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
  text-align: center;
}

.tos-date {
  text-align: center;
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 3rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.tos-section {
  margin-bottom: 2.5rem;
}

.tos-section h2 {
  color: var(--primary-light);
  font-size: 1.5rem;
  margin-bottom: 1rem;
  font-weight: 600;
}

.tos-section p {
  color: var(--text);
  line-height: 1.8;
  margin-bottom: 1rem;
}

.tos-section ul {
  color: var(--text);
  line-height: 1.8;
  margin-left: 2rem;
  margin-bottom: 1rem;
}

.tos-section li {
  margin-bottom: 0.5rem;
}

.tos-section strong {
  color: var(--primary-light);
  font-weight: 600;
}

.tos-actions {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.tos-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  margin-top: 1.5rem;
  padding: 1.5rem;
  background: rgba(88, 101, 242, 0.1);
  border-radius: var(--radius);
  border: 1px solid rgba(88, 101, 242, 0.2);
}

.tos-checkbox input[type="checkbox"] {
  margin-top: 0.3rem;
  width: 18px;
  height: 18px;
  cursor: pointer;
}

.tos-checkbox label {
  color: var(--text);
  line-height: 1.6;
  cursor: pointer;
  flex: 1;
}

.tos-checkbox label a {
  color: var(--primary-light);
  text-decoration: none;
  font-weight: 600;
}

.tos-checkbox label a:hover {
  text-decoration: underline;
}

@media (max-width: 768px) {
  .tos-container {
    padding: 2rem 1.5rem;
  }
  
  .tos-container h1 {
    font-size: 2rem;
  }
  
  .tos-actions {
    flex-direction: column;
  }
}


/* ============================= */
/* Dashboard Styles (Skycraft)   */
/* ============================= */

.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 20px;
    margin-top: 25px;
}

.dashboard-card {
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    padding: 20px;
    backdrop-filter: blur(6px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.dashboard-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 18px rgba(0,0,0,0.25);
}

.dashboard-card h2 {
    margin-bottom: 15px;
    color: #fff;
    font-size: 1.4em;
}

/* Balance weergave */
.balance-display {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 15px;
    margin-bottom: 20px;
}

.balance-item {
    background: rgba(255,255,255,0.05);
    border-radius: 10px;
    padding: 15px;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: background 0.2s;
}

.balance-item:hover {
    background: rgba(255,255,255,0.08);
}

.balance-icon {
    font-size: 28px;
}

.balance-label {
    font-weight: 600;
    font-size: 0.9em;
    color: #bbb;
}

.balance-value {
    font-size: 1.5em;
    color: #fff;
}

/* Alertbox */
.alert {
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 25px;
    background-color: #ffcb2b;
    color: #222;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}

.alert a {
    color: #111;
    font-weight: bold;
    text-decoration: underline;
}

/* Knoppen in dashboard */
.dashboard-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 15px;
}

.dashboard-actions .btn {
    flex: 1;
    text-align: center;
}

/* Order tabel */
.order-table {
    width: 100%;
    border-collapse: collapse;
    border-radius: 8px;
    overflow: hidden;
    margin-top: 10px;
    font-size: 0.95em;
    background: rgba(255,255,255,0.03);
}

.order-table thead {
    background: #5865F2;
    color: #fff;
    text-align: left;
}

.order-table th, .order-table td {
    padding: 12px 14px;
}

.order-table tr:nth-child(even) {
    background: rgba(255,255,255,0.05);
}

.order-table tr:hover {
    background: rgba(255,255,255,0.08);
}

.badge-success {
    background: #43b581;
    color: #fff;
    border-radius: 6px;
    padding: 3px 8px;
    font-size: 0.9em;
}

.badge-warning {
    background: #faa61a;
    color: #222;
    border-radius: 6px;
    padding: 3px 8px;
    font-size: 0.9em;
}

/* Responsief gedrag */
@media (max-width: 700px) {
    .dashboard-grid {
        grid-template-columns: 1fr;
    }

    .balance-display {
        grid-template-columns: 1fr;
    }

    .dashboard-actions {
        flex-direction: column;
    }

    .order-table th, .order-table td {
        font-size: 0.85em;
        padding: 8px;
    }
}




/* ======================================== */
/* DASHBOARD BALANCE CARDS (mooie hokjes)  */
/* ======================================== */

.dashboard-card h2 {
    color: #fff;
    margin-bottom: 15px;
}

/* De grid waarin de 4 balanshokjes staan */
.balance-display {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin-top: 10px;
}

/* Elk individueel hokje */
.balance-item {
    background: linear-gradient(145deg, rgba(88,101,242,0.15), rgba(0,0,0,0.4));
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 12px;
    padding: 18px;
    display: flex;
    align-items: center;
    gap: 15px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.25);
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.3s;
    backdrop-filter: blur(5px);
}

.balance-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.35);
    background: linear-gradient(145deg, rgba(88,101,242,0.25), rgba(0,0,0,0.5));
}

/* Emoji links */
.balance-icon {
    font-size: 32px;
    line-height: 1;
}

/* Tekstgedeelte rechts van emoji */
.balance-label {
    font-weight: 600;
    font-size: 0.9em;
    color: #ccc;
}

.balance-value {
    font-size: 1.6em;
    font-weight: bold;
    color: #fff;
}

/* Responsief: onder elkaar op mobiel */
@media (max-width: 600px) {
    .balance-display {
        grid-template-columns: 1fr;
    }
}