/* NetID Verification Portal - macOS 26 Tahoe Royal Indigo-Violet Liquid Glass Theme */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Outfit:wght@400;600;700;800&family=JetBrains+Mono:wght@500;700;800&display=swap');

:root {
  /* Liquid Glass Translucent Dark Surfaces */
  --glass-surface: rgba(18, 22, 34, 0.72);
  --glass-surface-hover: rgba(28, 34, 52, 0.85);
  --glass-border: rgba(255, 255, 255, 0.16);
  --glass-border-hover: rgba(139, 92, 246, 0.4);
  --glass-highlight: rgba(255, 255, 255, 0.3);

  /* CFU Royal Indigo & Violet Glow Palette */
  --primary-indigo: #6366f1;
  --primary-violet: #8b5cf6;
  --accent-cyan: #38bdf8;
  --accent-emerald: #10b981;
  --accent-amber: #f59e0b;

  --text-main: #ffffff;
  --text-muted: #cbd5e1;
  --text-dim: #94a3b8;

  --radius-xl: 28px;
  --radius-lg: 20px;
  --radius-md: 14px;
  --radius-pill: 999px;

  --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
  --font-heading: 'Outfit', sans-serif;
  --font-code: 'JetBrains Mono', monospace;

  /* Specular Neon Glow Inset Shadows */
  --shadow-glass: 0 24px 60px rgba(0, 0, 0, 0.5), 
                  inset 0 1.5px 0 rgba(255, 255, 255, 0.25), 
                  inset 0 -1px 0 rgba(255, 255, 255, 0.08);
  --shadow-glass-hover: 0 30px 72px rgba(99, 102, 241, 0.3), 
                        inset 0 2px 0 rgba(255, 255, 255, 0.4), 
                        inset 0 -1px 0 rgba(255, 255, 255, 0.15);
}

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

body {
  font-family: var(--font-sans);
  background: #090a10;
  color: var(--text-main);
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Ambient Royal Indigo & Violet Orbs Canvas */
.app-background {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -1;
  overflow: hidden;
  background: radial-gradient(circle at 50% 0%, #151428 0%, #090a10 80%);
}

.glow-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(140px);
  opacity: 0.5;
  animation: floatOrb 22s infinite alternate cubic-bezier(0.4, 0, 0.2, 1);
}

.orb-1 {
  width: 650px;
  height: 650px;
  background: radial-gradient(circle, #6366f1 0%, rgba(99, 102, 241, 0) 70%);
  top: -200px;
  left: -100px;
}

.orb-2 {
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, #8b5cf6 0%, rgba(139, 92, 246, 0) 70%);
  bottom: -200px;
  right: -150px;
  animation-delay: -7s;
}

.orb-3 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, #06b6d4 0%, rgba(6, 182, 212, 0) 70%);
  top: 35%;
  left: 40%;
  animation-delay: -14s;
}

@keyframes floatOrb {
  0% { transform: translate(0, 0) scale(1) rotate(0deg); }
  50% { transform: translate(60px, 40px) scale(1.08) rotate(180deg); }
  100% { transform: translate(-30px, 60px) scale(0.95) rotate(360deg); }
}

/* Container */
.container {
  max-width: 1020px;
  margin: 0 auto;
  padding: 40px 24px;
}

/* Header */
.site-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 36px;
  flex-wrap: wrap;
  gap: 20px;
}

.logo-group {
  display: flex;
  align-items: center;
  gap: 16px;
}

.logo-icon {
  width: 54px;
  height: 54px;
  background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  box-shadow: 0 10px 28px rgba(99, 102, 241, 0.45), inset 0 1.5px 0 rgba(255, 255, 255, 0.5);
  transition: transform 0.3s ease;
}

.logo-icon:hover {
  transform: scale(1.05) rotate(5deg);
}

.logo-text h1 {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.02em;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.4);
}

.logo-text .subtitle {
  font-size: 0.85rem;
  color: #a5b4fc;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* Liquid Glass Nav Tabs Capsule Bar */
.nav-tabs {
  display: flex;
  background: rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  padding: 6px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.2);
  gap: 6px;
  flex-wrap: wrap;
}

.tab-btn {
  background: transparent;
  border: none;
  color: #cbd5e1;
  padding: 10px 20px;
  font-size: 0.9rem;
  font-weight: 700;
  border-radius: var(--radius-pill);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.25s cubic-bezier(0.32, 0.72, 0, 1);
  white-space: nowrap;
}

.tab-btn:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.12);
}

.tab-btn.active {
  background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
  color: #ffffff;
  box-shadow: 0 8px 24px rgba(99, 102, 241, 0.45), inset 0 1.5px 0 rgba(255, 255, 255, 0.5);
}

.tab-content {
  display: none;
}
.tab-content.active {
  display: block;
}

/* Master Royal Indigo Liquid Glass Card */
.glass-card {
  background: var(--glass-surface);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  border-radius: var(--radius-xl);
  padding: 38px;
  box-shadow: var(--shadow-glass);
  margin-bottom: 28px;
  position: relative;
  overflow: hidden;
  color: var(--text-main);
  transition: all 0.25s ease;
}

.glass-card:hover {
  border-color: var(--glass-border-hover);
  box-shadow: var(--shadow-glass-hover);
}

.admin-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  padding: 20px 24px;
  margin-bottom: 20px;
}

.toolbar-title {
  display: flex;
  align-items: center;
  gap: 12px;
}

.toolbar-title h3 {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 800;
  color: #ffffff;
}

.toolbar-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.card-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 18px;
  background: rgba(99, 102, 241, 0.2);
  border: 1px solid rgba(139, 92, 246, 0.4);
  color: #c084fc;
  font-size: 0.82rem;
  font-weight: 700;
  border-radius: var(--radius-pill);
  margin-bottom: 16px;
  backdrop-filter: blur(12px);
  box-shadow: 0 4px 14px rgba(99, 102, 241, 0.25);
}

.card-badge.admin-badge {
  background: rgba(225, 29, 72, 0.2);
  border-color: rgba(244, 63, 94, 0.4);
  color: #fb7185;
}

.section-title {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 10px;
  letter-spacing: -0.02em;
}

.section-desc {
  color: var(--text-muted);
  font-size: 0.98rem;
  margin-bottom: 28px;
  line-height: 1.6;
}

/* Translucent Inputs & Selects */
.search-form-vertical input[type="text"],
.search-form-vertical input[type="password"],
.search-form-vertical select,
.modal-form input[type="text"],
.modal-form input[type="password"],
.modal-form input[type="number"],
.modal-form select,
.modal-form textarea,
.cad-input {
  width: 100%;
  background: rgba(255, 255, 255, 0.07) !important;
  border: 1px solid rgba(255, 255, 255, 0.18) !important;
  border-radius: var(--radius-md) !important;
  padding: 14px 18px !important;
  color: #ffffff !important;
  font-size: 0.98rem !important;
  font-family: var(--font-sans) !important;
  backdrop-filter: blur(12px) !important;
  transition: all 0.25s ease !important;
  box-sizing: border-box !important;
}

.search-form-vertical input[type="text"]::placeholder,
.search-form-vertical input[type="password"]::placeholder,
.cad-input::placeholder {
  color: #64748b !important;
}

.search-form-vertical input[type="text"]:focus,
.search-form-vertical input[type="password"]:focus,
.modal-form input:focus,
.modal-form select:focus,
.cad-input:focus {
  outline: none !important;
  border-color: #8b5cf6 !important;
  box-shadow: 0 0 0 4px rgba(139, 92, 246, 0.25) !important;
  background: rgba(255, 255, 255, 0.12) !important;
}

.search-form-vertical select option,
.modal-form select option {
  background: #0f172a;
  color: #ffffff;
}

.form-group label {
  font-size: 0.92rem;
  font-weight: 700;
  color: #e2e8f0;
  margin-bottom: 8px;
  display: block;
}

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

.form-hint-small {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.4;
  margin-top: 4px;
}

/* Master Buttons */
.btn {
  padding: 14px 28px;
  font-size: 0.95rem;
  font-weight: 700;
  border-radius: var(--radius-pill);
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.25s cubic-bezier(0.32, 0.72, 0, 1);
  white-space: nowrap;
  text-decoration: none !important;
  box-sizing: border-box;
}

.btn:active {
  transform: scale(0.98);
}

.btn-primary {
  background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
  color: #ffffff !important;
  box-shadow: 0 8px 24px rgba(99, 102, 241, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(99, 102, 241, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.6);
  color: #ffffff !important;
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.1);
  color: #f8fafc !important;
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(12px);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.35);
  color: #ffffff !important;
}

.btn-success {
  background: linear-gradient(135deg, #059669 0%, #10b981 100%);
  color: #ffffff !important;
  box-shadow: 0 8px 24px rgba(5, 150, 105, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.btn-success:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(5, 150, 105, 0.55);
}

.btn-lg {
  padding: 16px 34px;
  font-size: 1.05rem;
}

.btn-full {
  width: 100%;
  padding: 16px;
  font-size: 1.1rem;
  font-weight: 800;
  margin-top: 6px;
}

/* Result Card */
.result-card {
  border-top: 4px solid var(--accent-emerald);
}

.result-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.result-header-title {
  display: flex;
  align-items: center;
  gap: 12px;
}

.status-indicator {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #64748b;
}

.status-indicator.active {
  background: #10b981;
  box-shadow: 0 0 18px #10b981;
}

.status-text {
  font-weight: 800;
  font-size: 1.15rem;
  color: #ffffff;
}

/* Code Display Box */
.code-display-box {
  background: rgba(15, 23, 42, 0.9);
  border-radius: var(--radius-lg);
  padding: 36px 24px;
  text-align: center;
  margin-bottom: 24px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.15), 0 20px 40px rgba(0, 0, 0, 0.4);
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(16px);
}

.code-label {
  font-size: 0.9rem;
  color: #94a3b8;
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 700;
}

.code-value {
  font-family: var(--font-code);
  font-size: 3.8rem;
  font-weight: 800;
  color: #38bdf8;
  letter-spacing: 0.22em;
  text-shadow: 0 0 25px rgba(56, 189, 248, 0.6);
}

/* Metadata Grid */
.metadata-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
}

.meta-item {
  background: rgba(255, 255, 255, 0.05);
  padding: 16px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.meta-label {
  display: block;
  font-size: 0.8rem;
  color: #94a3b8;
  margin-bottom: 6px;
  font-weight: 700;
}

.meta-value {
  font-size: 0.98rem;
  font-weight: 800;
  color: #ffffff;
}

/* ============================================================
   AutoCAD Download Center - Royal Indigo Liquid Glass
   ============================================================ */

.cad-step-card {
  background: rgba(22, 27, 44, 0.7) !important;
  backdrop-filter: blur(24px) !important;
  -webkit-backdrop-filter: blur(24px) !important;
  border: 1px solid rgba(255, 255, 255, 0.16) !important;
  border-radius: var(--radius-xl) !important;
  padding: 32px !important;
  margin-bottom: 24px !important;
  position: relative !important;
  box-shadow: var(--shadow-glass) !important;
  color: #ffffff !important;
  transition: all 0.25s ease !important;
}

.cad-step-card:hover {
  border-color: rgba(139, 92, 246, 0.4) !important;
  box-shadow: var(--shadow-glass-hover) !important;
}

.cad-step-card.step-primary {
  border-left: 6px solid #6366f1 !important;
}

.cad-step-card.step-secondary {
  border-left: 6px solid #64748b !important;
}

.cad-step-card.step-download {
  border-left: 6px solid #10b981 !important;
}

.step-badge {
  display: inline-block;
  font-family: var(--font-code);
  font-size: 0.78rem;
  font-weight: 800;
  color: #a5b4fc;
  background: rgba(99, 102, 241, 0.2);
  border: 1px solid rgba(165, 180, 252, 0.3);
  padding: 4px 12px;
  border-radius: 8px;
  margin-bottom: 12px;
}

.step-badge.alt {
  color: #34d399;
  background: rgba(52, 211, 153, 0.18);
  border-color: rgba(52, 211, 153, 0.3);
}

.step-title {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 800;
  color: #ffffff !important;
  margin-bottom: 8px;
}

.step-desc {
  font-size: 0.95rem;
  color: #cbd5e1 !important;
  line-height: 1.6;
  margin-bottom: 20px;
}

/* Button Hero: Royal Indigo-Violet Gradient Hero Button */
.cad-download-btn.btn-hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 20px 24px;
  background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
  color: #ffffff !important;
  text-decoration: none !important;
  border-radius: var(--radius-lg);
  box-shadow: 0 12px 32px rgba(99, 102, 241, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.4);
  transition: all 0.25s cubic-bezier(0.32, 0.72, 0, 1);
  border: none;
  cursor: pointer;
}

.cad-download-btn.btn-hero:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 42px rgba(99, 102, 241, 0.65), inset 0 1px 0 rgba(255, 255, 255, 0.6);
  color: #ffffff !important;
}

.btn-main-text {
  font-size: 1.25rem;
  font-weight: 800;
  color: #ffffff !important;
}

.btn-sub-text {
  font-size: 0.85rem;
  color: #e0e7ff !important;
  opacity: 0.95;
  margin-top: 4px;
}

/* PKG Download Cards */
.cad-pkg-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
  margin-top: 18px;
}

.pkg-card {
  background: rgba(15, 23, 42, 0.8) !important;
  backdrop-filter: blur(16px) !important;
  border: 1px solid rgba(255, 255, 255, 0.16) !important;
  border-radius: var(--radius-lg) !important;
  padding: 24px !important;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.2);
  transition: all 0.25s ease !important;
}

.pkg-card:hover {
  transform: translateY(-4px) !important;
  border-color: rgba(139, 92, 246, 0.4) !important;
  box-shadow: 0 18px 40px rgba(99, 102, 241, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.4) !important;
}

.pkg-card.highlight-card {
  border: 2px solid #10b981 !important;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.9) 0%, rgba(6, 78, 59, 0.4) 100%) !important;
}

.version-tag {
  font-size: 0.78rem;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
}

.tag-2027 { background: #10b981; color: #ffffff; }
.tag-2026 { background: #6366f1; color: #ffffff; }
.tag-2025 { background: #64748b; color: #ffffff; }

.pkg-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: #ffffff !important;
  margin-bottom: 6px;
}

.pkg-sub {
  font-size: 0.82rem;
  color: #94a3b8 !important;
  margin-bottom: 20px;
  line-height: 1.5;
}

.pkg-dl-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 14px;
  border-radius: var(--radius-pill);
  font-size: 0.95rem;
  font-weight: 800;
  text-decoration: none !important;
  transition: all 0.25s ease;
  white-space: nowrap;
}

.btn-pkg-primary {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: #ffffff !important;
  box-shadow: 0 8px 22px rgba(16, 185, 129, 0.35);
}

.btn-pkg-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(16, 185, 129, 0.5);
}

.btn-pkg-secondary {
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff !important;
  border: 1px solid rgba(255, 255, 255, 0.25);
}

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

/* Accordion Component */
.accordion-toggle-btn {
  width: 100%;
  background: transparent;
  border: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  padding: 4px 0;
  text-align: left;
}

.accordion-title-group {
  display: flex;
  align-items: center;
  gap: 12px;
}

.accordion-icon {
  font-size: 1.4rem;
}

.accordion-arrow {
  font-size: 0.85rem;
  color: #94a3b8;
  font-weight: 800;
  transition: transform 0.25s ease;
  background: rgba(255, 255, 255, 0.12);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.accordion-toggle-btn:hover .accordion-arrow {
  background: #6366f1;
  color: #ffffff;
}

.modal-backdrop {
  position: fixed;
  top: 0; left: 0; width: 100vw; height: 100vh;
  background: rgba(9, 10, 16, 0.78);
  backdrop-filter: blur(20px);
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hidden,
.modal-backdrop.hidden {
  display: none !important;
}

.modal-card {
  background: rgba(18, 22, 34, 0.92) !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
  border-radius: var(--radius-xl) !important;
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.3) !important;
}

/* Toast Notifications */
.toast {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(18, 22, 34, 0.95);
  color: #ffffff;
  padding: 14px 28px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.95rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  z-index: 200;
  border: 1px solid rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(16px);
  animation: popIn 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes popIn {
  from { opacity: 0; transform: translate(-50%, 20px) scale(0.9); }
  to { opacity: 1; transform: translate(-50%, 0) scale(1); }
}

a.btn, a.cad-download-btn, a.pkg-dl-btn {
  text-decoration: none !important;
}
