/* RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Inter", Arial, sans-serif;
}

body {
  background: #f6f8fc;
  color: #0f172a;
  background-color: white;
}

/* LAYOUT */
.layout {
  display: flex;
  min-height: 100vh;
}

/* SIDEBAR */
.sidebar {
  width: 260px;
  background: linear-gradient(180deg, #0f172a, #020617);
  color: white;
  padding: 24px 18px;
  position: fixed;
  height: 100vh;
}

.sidebar h2 {
  margin-bottom: 24px;
  font-size: 22px;
}

.sidebar a {
  display: block;
  padding: 12px 14px;
  border-radius: 10px;
  margin-bottom: 8px;
  color: #cbd5e1;
  text-decoration: none;
  transition: 0.25s;
  font-size: 14px;
  cursor: pointer;
}

.sidebar a:hover,
.sidebar a.active {
  background: linear-gradient(90deg, #6366f1, #4f46e5);
  color: white;
}

/* MAIN */
.main {
  margin-left: 260px;
  padding: 26px;
  width: calc(100% - 260px);
}

/* TOPBAR */
.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 25px;
}

.topbar h1 {
  font-size: 26px;
}

.topbar p {
  font-size: 14px;
  color: #64748b;
  margin-top: 5px;
}

.top-actions {
  display: flex;
  gap: 12px;
  align-items: center;
}

.top-actions input {
  width: 280px;
  max-width: 350px;
  flex-shrink: 1;
}

.top-actions input,
.top-actions button {
  height: 40px;
  border-radius: 10px;
  border: 1px solid #e5e7eb;
  background: white;
}

.top-actions button {
  flex-shrink: 0;

  padding: 0 12px;
  outline: none;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
  font-size: 14px;
  transition: 0.25s;
}

.top-actions input:focus {
  border-color: #6366f1;
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.top-actions button {
  cursor: pointer;
  width: 40px;
  padding: 0;
}

/* STATS */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-bottom: 20px;
}

.stat-card {
  background: white;
  color: #020617;
  border-radius: 16px;
  padding: 18px;
  display: flex;
  gap: 14px;
  align-items: center;
  border: 1px solid #eef1f7;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.04);
  transition: 0.3s;
}

.stat-card:hover {
  transform: translateY(-4px);
}

.stat-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-size: 18px;
}

.blue {
  background: #e0e7ff;
}
.green {
  background: #dcfce7;
}
.orange {
  background: #ffedd5;
}
.purple {
  background: #ede9fe;
}

.stat-card p {
  font-size: 13px;
  color: #01070e;
}

.stat-card h2 {
  font-size: 24px;
  margin: 4px 0;
  color: #000000;
}

.up {
  color: #16a34a;
  font-size: 12px;
}
.down {
  color: #ef4444;
  font-size: 12px;
}

/* QUICK ACTION */
.quick-actions {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
  margin-bottom: 20px;
}

.quick-card {
  background: white;
  border-radius: 14px;
  padding: 14px;
  text-decoration: none;
  color: #0f172a;
  border: 1px solid #eef1f7;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.04);
  transition: 0.25s;
}

.quick-card:hover {
  transform: translateY(-3px);
}

.quick-card b {
  display: block;
  margin-top: 6px;
}

.quick-card span {
  font-size: 12px;
  color: #64748b;
}

/* PANELS */
.dashboard-grid {
  display: grid;
  grid-template-columns: 3fr 1fr 1fr;
  gap: 16px;
  margin-bottom: 20px;
}

.panel {
  background: white;
  border-radius: 16px;
  padding: 20px;
  border: 1px solid #eef1f7;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.04);
}

.panel h2 {
  margin-bottom: 18px;
  font-size: 18px;
  color: #0f172a;
}

.panel-title {
  display: flex;
  justify-content: space-between;
  margin-bottom: 14px;
}

.panel-title h3 {
  font-size: 16px;
}

.panel canvas {
  width: 100% !important;
  height: 250px !important;
}

/* ACTIVITIES */
.activities {
  list-style: none;
  max-height: 320px;
  overflow-y: auto;
  padding: 0;
}

.activities li {
  padding: 12px 0;
  border-bottom: 1px solid #f1f5f9;
  transition: 0.2s;
}

.activities li:hover {
  background: #f8fafc;
  padding: 12px 8px;
  margin: 0 -8px;
  border-radius: 6px;
}

.activities li:last-child {
  border-bottom: none;
}

.activities li strong {
  color: #0f172a;
  font-weight: 600;
  display: block;
  margin-bottom: 4px;
  font-size: 14px;
}

.activities li span {
  display: inline-block;
  background: #e0e7ff;
  color: #3730a3;
  padding: 3px 8px;
  border-radius: 12px;
  font-size: 11px;
  font-weight: bold;
  margin-right: 8px;
}

.activities li small {
  display: inline;
  font-size: 11px;
  color: #94a3b8;
}

/* BUTTONS */
.add-btn {
  background: #6366f1;
  color: rgb(234, 10, 10);
  padding: 10px 16px;
  border-radius: 10px;
  text-decoration: none;
  font-size: 14px;
  border: none;
  cursor: pointer;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.add-btn:hover {
  background: #4f46e5;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(99, 102, 241, 0.4);
}

.add-btn:active {
  transform: translateY(0);
}

.outline-btn {
  display: block;
  text-align: center;
  border: 1px solid #6366f1;
  padding: 10px;
  margin-top: 15px;
  border-radius: 10px;
  color: #6366f1;
}

/* TABLE */
table {
  width: 100%;
  border-collapse: collapse;
}

th,
td {
  padding: 12px;
  border-bottom: 1px solid #f1f5f9;
  text-align: left;
}

th {
  color: #64748b;
  font-size: 12px;
}

.badge {
  padding: 5px 10px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: bold;
}

.badge.stock {
  background: #dcfce7;
  color: #15803d;
}

.badge.low {
  background: #ffedd5;
  color: #c2410c;
}

.badge.out {
  background: #fee2e2;
  color: #dc2626;
}

/* Order Status Badges */
.badge.warning {
  background: #fef3c7;
  color: #92400e;
}

.badge.info {
  background: #dbeafe;
  color: #1e40af;
}

.badge.processing {
  background: #dbeafe;
  color: #1e40af;
}

.badge.success {
  background: #dcfce7;
  color: #15803d;
}

.badge.danger {
  background: #fee2e2;
  color: #dc2626;
}

.badge.default {
  background: #e5e7eb;
  color: #374151;
}

/* ACTION BUTTONS */
.action-buttons {
  display: flex;
  gap: 8px;
}

.edit-btn,
.delete-btn {
  padding: 6px 10px;
  border: none;
  border-radius: 6px;
  font-size: 14px;
  cursor: pointer;
  transition: 0.2s;
  background: #f1f5f9;
  color: #0f172a;
}

.edit-btn:hover {
  background: #6366f1;
  color: white;
}

.delete-btn:hover {
  background: #ef4444;
  color: white;
}

.material-form label {
  display: block;
  font-size: 13px;
  color: #64748b;
  margin-bottom: 6px;
  font-weight: 600;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.form-grid input,
.form-grid select {
  width: 100%;
  height: 42px;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  padding: 0 12px;
  outline: none;
}

.form-grid input:focus,
.form-grid select:focus {
  border-color: #6366f1;
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.12);
}

.submit-btn {
  margin-top: 22px;
  background: #6366f1;
  color: white;
  border: none;
  padding: 12px 18px;
  border-radius: 10px;
  font-weight: bold;
  cursor: pointer;
}

.submit-btn:hover {
  background: #4f46e5;
}

.login-subtitle {
  color: #64748b;
  margin-bottom: 15px;
}

@media (max-width: 700px) {
  .form-grid {
    grid-template-columns: 1fr;
  }
}
/* RESPONSIVE */
@media (max-width: 1000px) {
  .stats,
  .quick-actions,
  .dashboard-grid {
    grid-template-columns: 1fr;
  }

  .sidebar {
    position: relative;
    width: 100%;
    height: auto;
  }

  .main {
    margin-left: 0;
    width: 100%;
  }
}
/* ===== ULTRA PREMIUM LOGIN PAGE ===== */

.login-body {
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  background:
    radial-gradient(circle at top left, #eef2ff 0%, transparent 35%),
    radial-gradient(circle at bottom right, #e0f2fe 0%, transparent 35%),
    #ffffff;
  overflow: hidden;
}

/* FLOATING BACKGROUND CIRCLES */
.login-body::before,
.login-body::after {
  content: "";
  position: absolute;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  animation: float 8s infinite ease-in-out;
}

.login-body::before {
  top: -80px;
  left: -80px;
}

.login-body::after {
  bottom: -80px;
  right: -80px;
  animation-delay: 3s;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-20px);
  }
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(30px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* TITLE */
.login-box h2 {
  font-size: 32px;
  margin-bottom: 6px;
  color: #111827;
  letter-spacing: 0.5px;
}

.login-subtitle {
  font-size: 14px;
  color: #64748b;
  margin-bottom: 28px;
}

/* SMALL RESPONSIVE */
@media (max-width: 500px) {
  .login-box {
    width: 90%;
    padding: 28px;
  }
}

/* ===== HOME PAGE NAVBAR ===== */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: linear-gradient(90deg, #0f172a, #1e293b);
  color: white;
  padding: 16px 40px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  position: sticky;
  top: 0;
  z-index: 100;
}

.navbar h2 {
  font-size: 24px;
  font-weight: bold;
  margin: 0;
}

.nav-links {
  display: flex;
  gap: 24px;
  align-items: center;
}

.nav-links a {
  color: white;
  text-decoration: none;
  font-size: 14px;
  transition: 0.3s;
  padding: 8px 12px;
  border-radius: 6px;
}

.nav-links a:hover {
  background: rgba(99, 102, 241, 0.2);
  color: #6366f1;
}

.logout-btn {
  /* background: #ef4444; */
  color: white;
  border: none;
  padding: 10px 18px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 14px;
  transition: 0.3s;
}

.logout-btn:hover {
  background: #dc2626;
  transform: translateY(-2px);
}

/* ===== HOME PAGE CONTAINER ===== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
}

/* ===== HERO SECTION ===== */
.hero {
  text-align: center;
  padding: 60px 20px;
  background: linear-gradient(
    135deg,
    rgba(99, 102, 241, 0.1),
    rgba(59, 130, 246, 0.1)
  );
  border-radius: 20px;
  margin-bottom: 60px;
}

.hero-text h1 {
  font-size: 42px;
  margin-bottom: 16px;
  color: #0f172a;
  letter-spacing: -1px;
}

.hero-text p {
  font-size: 16px;
  color: #64748b;
  margin-bottom: 24px;
  line-height: 1.6;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  border: none;
  border-radius: 12px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition:
    background 0.3s ease,
    transform 0.2s ease,
    box-shadow 0.3s ease;
}

.btn.primary {
  background: linear-gradient(90deg, #6366f1, #4f46e5);
  color: #ffffff;
  box-shadow: 0 10px 25px rgba(99, 102, 241, 0.3);
}

.btn.primary:hover {
  transform: translateY(-2px);
}

.btn.secondary {
  background: #f8fafc;
  color: #0f172a;
  border: 1px solid #cbd5e1;
}

.btn.secondary:hover {
  background: #f1f5f9;
}

.btn-primary {
  background: linear-gradient(90deg, #6366f1, #4f46e5);
  color: white;
  padding: 14px 32px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: bold;
  transition: 0.3s;
  display: inline-block;
  box-shadow: 0 10px 25px rgba(99, 102, 241, 0.3);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 35px rgba(99, 102, 241, 0.4);
}

.btn-secondary {
  background: white;
  color: #6366f1;
  border: 2px solid #6366f1;
  padding: 12px 32px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: bold;
  transition: 0.3s;
  display: inline-block;
}

.btn-secondary:hover {
  background: #f0f4ff;
  transform: translateY(-3px);
}

/* ===== SECTION TITLE ===== */
.section-title {
  font-size: 28px;
  font-weight: bold;
  color: #0f172a;
  margin-bottom: 30px;
  text-align: center;
}

/* ===== CARDS SECTION ===== */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 24px;
  margin-bottom: 60px;
}

.card {
  background: white;
  border-radius: 14px;
  padding: 24px;
  border: 1px solid #eef1f7;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  transition: 0.3s;
  text-decoration: none;
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
}

.card h3 {
  font-size: 18px;
  color: #0f172a;
  margin-bottom: 10px;
}

.card-text {
  font-size: 14px;
  color: #64748b;
  margin-bottom: 16px;
  line-height: 1.5;
}

.card-link {
  display: inline-block;
  color: #6366f1;
  text-decoration: none;
  font-weight: bold;
  transition: 0.3s;
  margin-top: 12px;
}

.card-link:hover {
  color: #4f46e5;
  transform: translateX(4px);
}

/* ===== INFO BOX ===== */
.info-box {
  background: linear-gradient(135deg, #f0f4ff, #f0f9ff);
  border-left: 4px solid #6366f1;
  padding: 24px;
  border-radius: 10px;
  margin-top: 40px;
}

.info-box h3 {
  color: #0f172a;
  margin-bottom: 14px;
  font-size: 18px;
}

.info-box ul {
  list-style: none;
  padding: 0;
}

.info-box li {
  color: #475569;
  padding: 8px 0;
  padding-left: 24px;
  position: relative;
}

.info-box li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #22c55e;
  font-weight: bold;
}

/* ===== SIDEBAR BRAND ===== */
.brand {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-bottom: 30px;
  padding: 10px;
  background: rgba(99, 102, 241, 0.1);
  border-radius: 10px;
}

.brand-icon {
  font-size: 28px;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.brand h2 {
  margin: 0;
  font-size: 18px;
  color: white;
}

.brand p {
  margin: 2px 0 0;
  font-size: 12px;
  color: #cbd5e1;
}

/* ===== USER BOX ===== */
.user-box {
  background: rgba(99, 102, 241, 0.15);
  border-radius: 12px;
  padding: 12px;
  display: flex;
  gap: 10px;
  align-items: center;
  margin-top: 20px;
}

.avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #6366f1;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 14px;
}

.user-box h4 {
  margin: 0;
  font-size: 14px;
  color: white;
}

.user-box p {
  margin: 2px 0 0;
  font-size: 11px;
  color: #cbd5e1;
}

/* ===== COLOR VARIANTS ===== */
.cyan {
  background: #e0f7fa;
}

/* ===== PRODUCT PANEL ===== */
.product-panel {
  grid-column: 1 / -1;
}

.stock-panel {
  grid-column: 1 / -1;
}

/* ===== ROLE BADGE ===== */
.role-badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: bold;
  margin-left: 8px;
}

.role-badge.superadmin {
  background: #dbeafe;
  color: #1e40af;
}

.role-badge.admin {
  background: #fed7aa;
  color: #92400e;
}

.role-badge.user {
  background: #e0e7ff;
  color: #3730a3;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .navbar {
    flex-direction: column;
    gap: 16px;
    padding: 16px 20px;
  }

  .nav-links {
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
  }

  .hero-text h1 {
    font-size: 32px;
  }

  .hero-text p {
    font-size: 14px;
  }

  .hero-buttons {
    flex-direction: column;
  }

  .btn-primary,
  .btn-secondary {
    width: 100%;
    text-align: center;
  }

  .cards {
    grid-template-columns: 1fr;
  }

  .quick-actions {
    grid-template-columns: repeat(2, 1fr);
  }

  .dashboard-grid {
    grid-template-columns: 1fr;
  }
}
.logout-btn {
  background: linear-gradient(90deg, hsl(248, 83%, 19%), #130e4f);
  width: 100px;
  color: white;
  border: none;
  padding: 8px 14px;
  border-radius: 10px;
  cursor: pointer;
  font-weight: bold;
}

.logout-btn:hover {
  transform: translateY(-2px);
}
.report-filter {
  display: grid;
  grid-template-columns: 1.3fr repeat(4, auto);
  gap: 12px;
  align-items: end;
  margin-bottom: 20px;
}

.report-filter label {
  display: block;
  font-size: 13px;
  color: #64748b;
  margin-bottom: 6px;
  font-weight: 600;
}

.report-filter input {
  width: 100%;
  height: 42px;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  padding: 0 12px;
  outline: none;
}

.export-btn {
  background: #0ea5e9;
  color: white;
  border: none;
  padding: 11px 15px;
  border-radius: 10px;
  font-weight: 600;
  cursor: pointer;
}

.export-btn.excel {
  background: #16a34a;
}

.export-btn.pdf {
  background: #dc2626;
}

@media print {
  .sidebar,
  .topbar,
  .report-filter {
    display: none;
  }

  .main {
    margin-left: 0;
    width: 100%;
  }

  body {
    background: white;
  }

  .panel,
  .stat-card {
    box-shadow: none;
    border: 1px solid #ddd;
  }
}

@media (max-width: 900px) {
  .report-filter {
    grid-template-columns: 1fr;
  }
}

/* ===== MODAL STYLES ===== */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  justify-content: center;
  align-items: center;
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.modal-content {
  background-color: white;
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  width: 90%;
  max-width: 500px;
  animation: slideIn 0.3s ease;
}

@keyframes slideIn {
  from {
    transform: translateY(-50px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 24px;
  border-bottom: 1px solid #eef1f7;
}

.modal-header h2 {
  font-size: 18px;
  color: #0f172a;
  margin: 0;
}

.close-btn {
  background: none;
  border: none;
  font-size: 28px;
  color: #94a3b8;
  cursor: pointer;
  padding: 0;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.2s;
}

.close-btn:hover {
  color: #0f172a;
}

.modal-body {
  padding: 24px;
}

.form-group {
  margin-bottom: 16px;
}

.form-group label {
  display: block;
  font-size: 13px;
  color: #64748b;
  margin-bottom: 8px;
  font-weight: 600;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  font-size: 14px;
  outline: none;
  transition: 0.3s;
  font-family: "Inter", Arial, sans-serif;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: #6366f1;
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

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

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group select {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  font-size: 14px;
  outline: none;
  transition: 0.3s;
  font-family: "Inter", Arial, sans-serif;
  background: white;
  cursor: pointer;
}

.form-group select:focus {
  border-color: #6366f1;
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

@media (max-width: 600px) {
  .form-row {
    grid-template-columns: 1fr;
  }
}

.modal-footer {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
  padding: 16px 24px;
  border-top: 1px solid #eef1f7;
}

.btn-cancel,
.btn-save {
  padding: 10px 20px;
  border: none;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: 0.2s;
}

.btn-cancel {
  background: #f1f5f9;
  color: #64748b;
}

.btn-cancel:hover {
  background: #e2e8f0;
}

.btn-save {
  background: #6366f1;
  color: white;
}

.btn-save:hover {
  background: #4f46e5;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
}

/* ===== PAGINATION STYLES ===== */
.pagination-container {
  display: flex;
  gap: 8px;
  margin-top: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.pagination-btn {
  padding: 8px 12px;
  border: 1px solid #e5e7eb;
  background: white;
  border-radius: 8px;
  cursor: pointer;
  font-size: 14px;
  transition: 0.2s;
  color: #64748b;
}

.pagination-btn:hover {
  background: #f1f5f9;
  border-color: #6366f1;
}

.pagination-btn.active {
  background: #6366f1;
  color: white;
  border-color: #6366f1;
}

/* ===== RESPONSIVE MODAL ===== */
@media (max-width: 600px) {
  .modal-content {
    width: 95%;
    max-width: none;
  }

  .modal-header h2 {
    font-size: 16px;
  }

  .modal-body {
    padding: 16px;
  }

  .modal-footer {
    padding: 12px 16px;
  }
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Inter", sans-serif;
}

:root {
  --primary: #6366f1;
  --secondary: #06b6d4;
  --success: #22c55e;
  --dark: #0f172a;
}

.auth-page {
  min-height: 100vh;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  background: linear-gradient(135deg, #020617, #0f172a, #111827, #1e1b4b);
  position: relative;
  animation: pageLoad 1s ease;
}

@keyframes pageLoad {
  from {
    opacity: 0;
    transform: scale(1.02);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* ANIMATED BACKGROUND */
.bg-animation {
  position: absolute;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 0;
}

.bg-animation span {
  position: absolute;
  border-radius: 50%;
  bottom: -150px;
  animation: animate 25s linear infinite;
}

.bg-animation span:nth-child(1) {
  left: 10%;
  width: 120px;
  height: 120px;
  background: rgba(99, 102, 241, 0.15);
}

.bg-animation span:nth-child(2) {
  left: 30%;
  width: 90px;
  height: 90px;
  background: rgba(6, 182, 212, 0.12);
  animation-duration: 20s;
}

.bg-animation span:nth-child(3) {
  left: 55%;
  width: 140px;
  height: 140px;
  background: rgba(34, 197, 94, 0.1);
  animation-duration: 28s;
}

.bg-animation span:nth-child(4) {
  left: 75%;
  width: 110px;
  height: 110px;
  background: rgba(168, 85, 247, 0.12);
  animation-duration: 22s;
}

@keyframes animate {
  0% {
    transform: translateY(0) rotate(0deg);
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  100% {
    transform: translateY(-120vh) rotate(720deg);
    opacity: 0;
  }
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Inter", sans-serif;
}

:root {
  --primary: #6366f1;
  --secondary: #06b6d4;
  --success: #22c55e;
  --dark: #0f172a;
}

.auth-page {
  min-height: 100vh;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  background: linear-gradient(135deg, #020617, #0f172a, #111827, #1e1b4b);
  position: relative;
  animation: pageLoad 1s ease;
}

@keyframes pageLoad {
  from {
    opacity: 0;
    transform: scale(1.02);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* ANIMATED BACKGROUND */
.bg-animation {
  position: absolute;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 0;
}

.bg-animation span {
  position: absolute;
  border-radius: 50%;
  bottom: -150px;
  animation: animate 25s linear infinite;
}

.bg-animation span:nth-child(1) {
  left: 10%;
  width: 120px;
  height: 120px;
  background: rgba(99, 102, 241, 0.15);
}

.bg-animation span:nth-child(2) {
  left: 30%;
  width: 90px;
  height: 90px;
  background: rgba(6, 182, 212, 0.12);
  animation-duration: 20s;
}

.bg-animation span:nth-child(3) {
  left: 55%;
  width: 140px;
  height: 140px;
  background: rgba(34, 197, 94, 0.1);
  animation-duration: 28s;
}

.bg-animation span:nth-child(4) {
  left: 75%;
  width: 110px;
  height: 110px;
  background: rgba(168, 85, 247, 0.12);
  animation-duration: 22s;
}

@keyframes animate {
  0% {
    transform: translateY(0) rotate(0deg);
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  100% {
    transform: translateY(-120vh) rotate(720deg);
    opacity: 0;
  }
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Inter", sans-serif;
}

body {
  background: #f4f5f7;
}

/* MAIN */
.login-container {
  display: flex;
  height: 100%;
}

/* LEFT */
.left-section {
  width: 50%;
  background: #1f5cc4;
  color: white;
  padding: 60px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* LOGO */
.logo {
  display: flex;
  align-items: center;
  gap: 14px;
}

.logo-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

.logo h2 {
  font-size: 20px;
  font-weight: 700;
}

/* CONTENT */
.left-content {
  max-width: 600px;
  margin-top: 50px;
}

.left-content h1 {
  font-size: 40px;
  line-height: 1.15;
  margin-bottom: 26px;
  font-weight: 800;
}

.left-content p {
  font-size: 15px;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 50px;
}

/* FEATURES */
.features {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.feature {
  display: flex;
  gap: 18px;
}

.feature-icon {
  min-width: 52px;
  height: 52px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}

.feature h3 {
  font-size: 15px;
  margin-bottom: 8px;
}

.feature p {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
}

/* FOOTER */
.left-footer {
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
  margin-top: 20px;
}

/* RIGHT */
.right-section {
  width: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 30px;
}

/* LOGIN BOX */
.login-box {
  width: 100%;
  max-width: 460px;
}

.login-box h1 {
  font-size: 48px;
  margin-bottom: 10px;
  color: #111827;
}

.login-box > p {
  color: #6b7280;
  font-size: 18px;
  margin-bottom: 40px;
}

/* FORM */
form {
  background: white;
  padding: 34px;
  border-radius: 18px;
  border: 1px solid #e5e7eb;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
}

/* INPUT */
.input-group {
  margin-bottom: 24px;
}

.input-group label {
  display: block;
  margin-bottom: 10px;
  color: #111827;
  font-weight: 600;
  font-size: 15px;
}

.input-group input {
  width: 100%;
  height: 56px;
  border-radius: 12px;
  border: 1px solid #d1d5db;
  padding: 0 18px;
  font-size: 15px;
  transition: 0.3s;
  outline: none;
}

.input-group input:focus {
  border-color: #1f5cc4;
  box-shadow: 0 0 0 3px rgba(31, 92, 196, 0.15);
}

/* BUTTON */
.login-btn {
  width: 100%;
  height: 56px;
  border: none;
  border-radius: 12px;
  background: #1f5cc4;
  color: white;
  font-size: 17px;
  font-weight: 600;
  cursor: pointer;
  transition: 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.login-btn:hover {
  background: #1749a1;
}

/* BOTTOM TEXT */
.bottom-text {
  text-align: center;
  margin-top: 26px;
  color: #6b7280;
  font-size: 14px;
  padding-top: 22px;
  border-top: 1px solid #e5e7eb;
}

/* RESPONSIVE */
@media (max-width: 1000px) {
  .login-container {
    flex-direction: column;
  }

  .left-section,
  .right-section {
    width: 100%;
  }

  .left-content h1 {
    font-size: 42px;
  }
}

@media (max-width: 600px) {
  .left-section {
    padding: 40px 28px;
  }

  .right-section {
    padding: 28px;
  }

  .left-content h1 {
    font-size: 34px;
  }

  .login-box h1 {
    font-size: 36px;
  }

  form {
    padding: 24px;
  }
}
.submit-btn {
  width: 100%;
  height: 50px;
  background: #1f5cc4;
  color: white;
  border: none;
  border-radius: 10px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: 0.3s;
}
.submit-btn:hover {
  background: #1749a1;
}
