/* ==========================================================================
   OneRupeeTech Admin Dashboard & Telegram Glowing Auth Stylesheet
   Theme: Vibrant Colorful Chromatic Aurora & Glossy Frosted Glass
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=Outfit:wght@500;600;700;800;900&family=Space+Grotesk:wght@500;700&display=swap');

:root {
  --primary: #00f2fe;
  --secondary: #ec4899;
  --accent: #38bdf8;
  --gold: #fbbf24;
  --emerald: #10b981;
  --rose: #f43f5e;
  
  --bg-admin: #2563eb;
  --bg-gradient: radial-gradient(circle at 15% 15%, rgba(0, 242, 254, 0.8) 0%, transparent 45%),
                 radial-gradient(circle at 85% 15%, rgba(236, 72, 153, 0.8) 0%, transparent 45%),
                 radial-gradient(circle at 50% 50%, rgba(251, 191, 36, 0.75) 0%, transparent 50%),
                 linear-gradient(135deg, #2563eb 0%, #7c3aed 35%, #db2777 70%, #ea580c 100%);
                 
  --surface-admin: rgba(255, 255, 255, 0.22);
  --border-admin: rgba(255, 255, 255, 0.5);
  --text-main: #ffffff;
  --text-muted: #ffffff;
  
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  
  --shadow-card: 0 16px 36px rgba(0, 0, 0, 0.2), 0 0 25px rgba(255, 255, 255, 0.25);
}

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

body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  background-color: var(--bg-admin);
  background-image: var(--bg-gradient);
  background-attachment: fixed;
  color: var(--text-main);
  min-height: 100vh;
}

/* ==================== TELEGRAM GLOWING ANIMATED LOGIN SCREEN ==================== */
#loginSection {
  min-height: 100vh;
  position: relative;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  background: var(--bg-gradient);
  padding: 40px 20px;
  z-index: 1;
}

/* Ambient Floating Glowing Orbs */
.admin-ambient-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  pointer-events: none;
  z-index: 0;
  opacity: 0.65;
}

.orb-1 {
  width: 450px;
  height: 450px;
  top: -100px;
  left: -80px;
  background: rgba(0, 242, 254, 0.6);
  animation: floatOrb1 14s ease-in-out infinite alternate;
}

.orb-2 {
  width: 500px;
  height: 500px;
  bottom: -120px;
  right: -80px;
  background: rgba(236, 72, 153, 0.6);
  animation: floatOrb2 16s ease-in-out infinite alternate;
}

.orb-3 {
  width: 380px;
  height: 380px;
  top: 35%;
  left: 65%;
  background: rgba(251, 191, 36, 0.45);
  animation: floatOrb1 12s ease-in-out infinite alternate reverse;
}

.login-container-wrapper {
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 480px;
}

/* Animated Company Branding Header */
.admin-brand-hero-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-bottom: 24px;
  animation: fadeInHero 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.admin-brand-logo-frame {
  position: relative;
  width: 86px;
  height: 86px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #ffffff;
  border: 3px solid rgba(255, 255, 255, 1);
  box-shadow: 0 0 35px rgba(0, 242, 254, 0.85), 0 0 70px rgba(236, 72, 153, 0.6);
  animation: floatLogoAnim 4s ease-in-out infinite alternate;
}

.admin-brand-orbital-ring {
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  border: 2px dashed rgba(255, 255, 255, 0.85);
  animation: spinOrbital 10s linear infinite;
  pointer-events: none;
}

.admin-brand-glow-halo {
  position: absolute;
  inset: -18px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 242, 254, 0.6) 0%, transparent 70%);
  pointer-events: none;
  animation: glowPulse 3s ease-in-out infinite alternate;
}

.admin-brand-img {
  height: 52px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.15));
}

.admin-company-title {
  font-family: 'Outfit', sans-serif;
  font-size: 2.2rem;
  font-weight: 900;
  letter-spacing: -0.5px;
  margin-top: 14px;
  margin-bottom: 6px;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.company-text-gradient {
  background: linear-gradient(135deg, #00f2fe 0%, #38bdf8 50%, #ffffff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.company-text-bold {
  color: #ffffff;
  text-shadow: 0 0 25px rgba(255, 255, 255, 0.85);
}

.admin-company-badge-strip {
  display: flex;
  gap: 8px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 6px;
}

.admin-pill-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(14px);
  color: #ffffff;
  font-size: 0.78rem;
  font-weight: 800;
  padding: 5px 14px;
  border-radius: 9999px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
  transition: transform 0.25s ease, background 0.25s ease;
}

.admin-pill-item:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.35);
}

.badge-pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 10px #10b981;
  display: inline-block;
  animation: beaconPulse 1.5s infinite;
}

.login-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
}

@property --a {
  syntax: "<angle>";
  inherits: false;
  initial-value: 0deg;
}

.box {
  position: relative;
  width: 440px;
  height: 260px;
  background: repeating-conic-gradient(
    from var(--a),
    #00f2fe 0%,
    #00f2fe 5%,
    transparent 5%,
    transparent 40%,
    #ec4899 50%
  );
  filter: drop-shadow(0 15px 40px rgba(0, 0, 0, 0.35));
  animation: rotatingConic 4s linear infinite;
  border-radius: 24px;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: 0.5s ease-in-out;
}

.box:hover {
  width: 460px;
  height: 560px;
}

@keyframes rotatingConic {
  0% {
    --a: 0deg;
  }
  100% {
    --a: 360deg;
  }
}

.box::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  background: repeating-conic-gradient(
    from var(--a),
    #fbbf24 0%,
    #fbbf24 5%,
    transparent 5%,
    transparent 40%,
    #00f2fe 50%
  );
  filter: drop-shadow(0 15px 40px rgba(0, 0, 0, 0.35));
  border-radius: 24px;
  animation: rotatingConic 4s linear infinite;
  animation-delay: -1s;
}

.box::after {
  content: "";
  position: absolute;
  inset: 4px;
  background: linear-gradient(135deg, #1e1b4b, #2e1065);
  border-radius: 20px;
  border: 4px solid rgba(255, 255, 255, 0.2);
}

.login {
  position: absolute;
  inset: 30px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 14px;
  flex-direction: column;
  background: rgba(15, 23, 42, 0.85);
  z-index: 1000;
  box-shadow: inset 0 10px 25px rgba(0, 0, 0, 0.6);
  border-bottom: 2px solid rgba(0, 242, 254, 0.5);
  transition: 0.5s ease-in-out;
  color: #ffffff;
  overflow: hidden;
  padding: 24px;
}

.box:hover .login {
  inset: 20px;
}

.loginBx {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  transform: translateY(120px);
  gap: 16px;
  width: 88%;
  transition: 0.5s ease-in-out;
}

.box:hover .loginBx {
  transform: translateY(0px);
}

.login-brand-logo {
  height: 48px;
  width: auto;
  background: #ffffff;
  padding: 4px 8px;
  border-radius: 10px;
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.8);
}

/* Animations */
@keyframes floatLogoAnim {
  0% { transform: translateY(0px) rotate(0deg); }
  100% { transform: translateY(-8px) rotate(2deg); }
}

@keyframes spinOrbital {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

@keyframes glowPulse {
  0% { transform: scale(0.92); opacity: 0.5; }
  100% { transform: scale(1.15); opacity: 0.95; }
}

@keyframes floatOrb1 {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(50px, 40px) scale(1.12); }
}

@keyframes floatOrb2 {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(-45px, -30px) scale(1.1); }
}

@keyframes beaconPulse {
  0% { transform: scale(0.9); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
  70% { transform: scale(1.1); box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); }
  100% { transform: scale(0.9); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

@keyframes fadeInHero {
  0% { opacity: 0; transform: translateY(-20px); }
  100% { opacity: 1; transform: translateY(0); }
}

.loginBx h2 {
  font-family: 'Outfit', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-weight: 800;
  font-size: 1.3rem;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 8px;
}

.loginBx h2 i {
  color: #00f2fe;
  text-shadow: 0 0 10px #00f2fe, 0 0 25px #ec4899;
  font-size: 1.1rem;
}

.loginBx input[type="text"],
.loginBx input[type="password"] {
  width: 100%;
  padding: 12px 18px;
  outline: none;
  font-size: 0.95rem;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.1);
  border: 1.5px solid rgba(255, 255, 255, 0.3);
  border-radius: 30px;
  transition: 0.3s;
}

.loginBx input:focus {
  border-color: #00f2fe;
  box-shadow: 0 0 15px rgba(0, 242, 254, 0.6);
}

.loginBx input::placeholder {
  color: #cbd5e1;
}

.loginBx input[type="submit"] {
  background: linear-gradient(135deg, #00f2fe, #ec4899, #fbbf24);
  border: none;
  font-weight: 800;
  color: #0f172a;
  font-size: 1rem;
  cursor: pointer;
  padding: 13px;
  border-radius: 30px;
  transition: 0.4s;
  box-shadow: 0 0 20px rgba(0, 242, 254, 0.5);
}

.loginBx input[type="submit"]:hover {
  background: #ffffff;
  color: #0b1329;
  box-shadow: 0 0 30px #ffffff;
  transform: translateY(-2px);
}

.group {
  display: flex;
  width: 100%;
  justify-content: space-between;
  font-size: 0.85rem;
}

.group a {
  color: #cbd5e1;
  text-decoration: none;
  transition: 0.2s;
}

.group a:hover {
  color: #00f2fe;
}

.group a:nth-child(2) {
  color: #fbbf24;
  font-weight: 700;
}

/* ==================== ADMIN DASHBOARD LAYOUT ==================== */
.admin-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  min-height: 100vh;
}

/* Sidebar */
.admin-sidebar {
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.82) 0%, rgba(15, 23, 42, 0.95) 100%);
  border-right: 2.5px solid rgba(255, 255, 255, 0.45);
  padding: 28px 20px;
  display: flex;
  flex-direction: column;
  backdrop-filter: blur(40px);
  -webkit-backdrop-filter: blur(40px);
  box-shadow: 10px 0 30px rgba(0, 0, 0, 0.3);
}

.admin-sidebar-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-bottom: 24px;
  margin-bottom: 24px;
  border-bottom: 1.5px solid rgba(255, 255, 255, 0.25);
}

.sidebar-brand-img {
  height: 44px;
  width: auto;
  background: #ffffff;
  padding: 6px 10px;
  border-radius: 12px;
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.9);
  border: 2px solid #ffffff;
}

.sidebar-brand-text {
  display: flex;
  flex-direction: column;
}

.sidebar-brand-title {
  font-family: 'Outfit', sans-serif;
  font-size: 1.38rem;
  font-weight: 900;
  background: linear-gradient(135deg, #00f2fe 0%, #38bdf8 55%, #ffffff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 2px 10px rgba(0, 242, 254, 0.45));
  letter-spacing: -0.5px;
  line-height: 1.1;
  white-space: nowrap !important;
}

.sidebar-brand-accent {
  background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 50%, #f97316 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 10px rgba(251, 191, 36, 0.7));
}

.sidebar-brand-sub {
  font-size: 0.75rem;
  color: #fef08a;
  font-weight: 900;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.5);
  margin-top: 2px;
}

.sidebar-menu {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex-grow: 1;
}

.sidebar-btn {
  width: 100%;
  padding: 13px 18px;
  border-radius: var(--radius-md);
  border: 1.5px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  font-family: inherit;
  font-weight: 800;
  font-size: 0.95rem;
  text-align: left;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  gap: 10px;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
}

.sidebar-btn:hover {
  background: rgba(255, 255, 255, 0.28);
  color: #fef08a;
  border-color: #ffffff;
  transform: translateX(4px);
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.4);
}

.sidebar-btn.active {
  background: #ffffff;
  color: #0f172a;
  border-color: #ffffff;
  font-weight: 900;
  box-shadow: 0 6px 25px rgba(0, 242, 254, 0.6);
  text-shadow: none;
}

.sidebar-portal-btn {
  background: rgba(0, 242, 254, 0.2);
  border-color: rgba(0, 242, 254, 0.6);
  color: #00f2fe;
}

.sidebar-portal-btn:hover {
  background: #00f2fe;
  color: #0f172a;
  text-shadow: none;
  border-color: #ffffff;
}

.sidebar-logout-btn {
  padding: 13px;
  border-radius: var(--radius-md);
  border: 1.5px solid rgba(255, 255, 255, 0.6);
  background: linear-gradient(135deg, #ef4444, #dc2626);
  color: #ffffff;
  font-family: inherit;
  font-weight: 900;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 4px 15px rgba(239, 68, 68, 0.4);
}

.sidebar-logout-btn:hover {
  background: #ffffff;
  color: #dc2626;
  border-color: #ffffff;
  box-shadow: 0 0 25px rgba(255, 255, 255, 0.9);
  transform: translateY(-2px);
}

/* Main Panel */
.admin-main {
  padding: 40px;
  overflow-y: auto;
}

.admin-tab-pane {
  display: none;
}

.admin-tab-pane.active {
  display: block;
}

.admin-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 32px;
}

.admin-title {
  font-family: 'Outfit', sans-serif;
  font-size: 2.4rem;
  font-weight: 900;
  color: #ffffff;
  text-shadow: 0 3px 15px rgba(0, 0, 0, 0.6);
  letter-spacing: -0.5px;
}

.admin-subtitle {
  color: #f8fafc;
  font-size: 1.05rem;
  font-weight: 600;
  margin-top: 6px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

/* Stats Cards */
.admin-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-bottom: 32px;
}

.admin-stat-card {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.9) 0%, rgba(240, 249, 255, 0.82) 100%);
  border: 2.5px solid rgba(255, 255, 255, 0.98);
  border-radius: var(--radius-lg);
  padding: 26px 24px;
  box-shadow: 0 15px 40px rgba(15, 23, 42, 0.2), inset 0 2px 4px #ffffff, 0 0 30px rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(36px);
  transition: transform 0.3s ease;
}

.admin-stat-card:hover {
  transform: translateY(-4px);
  background: #ffffff;
  border-color: #00f2fe;
  box-shadow: 0 20px 50px rgba(0, 242, 254, 0.35);
}

.admin-stat-card h4 {
  font-size: 0.85rem;
  font-weight: 900;
  color: #0f172a;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 8px;
  text-shadow: none;
}

.admin-stat-card .val {
  font-family: 'Outfit', sans-serif;
  font-size: 2.6rem;
  font-weight: 900;
  color: #0284c7;
  text-shadow: none;
  line-height: 1;
}

.admin-stat-card .val.status-synced {
  color: #059669;
  font-size: 1.6rem;
}

/* Card Container */
.admin-card {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.9) 0%, rgba(240, 249, 255, 0.82) 100%);
  border: 2.5px solid rgba(255, 255, 255, 0.98);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.2), inset 0 2px 4px #ffffff, 0 0 35px rgba(255, 255, 255, 0.6);
  color: #0f172a;
  backdrop-filter: blur(36px);
}

.admin-card-h3 {
  font-family: 'Outfit', sans-serif;
  font-size: 1.5rem;
  font-weight: 900;
  color: #0f172a;
  margin-bottom: 12px;
  letter-spacing: -0.3px;
}

.admin-card-desc {
  color: #1e293b;
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.7;
  margin-bottom: 24px;
}

.admin-action-btn {
  background: linear-gradient(135deg, #0284c7, #00f2fe);
  color: #0f172a;
  font-weight: 900;
  font-size: 0.95rem;
  padding: 13px 26px;
  border-radius: var(--radius-full);
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(2, 132, 199, 0.35);
  transition: all 0.2s ease;
}

.admin-action-btn:hover {
  background: linear-gradient(135deg, #00f2fe, #fbbf24);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 242, 254, 0.6);
}

.admin-portal-link {
  background: #ffffff;
  color: #0f172a;
  font-weight: 900;
  font-size: 0.95rem;
  padding: 13px 26px;
  border-radius: var(--radius-full);
  border: 2px solid rgba(15, 23, 42, 0.15);
  text-decoration: none;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.admin-portal-link:hover {
  border-color: #0f172a;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

/* Table Wrap & Styles */
.admin-table-wrap {
  background: #ffffff;
  border: 2.5px solid rgba(255, 255, 255, 0.98);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.2);
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
}

.admin-table th {
  background: #f1f5f9;
  font-size: 0.88rem;
  text-transform: uppercase;
  color: #0f172a;
  font-weight: 900;
  letter-spacing: 0.8px;
  padding: 18px 20px;
  border-bottom: 2px solid #cbd5e1;
}

.admin-table td {
  padding: 16px 20px;
  text-align: left;
  border-bottom: 1px solid #e2e8f0;
  color: #1e293b;
  font-size: 0.95rem;
  font-weight: 600;
}

.admin-table tr:hover td {
  background: #f8fafc;
}

/* Form Inputs & Controls */
.admin-form {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.admin-input-group label {
  display: block;
  font-size: 0.92rem;
  font-weight: 900;
  color: #0f172a;
  margin-bottom: 8px;
}

.admin-input {
  width: 100%;
  padding: 14px 18px;
  border-radius: var(--radius-md);
  border: 2px solid rgba(15, 23, 42, 0.18);
  background: #ffffff;
  color: #0f172a;
  font-family: inherit;
  font-weight: 700;
  font-size: 0.98rem;
  outline: none;
  transition: all 0.2s ease;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.04);
}

.admin-input:focus {
  border-color: #0284c7;
  box-shadow: 0 0 0 4px rgba(2, 132, 199, 0.18);
}

.admin-login-btn {
  background: linear-gradient(135deg, #0284c7, #00f2fe);
  color: #0f172a;
  padding: 14px 28px;
  border-radius: var(--radius-full);
  font-weight: 900;
  font-size: 0.98rem;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 4px 20px rgba(2, 132, 199, 0.35);
}

.admin-login-btn:hover {
  transform: translateY(-2px);
  background: linear-gradient(135deg, #00f2fe, #fbbf24);
  box-shadow: 0 0 25px rgba(0, 242, 254, 0.8);
}

.admin-btn-secondary {
  background: #f1f5f9;
  color: #0f172a;
  padding: 13px 22px;
  border-radius: var(--radius-full);
  border: 1.5px solid rgba(15, 23, 42, 0.15);
  font-weight: 800;
  cursor: pointer;
  transition: all 0.2s ease;
}

.admin-btn-secondary:hover {
  background: #e2e8f0;
  border-color: #0f172a;
}

/* Upload Button & Progress */
.admin-upload-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: linear-gradient(135deg, #0284c7 0%, #00f2fe 100%);
  color: #0f172a;
  font-size: 0.8rem;
  font-weight: 800;
  padding: 5px 14px;
  border-radius: 9999px;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 2px 8px rgba(2, 132, 199, 0.25);
  border: 1px solid rgba(2, 132, 199, 0.4);
}

.admin-upload-btn:hover {
  background: linear-gradient(135deg, #00f2fe 0%, #fbbf24 100%);
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(0, 242, 254, 0.5);
}

.upload-progress-box {
  margin-top: 8px;
  padding: 10px 14px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-md);
}

.upload-progress-bar {
  width: 100%;
  height: 6px;
  background: #e2e8f0;
  border-radius: 3px;
  overflow: hidden;
  margin-bottom: 4px;
}

.upload-progress-bar-fill {
  width: 0%;
  height: 100%;
  background: linear-gradient(90deg, #0284c7, #00f2fe, #10b981);
  transition: width 0.2s ease;
}

.upload-progress-status {
  font-size: 0.78rem;
  font-weight: 700;
  color: #0369a1;
}

/* Product Modal */
.admin-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(20px);
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
}

.admin-modal-box {
  background: #ffffff;
  color: #0f172a;
  border-radius: var(--radius-lg);
  width: 620px;
  max-width: 100%;
  padding: 38px;
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.5);
  border: 2px solid rgba(255, 255, 255, 0.8);
}

/* ==================== ADMIN RESPONSIVE STYLES ==================== */
@media (max-width: 1024px) {
  .admin-layout {
    grid-template-columns: 240px 1fr;
  }
  .admin-stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .admin-layout {
    grid-template-columns: 1fr;
  }
  .admin-sidebar {
    border-right: none;
    border-bottom: 2px solid rgba(255, 255, 255, 0.3);
    padding: 20px 16px;
  }
  .sidebar-menu {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 8px;
  }
  .sidebar-btn {
    width: auto;
    padding: 9px 14px;
    font-size: 0.88rem;
  }
  .admin-main {
    padding: 24px 16px;
  }
  .admin-title {
    font-size: 1.85rem;
  }
  .admin-stats-grid {
    grid-template-columns: 1fr;
  }
  .admin-card {
    padding: 24px 18px;
  }
  .admin-table th,
  .admin-table td {
    padding: 12px 14px;
    font-size: 0.88rem;
  }
}
