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

body{
  font-family:'DM Sans',sans-serif;
  background:#f3f3f3;
  color:#111827;
}

.main-content{
  padding:20px;
}

/* HERO */

.hero{
  background:white;
  border-radius:28px;
  padding:50px;

  display:grid;
  grid-template-columns:1.2fr 1fr;
  gap:40px;
  align-items:center;

  margin-bottom:40px;
}

.breadcrumb{
  color:#f97316;
  margin-bottom:20px;
  font-size:14px;
}

.hero h1{
  font-size:72px;
  font-family:'Syne',sans-serif;
  margin-bottom:20px;
}

.hero p{
  color:#64748b;
  max-width:600px;
  line-height:1.7;
}

.hero-tags{
  display:flex;
  gap:14px;
  margin-top:30px;
  flex-wrap:wrap;
}

.hero-tags span{
  padding:10px 18px;
  border-radius:999px;
  background:#fff1eb;
  color:#f97316;
  font-size:14px;
  font-weight:600;
}

.hero-preview{
  display:flex;
  justify-content:center;
}

.mini-upload{
  width:260px;
  height:180px;

  background:linear-gradient(135deg,#f97316,#8b5cf6);

  border-radius:24px;

  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;

  color:white;
}

.mini-icon{
  font-size:42px;
  margin-bottom:14px;
}

/* FILTERS */

.filters{
  display:flex;
  gap:14px;
  margin-bottom:30px;
}

.filters button{
  border:none;
  padding:10px 18px;
  border-radius:999px;
  background:white;
  cursor:pointer;
  font-weight:600;
}

.filters .active{
  background:#f97316;
  color:white;
}

/* GRID */

.upload-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(340px,1fr));
  gap:28px;
}

/* CARD */

.upload-card{
  background:white;
  border-radius:24px;
  overflow:hidden;
  border:1px solid #e5e7eb;
  transition:0.3s;
}

.upload-card:hover{
  transform:translateY(-5px);
}

.card-preview{
  padding:30px;
  background:#fafafa;
}

/* UPLOAD BOX */

.upload-box{
  border:2px dashed #cbd5e1;
  border-radius:24px;
  padding:50px 30px;

  text-align:center;

  transition:0.3s;
  cursor:pointer;

  background:white;
}

.upload-box:hover{
  border-color:#f97316;
}

.upload-box.dragging{
  background:#fff7ed;
  border-color:#f97316;
  box-shadow: 0 0 12px rgba(249,115,22,0.6);
}

.upload-icon{
  font-size:44px;
  margin-bottom:16px;
}

.upload-box h3{
  font-size:24px;
  margin-bottom:10px;
}

.upload-box p{
  color:#64748b;
  margin-bottom:20px;
}

.upload-box button{
  border:none;
  padding:12px 20px;
  border-radius:12px;
  background: linear-gradient(135deg,#f97316,#8b5cf6);
  transition: 0.3s;
  color:white;
  cursor:pointer;
  font-weight:600;
}

.upload-box button:hover {
  filter: brightness(1.1);
  transform: translateY(-2px);
}

/* GLASS */

.glass-upload{
  background:rgba(255,255,255,0.1);
  backdrop-filter:blur(20px);
}

/* GRADIENT */

.gradient-upload{
  border:none;
  background:
    linear-gradient(#fff,#fff) padding-box,
    linear-gradient(135deg,#f97316,#8b5cf6) border-box;

  border:2px solid transparent;
}

/* CONTENT */

.card-content{
  padding:24px;
}

.card-top{
  display:flex;
  justify-content:space-between;
  align-items:center;
  margin-bottom:16px;
}

.card-top h3{
  font-size:24px;
}

.card-top span{
  background: linear-gradient(135deg,#f97316,#8b5cf6);
  color: white;
  animation: pulse 2s infinite;
  padding:6px 12px;
  border-radius:999px;
  font-size:12px;
  font-weight:700;
}

.card-content p{
  color:#64748b;
  line-height:1.6;
  margin-bottom:24px;
}

.card-actions{
  display:flex;
  gap:12px;
}

.card-actions button{
  flex:1;
  padding:12px;
  border:none;
  border-radius:12px;
  background:#111827;
  color:white;
  cursor:pointer;
  font-weight:600;
}

@keyframes pulse {
  0% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.1); opacity: 0.8; }
  100% { transform: scale(1); opacity: 1; }
}

/* RESPONSIVE */

@media(max-width:900px){

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

  .hero h1{
    font-size:52px;
  }

}

@media(max-width:600px){

  .hero{
    padding:30px;
  }

  .hero h1{
    font-size:40px;
  }

}
/* SIDEBAR */

.sidebar{
  width:250px;
  height:100vh;

  background:linear-gradient(160deg,#141428 0%,#1c1c35 100%);

  position:fixed;
  top:0;
  left:0;

  display:flex;
  flex-direction:column;

  z-index:1000;

  overflow-y:auto;
}

.sidebar-brand{
  padding:24px;
  color:white;
  font-size:22px;
  font-weight:700;

  border-bottom:1px solid rgba(255,255,255,0.08);
}

.sidebar-nav{
  flex:1;
  padding:14px;
}

.sidebar-nav ul{
  list-style:none;
}

.sidebar-nav li{
  margin-bottom:6px;
}

.sidebar-nav li a{
  display:flex;
  align-items:center;
  gap:12px;

  padding:12px 16px;

  border-radius:12px;

  color:#94a3b8;
  text-decoration:none;

  transition:.3s;
}

.sidebar-nav li a:hover{
  background:rgba(255,255,255,0.06);
  color:white;
}

.sidebar-nav li.active a{
  background:rgba(242,107,53,0.15);
  color:#f26b35;
}

.sidebar-footer{
  padding:20px;
  border-top:1px solid rgba(255,255,255,0.08);

  display:flex;
  gap:16px;
}

.sidebar-footer a{
  color:#94a3b8;
}
.main-content{
  margin-left:250px;
  width:calc(100% - 250px);
  min-height:100vh;
  padding:20px;
}
/* ===============================
   NEON UPLOAD CARD
================================ */

.neon-card .card-preview{
  background:#0f172a;
}

.neon-upload{
  background:#111827;
  border:2px solid #22d3ee;
  color:white;

  box-shadow:
    0 0 10px rgba(34,211,238,0.4),
    0 0 25px rgba(34,211,238,0.2);

  transition:0.35s;
}

.neon-upload:hover{
  transform:translateY(-4px);
  box-shadow:
    0 0 15px rgba(34,211,238,0.6),
    0 0 40px rgba(34,211,238,0.3);
}

.neon-upload p{
  color:#cbd5e1;
}

.neon-upload button{
  background:#22d3ee;
  color:#0f172a;
}

/* ===============================
   DASHED UPLOAD CARD
================================ */

.dashed-upload{
  border:3px dashed #6366f1;
  background:#f8fafc;
}

.dashed-upload:hover{
  border-color:#4f46e5;
  background:#eef2ff;
}

.dashed-upload button{
  background:#6366f1;
}

/* ===============================
   FLOATING CARD
================================ */

.floating-card{
  overflow:visible;
}

.floating-upload{
  animation:floatingBox 3s ease-in-out infinite;

  background:white;
  border:2px solid #e2e8f0;
}

@keyframes floatingBox{

  0%,100%{
    transform:translateY(0px);
  }

  50%{
    transform:translateY(-12px);
  }

}

.floating-upload:hover{
  border-color:#f97316;
}

/* ===============================
   DARK MODE CARD
================================ */

.dark-card{
  background:#111827;
  border:1px solid #1e293b;
}

.dark-card .card-preview{
  background:#0f172a;
}

.dark-card .card-content{
  background:#111827;
}

.dark-card .card-top h3{
  color:white;
}

.dark-card .card-content p{
  color:#94a3b8;
}

.dark-upload{
  background:#1e293b;
  border:2px dashed #334155;
  color:white;
}

.dark-upload p{
  color:#94a3b8;
}

.dark-upload button{
  background:#f97316;
}

.dark-upload:hover{
  border-color:#f97316;
}

/* ===============================
   IMAGE PREVIEW CARD
================================ */

.preview-card .card-preview{
  background:linear-gradient(
    135deg,
    #fdf2f8,
    #ede9fe
  );
}

.image-upload{
  background:rgba(255,255,255,0.7);

  backdrop-filter:blur(12px);

  border:2px dashed #d8b4fe;
}

.image-upload:hover{
  border-color:#8b5cf6;
}

.preview-circle{
  width:72px;
  height:72px;

  margin:0 auto 18px;

  border-radius:50%;

  display:flex;
  align-items:center;
  justify-content:center;

  background:white;

  font-size:32px;

  box-shadow:0 10px 20px rgba(0,0,0,0.08);
}

.image-upload button{
  background:#8b5cf6;
}

/* ===============================
   PROGRESS CARD
================================ */

.progress-card .card-preview{
  background:#f8fafc;
}

.progress-upload{
  background:white;
  border:2px dashed #cbd5e1;
}

.progress-upload:hover{
  border-color:#10b981;
}

.progress-bar{
  width:100%;
  height:12px;

  background:#e5e7eb;

  border-radius:999px;

  overflow:hidden;

  margin:18px 0;
}

.progress-fill{
  width:70%;
  height:100%;

  border-radius:999px;

  background:linear-gradient(
    90deg,
    #10b981,
    #06b6d4
  );

  animation:progressMove 2s ease-in-out infinite;
}

@keyframes progressMove{

  0%{
    width:15%;
  }

  50%{
    width:75%;
  }

  100%{
    width:90%;
  }

}

.progress-upload button{
  background:#10b981;
}

/* ===============================
   OPTIONAL HOVER EFFECT
================================ */

.upload-card:hover .upload-box{
  transform:scale(1.01);
}

/* ===============================
   MOBILE RESPONSIVE
================================ */

@media(max-width:600px){

  .preview-circle{
    width:60px;
    height:60px;
    font-size:26px;
  }

  .upload-box{
    padding:40px 20px;
  }

}

/* =========================================
   UNIFORM GRID LAYOUT FOR ALL CARDS
========================================= */

.upload-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
  gap: 32px;
  align-items: stretch;
}

/* =========================================
   CARD BASE STYLE
========================================= */

.upload-card {
  background: #fff;
  border: 1px solid #ececec;
  border-radius: 28px;
  overflow: hidden;
  transition: all 0.35s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 640px;
}

.upload-card:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 12px 24px rgba(0,0,0,0.12);
}


/* =========================================
   PREVIEW AREA
========================================= */

.card-preview {
  background: #fafafa;
  padding: 34px;
  min-height: 360px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* =========================================
   CONTENT AREA
========================================= */

.card-content {
  padding: 28px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

/* =========================================
   RESPONSIVE
========================================= */

@media (max-width: 1200px) {
  .upload-grid {
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  }
}

@media (max-width: 768px) {
  .upload-grid {
    grid-template-columns: 1fr;
  }

  .upload-card {
    min-height: auto;
  }

  .card-preview {
    min-height: 300px;
  }

  .upload-box {
    height: 250px;
  }
}
/* ================= FOOTER ================= */
.footer {
  margin-top: auto;
  margin-left: var(--sidebar-width);
  padding: 60px 20px;
  background: transparent;
}
.search-bar input {
  width: 100%;
  padding: 12px;
  border-radius: 15px;
  border: 3px solid #ddd;
  outline: none;
}
.footer-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  max-width: 1100px;
  margin: 0 auto; 
}

.footer-brand h2 {
  font-size: 32px;
  margin: 0 0 10px;
  color: #111;
  font-weight: 800;
}

.footer-brand p {
  color: #666;
  font-size: 15px;
  margin-bottom: 20px;
}

.footer-socials {
  margin-bottom: 40px;
  font-size: 24px;
  display: flex;
  justify-content: center;
  gap: 20px;
}

.footer-col h3 {
  color: #eb6839;
  font-size: 20px;
  margin: 30px 0 15px;
  font-weight: 800;
  text-transform: none;
  letter-spacing: normal;
}

.footer-col a {
  display: block;
  color: #555;
  text-decoration: none;
  margin-bottom: 12px;
  font-size: 16px;
  transition: all 0.3s ease;
}

.footer-col:last-child a {
  color: #0000ff;
  text-decoration: underline;
}

.feature-card:hover {
  background: rgb(126, 150, 199);
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}

body.dark-mode .component-card,
body.dark-mode .hero,
body.dark-mode .feature-card
  {
  background: rgb(106, 131, 180);
  color: white;
  border-color: #454185;
  }


.search-bar input {
  width: 100%;
  padding: 12px;
  border-radius: 15px;
  border: 3px solid #ddd;
  outline: none;
} 

.search-bar input:hover {
  border-color: #605a8b;
}
.footer-col a:hover {
  transform: translateY(-2px);
  opacity: 0.8;
}

@media (max-width: 900px) {
  .footer {
    margin-left: 0;
    padding: 40px 15px;
  }
  
  .footer-card {
    padding: 30px 20px;
  }
}

/* ============================================================
   AURORA MESH GRADIENT COMPONENT
   ============================================================ */
.aurora-upload {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 200px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(15, 15, 20, 0.6);
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.aurora-upload:hover {
  transform: scale(1.02);
  border-color: rgba(255, 255, 255, 0.35);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.aurora-bg {
  position: absolute;
  top: -50%;
  left: -50%;
  right: -50%;
  bottom: -50%;
  width: 200%;
  height: 200%;
  z-index: 1;
  background: radial-gradient(circle at 30% 30%, #ff007f 0%, transparent 40%),
              radial-gradient(circle at 70% 40%, #7b61ff 0%, transparent 45%),
              radial-gradient(circle at 40% 70%, #00f3ff 0%, transparent 40%),
              radial-gradient(circle at 80% 80%, #ffb800 0%, transparent 35%);
  filter: blur(40px);
  opacity: 0.7;
  mix-blend-mode: screen;
  animation: aurora-spin 25s linear infinite;
  pointer-events: none;
}

@keyframes aurora-spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.aurora-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 24px 32px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  width: 85%;
  height: 80%;
  justify-content: center;
}

.aurora-content .upload-icon {
  font-size: 32px;
  animation: float-slow 4s ease-in-out infinite;
  margin-bottom: 4px;
}

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

.aurora-content h3 {
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  margin: 0;
}

.aurora-content p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 12px;
  margin: 0;
}

/* ============================================================
   SECURE BIOMETRIC COMPONENT
   ============================================================ */
.biometric-upload {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 200px;
  border-radius: 16px;
  border: 1px solid #1a2333;
  background: #090e17;
  cursor: pointer;
  transition: all 0.3s ease;
}

.biometric-upload:hover {
  border-color: #00f3ff;
  box-shadow: 0 0 20px rgba(0, 243, 255, 0.25);
}

.biometric-upload .scan-grid {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  background-image: linear-gradient(rgba(0, 243, 255, 0.05) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(0, 243, 255, 0.05) 1px, transparent 1px);
  background-size: 16px 16px;
  pointer-events: none;
}

.biometric-upload .scan-laser {
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  z-index: 2;
  background: linear-gradient(90deg, transparent, #00f3ff, transparent);
  box-shadow: 0 0 10px #00f3ff, 0 0 20px #00f3ff;
  animation: laser-scan 4s linear infinite;
  pointer-events: none;
}

@keyframes laser-scan {
  0% {
    top: 0%;
  }
  50% {
    top: 100%;
  }
  100% {
    top: 0%;
  }
}

.biometric-upload .security-icon {
  font-size: 38px;
  z-index: 3;
  color: #00f3ff;
  text-shadow: 0 0 15px rgba(0, 243, 255, 0.6);
  margin-bottom: 12px;
  animation: pulse-glow 2s ease-in-out infinite;
}

@keyframes pulse-glow {
  0%, 100% {
    opacity: 0.8;
    transform: scale(1);
  }
  50% {
    opacity: 1;
    transform: scale(1.08);
  }
}

.biometric-upload h3 {
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  margin: 0 0 4px;
  z-index: 3;
  letter-spacing: 0.5px;
}

.biometric-upload p {
  color: #00f3ff;
  font-size: 11px;
  font-weight: 500;
  margin: 0;
  z-index: 3;
  opacity: 0.7;
}

/* ============================================================
   MINIMALIST STACK / LIST UPLOAD COMPONENT
   ============================================================ */
.stack-upload {
  width: 100%;
  background: var(--card-bg);
  border-radius: 12px;
  border: 1px solid var(--card-border);
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.stack-upload .mini-dropzone {
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1.5px dashed var(--card-border);
  border-radius: 8px;
  padding: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.stack-upload .mini-dropzone:hover {
  border-color: var(--accent);
  background: rgba(235, 104, 53, 0.03);
}

.mini-dropzone-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(235, 104, 53, 0.1);
  color: var(--accent);
  font-size: 13px;
}

.mini-dropzone span {
  font-size: 12px;
  font-weight: 500;
  color: var(--text-secondary);
}

.file-stack-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.file-stack-item {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--body-bg);
  border-radius: 8px;
  padding: 8px 12px;
  border: 1px solid var(--card-border);
}

.file-stack-item.loading {
  border-color: rgba(235, 104, 53, 0.2);
}

.file-item-icon {
  font-size: 18px;
}

.file-item-icon.text-pdf {
  color: #ff2a2a;
}

.file-item-icon.text-img {
  color: #00b894;
}

.file-item-details {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.file-item-name {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.file-item-size {
  font-size: 10px;
  color: var(--text-secondary);
}

.file-item-status {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
}

.file-item-status.status-check {
  color: #00b894;
  font-size: 14px;
}

/* Spinner loader ring */
.spinner-ring-mini {
  border: 2px solid rgba(235, 104, 53, 0.2);
  border-top: 2px solid var(--accent);
  border-radius: 50%;
  width: 14px;
  height: 14px;
  animation: mini-spin 1s linear infinite;
}

@keyframes mini-spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Dark mode compatibility fixes for variables */
body.dark-mode .stack-upload {
  background: #111827;
  border-color: #1f2937;
}

body.dark-mode .file-stack-item {
  background: #1f2937;
  border-color: #374151;
}

header {
  background: linear-gradient(270deg,#f97316,#8b5cf6,#22d3ee);
  background-size: 600% 600%;
  animation: gradientShift 12s ease infinite;
}

@keyframes gradientShift {
  0% { background-position:0% 50%; }
  50% { background-position:100% 50%; }
  100% { background-position:0% 50%; }
}

.search-bar input:focus {
  border-color: #8b5cf6;
  box-shadow: 0 0 8px rgba(139,92,246,0.6);
}

.page-hero {
  margin-top: 100px; /* adjust value based on navbar height */
}
