*{
  box-sizing:border-box;
}
body{
  margin:0;
  font-family:"Segoe UI", Arial, sans-serif;
  background:#f1f5f9;
}

.brand h1{
  margin:0;
  font-size:22px;
  color:#0f172a;
}
.brand p{
  margin:4px 0 0;
  font-size:13px;
  color:#64748b;
}

h2{
  text-align:center;
  font-size:18px;
  margin:20px 0;
  color:#1e293b;
}

input{
  width:100%;
  padding:12px;
  font-size:15px;
  border-radius:8px;
  border:1px solid #cbd5e1;
  outline:none;
}
input:focus{
  border-color:#2563eb;
}

button{
  width:100%;
  margin-top:15px;
  padding:12px;
  border:none;
  border-radius:8px;
  background:#2563eb;
  color:#fff;
  font-size:15px;
  font-weight:600;
  cursor:pointer;
}
button:hover{
  background:#1d4ed8;
}

.result{
  margin-top:20px;
  padding:15px;
  border-radius:8px;
  font-size:14px;
}
.success{
  background:#ecfdf5;
  border:1px solid #86efac;
  color:#166534;
}
.error{
  background:#fef2f2;
  border:1px solid #fecaca;
  color:#991b1b;
}

.result p{
  margin:6px 0;
}

.footer{
  text-align:center;
  margin-top:15px;
  font-size:12px;
  color:#e5e7eb;
}

/* ===== HEADER ===== */
.main-header{
  position:sticky;
  top:0;
  z-index:1000;
  background:linear-gradient(135deg,#0f172a,#1e293b);
  padding:14px 30px;
  display:grid;
  grid-template-columns: auto 1fr;
  align-items:center;
  box-shadow:0 8px 25px rgba(0,0,0,0.25);
}

.header-left{
  display:flex;
  align-items:center;
  gap:12px;
}

.header-logo{
  width:40px;
  height:40px;
  object-fit:contain;
}

.brand-name{
  font-size:22px;
  font-weight:700;
  color:#fff;
  letter-spacing:0.5px;
}

.header-nav{
  display:flex;
  gap:28px;
}

.header-nav a{
  text-decoration:none;
  font-size:15px;
  color:#e5e7eb;
  position:relative;
  padding-bottom:4px;
  transition:0.3s;
}

.header-nav a::after{
  content:"";
  position:absolute;
  left:0;
  bottom:0;
  width:0%;
  height:2px;
  background:#3b82f6;
  transition:0.3s;
}

.header-nav a:hover{
  color:#fff;
}

.header-nav a:hover::after{
  width:100%;
}

.header-nav .active{
  color:#93c5fd;
  font-weight:600;
}

.highlight-link{
  color:#60a5fa !important;
  font-weight:600;
}

.header-right .admin-btn{
  background:linear-gradient(135deg,#2563eb,#1d4ed8);
  color:#fff;
  text-decoration:none;
  padding:10px 18px;
  border-radius:10px;
  font-size:14px;
  font-weight:600;
  transition:0.3s;
}

.header-right .admin-btn:hover{
  transform:translateY(-2px);
  box-shadow:0 10px 25px rgba(37,99,235,0.45);
}

/* ===== FOOTER ===== */
.footer{
  margin-top:80px;
  padding:20px;
  text-align:center;
  background:#0f172a;
  color:#cbd5f5;
  font-size:14px;
}

/* ===== RESPONSIVE ===== */
@media(max-width:900px){
  .header-nav{
    display:none;
  }
}

.verify-page{
  min-height:calc(100vh - 140px); /* header + footer space */
  display:flex;
  align-items:center;
  justify-content:center;
  padding:40px 20px;
}

footer{
  margin-top:auto;
}

.footer{
  background:linear-gradient(135deg,#0f172a,#1e293b);
  color:#cbd5e1;
  text-align:center;
  padding:18px 10px;
  font-size:13px;
}

.footer .msme-text{
  display:block;
  margin-top:6px;
  font-size:12px;
  color:#93c5fd;
}
.footer{
  background:linear-gradient(135deg,#0f172a,#1e293b);
  color:#cbd5e1;
  text-align:center;
  padding:18px 10px;
  font-size:13px;
}

.footer .msme-text{
  display:block;
  margin-top:6px;
  font-size:12px;
  color:#93c5fd;
}


/* Page background (optional but recommended) */
body{
  background:linear-gradient(135deg,#f1f5f9,#e2e8f0);
}

/* Card */
.verify-card{
  width:360px;
  background:rgba(255,255,255,0.95);
  backdrop-filter:blur(10px);
  border-radius:18px;
  padding:34px 28px;
  text-align:center;
  box-shadow:
    0 20px 40px rgba(0,0,0,0.12),
    inset 0 1px 0 rgba(255,255,255,0.6);
  animation:fadeUp 0.6s ease;
}

/* Logo */
.verify-logo{
  font-size:24px;
  font-weight:700;
  color:#0f172a;
  letter-spacing:0.5px;
}

/* Subtitle */
.verify-subtitle{
  font-size:13px;
  color:#64748b;
  margin-top:4px;
  margin-bottom:18px;
}

/* Title */
.verify-card h2{
  font-size:18px;
  color:#1e293b;
  margin-bottom:18px;
}

/* Input */
.verify-input{
  width:100%;
  padding:14px 16px;
  border-radius:12px;
  border:1px solid #d1d5db;
  font-size:14px;
  outline:none;
  transition:0.25s;
}

.verify-input:focus{
  border-color:#2563eb;
  box-shadow:0 0 0 4px rgba(37,99,235,0.18);
}

/* Button */
.verify-btn{
  width:100%;
  margin-top:18px;
  padding:14px;
  border:none;
  border-radius:14px;
  background:linear-gradient(135deg,#2563eb,#1d4ed8);
  color:#fff;
  font-size:15px;
  font-weight:600;
  cursor:pointer;
  transition:0.3s ease;
}

.verify-btn:hover{
  transform:translateY(-2px);
  box-shadow:0 14px 30px rgba(37,99,235,0.45);
}

.verify-btn:active{
  transform:scale(0.97);
}

/* Small note */
.verify-note{
  font-size:12px;
  color:#64748b;
  margin-top:16px;
}

/* Animation */
@keyframes fadeUp{
  from{
    opacity:0;
    transform:translateY(20px);
  }
  to{
    opacity:1;
    transform:translateY(0);
  }
}

.verify-page{
  min-height:calc(100vh - 140px);
  display:flex;
  align-items:center;
  justify-content:center;
}

.loader{
  width:18px;
  height:18px;
  border:3px solid rgba(255,255,255,0.4);
  border-top:3px solid #fff;
  border-radius:50%;
  animation:spin 1s linear infinite;
  display:inline-block;
}

.hidden{ display:none; }

@keyframes spin{
  to{ transform:rotate(360deg); }
}

.result-box{
  margin-top:20px;
  padding:18px;
  border-radius:14px;
  font-size:14px;
  animation:fadeUp .4s ease;
  text-align: left;          /* ✅ LEFT ALIGN */
}

.result-success{
  background:#ecfdf5;
  border:1px solid #86efac;
  color:#166534;
}

.result-error{
  background:#fef2f2;
  border:1px solid #fecaca;
  color:#991b1b;
}

.status-badge{
  display:inline-block;
  padding:6px 14px;
  border-radius:999px;
  font-size:12px;
  font-weight:700;
  letter-spacing:.3px;
}

/* VERIFIED */
.status-verified{
  background:#ecfdf5;
  color:#166534;
  border:1px solid #86efac;
  animation:pulseGlow 1.8s infinite;
}

/* REVOKED */
.status-revoked{
  background:#fef2f2;
  color:#991b1b;
  border:1px solid #fecaca;
  animation:shake 0.8s infinite;
}

/* Animations */
@keyframes pulseGlow{
  0%{ box-shadow:0 0 0 rgba(34,197,94,0.6); }
  50%{ box-shadow:0 0 18px rgba(34,197,94,0.6); }
  100%{ box-shadow:0 0 0 rgba(34,197,94,0.6); }
}

@keyframes shake{
  0%{transform:translateX(0)}
  25%{transform:translateX(-2px)}
  50%{transform:translateX(2px)}
  75%{transform:translateX(-2px)}
  100%{transform:translateX(0)}
}

.header-center{
  display:flex;
  justify-content:center;
  gap:30px;
}

.header-nav a{
  text-decoration:none;
  font-size:15px;
  font-weight:500;
  color:#e5e7eb;
  position:relative;
  padding-bottom:4px;
  transition:0.3s;
}

.header-nav a::after{
  content:"";
  position:absolute;
  left:0;
  bottom:0;
  width:0%;
  height:2px;
  background:#3b82f6;
  transition:0.3s;
}

.header-nav a:hover{
  color:#fff;
}

.header-nav a:hover::after{
  width:100%;
}

.header-nav .active{
  color:#93c5fd;
  font-weight:600;
}

.highlight-link{
  color:#60a5fa;
  font-weight:600;
}


/* Result Message */
