/* ==========================================================================
   المعهد القومي لتكنولوجيا المعلومات وضباط اللاسلكي
   Enterprise Login Portal Stylesheet (Modern Glassmorphic & Cyber-Navy Theme)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@400;500;600;700;800;900&family=Tajawal:wght@400;500;700;800;900&display=swap');

:root {
  --portal-bg: #060b14;
  --portal-surface: rgba(11, 21, 38, 0.75);
  --portal-surface-hover: rgba(16, 30, 54, 0.85);
  --portal-card-border: rgba(56, 189, 248, 0.2);
  --portal-card-glow: rgba(14, 165, 233, 0.15);
  --portal-text-primary: #f8fafc;
  --portal-text-secondary: #94a3b8;
  --portal-text-muted: #64748b;
  --portal-cyan: #00f0ff;
  --portal-cyan-glow: rgba(0, 240, 255, 0.4);
  --portal-blue: #0284c7;
  --portal-indigo: #4f46e5;
  --portal-gold: #f59e0b;
  --portal-emerald: #10b981;
  --portal-danger: #ef4444;
  --portal-radius-xl: 28px;
  --portal-radius-lg: 18px;
  --portal-radius-md: 12px;
  --portal-transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

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

body.portal-body {
  margin: 0;
  padding: 0;
  min-height: 100vh;
  background-color: var(--portal-bg);
  font-family: 'Cairo', 'Tajawal', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: var(--portal-text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* Background Canvas & Ambient Mesh Gradients */
.portal-canvas-bg {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  z-index: 0;
  pointer-events: none;
}

.portal-ambient-glow {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(circle 800px at 15% 20%, rgba(14, 165, 233, 0.14), transparent 70%),
    radial-gradient(circle 600px at 85% 80%, rgba(79, 70, 229, 0.14), transparent 65%),
    radial-gradient(circle 500px at 50% 50%, rgba(0, 240, 255, 0.04), transparent 80%),
    linear-gradient(180deg, #060b14 0%, #081220 50%, #050912 100%);
}

.portal-grid-pattern {
  position: fixed;
  inset: 0;
  z-index: 0;
  background-image: 
    linear-gradient(to right, rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: radial-gradient(circle at center, black 40%, transparent 85%);
  pointer-events: none;
}

/* Main Container */
.portal-main-wrapper {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1360px;
  margin: 0 auto;
  padding: 32px 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
}

.portal-layout-split {
  width: 100%;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 36px;
  align-items: stretch;
}

/* Brand Showcase Side (Right) */
.portal-brand-showcase {
  background: var(--portal-surface);
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  border: 1px solid var(--portal-card-border);
  border-radius: var(--portal-radius-xl);
  padding: 44px 48px;
  box-shadow: 
    0 30px 60px -15px rgba(0, 0, 0, 0.6),
    0 0 50px -10px var(--portal-card-glow),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
}

.portal-brand-showcase::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(0, 240, 255, 0.12), transparent 70%);
  pointer-events: none;
}

/* Institute Header */
.institute-header-block {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-bottom: 30px;
  position: relative;
}

.institute-logo-wrapper {
  position: relative;
  width: 108px;
  height: 108px;
  flex-shrink: 0;
}

.institute-logo-ring {
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 2px dashed rgba(0, 240, 255, 0.45);
  animation: rotateSlow 24s linear infinite;
  pointer-events: none;
}

.institute-logo-pulse {
  position: absolute;
  inset: -2px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 240, 255, 0.35), transparent 70%);
  animation: pulseGlow 3s ease-in-out infinite alternate;
  pointer-events: none;
}

.institute-logo-img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  background: #ffffff;
  padding: 3px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
  position: relative;
  z-index: 1;
}

.institute-title-wrap {
  flex: 1;
}

.institute-republic-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.3);
  border-radius: 30px;
  font-size: 0.78rem;
  font-weight: 700;
  color: #fcd34d;
  margin-bottom: 8px;
  letter-spacing: 0.3px;
}

.institute-main-title {
  font-size: 1.62rem;
  font-weight: 900;
  color: #ffffff;
  line-height: 1.35;
  margin-bottom: 4px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
}

.institute-en-title {
  font-size: 0.88rem;
  font-weight: 600;
  color: #38bdf8;
  letter-spacing: 0.5px;
  direction: ltr;
  text-align: right;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  margin-bottom: 6px;
}

.institute-sub-tag {
  font-size: 0.84rem;
  color: var(--portal-text-secondary);
}

/* System Capabilities Showcase */
.showcase-slider-section {
  background: rgba(7, 14, 26, 0.65);
  border: 1px solid rgba(56, 189, 248, 0.18);
  border-radius: var(--portal-radius-lg);
  padding: 24px;
  position: relative;
  margin-bottom: 26px;
  box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.3);
}

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

.showcase-header h3 {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--portal-cyan);
  display: flex;
  align-items: center;
  gap: 8px;
}

.showcase-header .radar-ping {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--portal-cyan);
  box-shadow: 0 0 12px var(--portal-cyan);
  animation: radarPing 1.8s cubic-bezier(0, 0, 0.2, 1) infinite;
}

.showcase-indicators {
  display: flex;
  gap: 6px;
}

.showcase-dot {
  width: 22px;
  height: 5px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.15);
  cursor: pointer;
  transition: var(--portal-transition);
}

.showcase-dot.is-active {
  background: var(--portal-cyan);
  width: 38px;
  box-shadow: 0 0 10px var(--portal-cyan);
}

/* Slides container */
.showcase-slides-container {
  min-height: 145px;
  position: relative;
}

.showcase-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.45s ease, transform 0.45s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.45s;
  display: flex;
  gap: 18px;
  align-items: flex-start;
}

.showcase-slide.is-active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  position: relative;
}

.showcase-icon-box {
  width: 58px;
  height: 58px;
  border-radius: var(--portal-radius-md);
  background: linear-gradient(135deg, rgba(14, 165, 233, 0.28), rgba(79, 70, 229, 0.28));
  border: 1px solid rgba(0, 240, 255, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  flex-shrink: 0;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
}

.showcase-content {
  flex: 1;
}

.showcase-content h4 {
  font-size: 1.12rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 6px;
}

.showcase-content p {
  font-size: 0.88rem;
  color: var(--portal-text-secondary);
  line-height: 1.7;
}

.showcase-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 10px;
}

.showcase-tag {
  font-size: 0.74rem;
  font-weight: 600;
  padding: 3px 9px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.07);
  color: #7dd3fc;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

/* System Live Stats Bar */
.system-live-stats-bar {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 22px;
}

.stat-pill {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: var(--portal-radius-md);
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.stat-pill-icon {
  font-size: 1.25rem;
}

.stat-pill-info {
  display: flex;
  flex-direction: column;
}

.stat-pill-label {
  font-size: 0.72rem;
  color: var(--portal-text-muted);
}

.stat-pill-val {
  font-size: 0.84rem;
  font-weight: 700;
  color: #f1f5f9;
}

/* Institute Meta Footer */
.institute-footer-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.8rem;
  color: var(--portal-text-muted);
}

.institute-footer-meta a,
.institute-footer-meta span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--portal-text-secondary);
}

.institute-footer-meta a:hover {
  color: var(--portal-cyan);
}

/* Login Card Side (Left) */
.portal-login-card {
  background: rgba(13, 24, 44, 0.84);
  backdrop-filter: blur(32px);
  -webkit-backdrop-filter: blur(32px);
  border: 1px solid var(--portal-card-border);
  border-radius: var(--portal-radius-xl);
  padding: 44px 40px;
  box-shadow: 
    0 30px 60px -15px rgba(0, 0, 0, 0.6),
    0 0 50px -10px rgba(14, 165, 233, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.15);
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
}

.portal-login-header {
  margin-bottom: 26px;
  text-align: right;
}

.portal-header-top-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.portal-theme-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 20px;
  font-size: 0.78rem;
  font-weight: 700;
  color: #e2e8f0;
  cursor: pointer;
  transition: var(--portal-transition);
}

.portal-theme-toggle:hover {
  background: rgba(255, 255, 255, 0.15);
  color: var(--portal-cyan);
  border-color: var(--portal-cyan);
  transform: translateY(-1px);
}

.portal-forgot-link {
  font-size: 0.8rem;
  font-weight: 600;
  color: #38bdf8;
  text-decoration: none;
  transition: var(--portal-transition);
}

.portal-forgot-link:hover {
  color: var(--portal-cyan);
  text-decoration: underline;
}

.portal-welcome-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  background: rgba(14, 165, 233, 0.12);
  border: 1px solid rgba(14, 165, 233, 0.28);
  border-radius: 20px;
  font-size: 0.78rem;
  font-weight: 700;
  color: #38bdf8;
}

.portal-login-title {
  font-size: 1.7rem;
  font-weight: 900;
  color: #ffffff;
  margin-bottom: 6px;
}

.portal-login-desc {
  font-size: 0.88rem;
  color: var(--portal-text-secondary);
}

/* Alerts */
.portal-alert {
  padding: 12px 16px;
  border-radius: var(--portal-radius-md);
  margin-bottom: 20px;
  font-size: 0.88rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 10px;
  animation: shakeX 0.4s ease;
}

.portal-alert--danger {
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid rgba(239, 68, 68, 0.35);
  color: #fca5a5;
}

.portal-alert--warning {
  background: rgba(245, 158, 11, 0.15);
  border: 1px solid rgba(245, 158, 11, 0.35);
  color: #fde68a;
}

.portal-alert--success {
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.35);
  color: #6ee7b7;
}

/* Modern Form Fields */
.portal-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.portal-field-group {
  display: flex;
  flex-direction: column;
  gap: 7px;
  text-align: right;
}

.portal-label {
  font-size: 0.88rem;
  font-weight: 700;
  color: #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.portal-input-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.portal-input-icon {
  position: absolute;
  right: 16px;
  color: var(--portal-text-muted);
  pointer-events: none;
  font-size: 1.15rem;
  transition: color 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.portal-input {
  width: 100%;
  background: rgba(7, 15, 28, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--portal-radius-md);
  padding: 14px 48px 14px 16px;
  font-size: 0.95rem;
  font-family: inherit;
  color: #ffffff;
  outline: none;
  transition: var(--portal-transition);
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.3);
}

.portal-input::placeholder {
  color: rgba(148, 163, 184, 0.5);
  font-size: 0.88rem;
}

.portal-input:focus {
  border-color: var(--portal-cyan);
  background: rgba(10, 20, 38, 0.9);
  box-shadow: 
    0 0 0 3px rgba(0, 240, 255, 0.18),
    0 4px 16px rgba(0, 0, 0, 0.4);
}

.portal-input:focus ~ .portal-input-icon,
.portal-input-wrap:focus-within .portal-input-icon {
  color: var(--portal-cyan);
}

/* Password Toggle Button */
.portal-toggle-password {
  position: absolute;
  left: 14px;
  background: none;
  border: none;
  color: var(--portal-text-muted);
  cursor: pointer;
  padding: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  border-radius: 6px;
  transition: color 0.2s ease, transform 0.2s ease;
}

.portal-toggle-password:hover {
  color: var(--portal-cyan);
  transform: scale(1.1);
}

/* Remember me & Student link row */
.portal-form-options {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.84rem;
  margin-top: -4px;
}

.portal-remember-label {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--portal-text-secondary);
  cursor: pointer;
  user-select: none;
}

.portal-remember-checkbox {
  appearance: none;
  -webkit-appearance: none;
  width: 17px;
  height: 17px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 4px;
  background: rgba(7, 15, 28, 0.8);
  cursor: pointer;
  position: relative;
  transition: var(--portal-transition);
}

.portal-remember-checkbox:checked {
  background: var(--portal-cyan);
  border-color: var(--portal-cyan);
}

.portal-remember-checkbox:checked::after {
  content: '✓';
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #060b14;
  font-weight: 900;
  font-size: 11px;
}

.portal-student-link {
  color: #38bdf8;
  font-weight: 700;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: var(--portal-transition);
  padding: 4px 8px;
  border-radius: 6px;
}

.portal-student-link:hover {
  color: var(--portal-cyan);
  background: rgba(56, 189, 248, 0.1);
}

/* Submit Button */
.portal-submit-btn {
  width: 100%;
  padding: 15px 24px;
  border: none;
  border-radius: var(--portal-radius-md);
  background: linear-gradient(135deg, #0284c7 0%, #0369a1 40%, #00f0ff 100%);
  background-size: 200% 200%;
  color: #ffffff;
  font-family: inherit;
  font-size: 1.05rem;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 
    0 10px 25px -5px rgba(2, 132, 199, 0.5),
    0 0 15px rgba(0, 240, 255, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: var(--portal-transition);
  position: relative;
  overflow: hidden;
  margin-top: 6px;
}

.portal-submit-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent);
  transition: left 0.6s ease;
}

.portal-submit-btn:hover {
  background-position: right center;
  transform: translateY(-2px);
  box-shadow: 
    0 14px 30px -5px rgba(2, 132, 199, 0.65),
    0 0 25px rgba(0, 240, 255, 0.5);
}

.portal-submit-btn:hover::before {
  left: 100%;
}

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

.portal-submit-btn.is-loading {
  pointer-events: none;
  opacity: 0.85;
}

.portal-submit-spinner {
  width: 18px;
  height: 18px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top-color: #ffffff;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  display: none;
}

.portal-submit-btn.is-loading .portal-submit-spinner {
  display: inline-block;
}

/* Security Trust Footer */
.portal-security-note {
  margin-top: 26px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.78rem;
  color: var(--portal-text-muted);
  text-align: center;
}

.portal-security-icon {
  color: var(--portal-emerald);
  font-size: 1rem;
}

/* Animations Keyframes */
@keyframes rotateSlow {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes pulseGlow {
  from { opacity: 0.3; transform: scale(0.96); }
  to { opacity: 0.8; transform: scale(1.04); }
}

@keyframes radarPing {
  0% { transform: scale(0.8); opacity: 1; }
  70% { transform: scale(2.2); opacity: 0; }
  100% { transform: scale(2.2); opacity: 0; }
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

@keyframes shakeX {
  0%, 100% { transform: translateX(0); }
  20%, 60% { transform: translateX(-6px); }
  40%, 80% { transform: translateX(6px); }
}

/* Responsive Breakpoints */
@media (max-width: 1100px) {
  .portal-layout-split {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  
  .portal-main-wrapper {
    padding: 24px 16px;
  }

  .portal-brand-showcase {
    padding: 32px 28px;
  }

  .portal-login-card {
    padding: 36px 28px;
  }

  .system-live-stats-bar {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .institute-header-block {
    flex-direction: column;
    text-align: center;
  }

  .institute-logo-wrapper {
    width: 85px;
    height: 85px;
  }

  .institute-main-title {
    font-size: 1.3rem;
  }

  .institute-en-title {
    text-align: center;
    font-size: 0.78rem;
  }

  .system-live-stats-bar {
    grid-template-columns: 1fr;
  }

  .portal-login-card {
    padding: 28px 20px;
  }

  .portal-form-options {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
}

/* ==========================================================================
   Light Mode Theme Overrides
   ========================================================================== */
body.portal-body[data-theme="light"] {
  --portal-bg: #f1f5f9;
  --portal-surface: rgba(255, 255, 255, 0.92);
  --portal-surface-hover: rgba(255, 255, 255, 0.98);
  --portal-card-border: rgba(203, 213, 225, 0.85);
  --portal-card-glow: rgba(14, 165, 233, 0.12);
  --portal-text-primary: #0f172a;
  --portal-text-secondary: #334155;
  --portal-text-muted: #64748b;
  background-color: var(--portal-bg);
  color: var(--portal-text-primary);
}

body.portal-body[data-theme="light"] .portal-ambient-glow {
  background:
    radial-gradient(circle 800px at 15% 20%, rgba(14, 165, 233, 0.12), transparent 70%),
    radial-gradient(circle 600px at 85% 80%, rgba(99, 102, 241, 0.1), transparent 65%),
    radial-gradient(circle 500px at 50% 50%, rgba(224, 242, 254, 0.5), transparent 80%),
    linear-gradient(180deg, #f8fafc 0%, #edf3fa 50%, #e2eaf5 100%);
}

body.portal-body[data-theme="light"] .portal-grid-pattern {
  background-image: 
    linear-gradient(to right, rgba(15, 23, 42, 0.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(15, 23, 42, 0.05) 1px, transparent 1px);
}

body.portal-body[data-theme="light"] .portal-brand-showcase,
body.portal-body[data-theme="light"] .portal-login-card {
  background: rgba(255, 255, 255, 0.92);
  border-color: rgba(203, 213, 225, 0.9);
  box-shadow: 
    0 25px 50px -12px rgba(15, 23, 42, 0.1),
    0 0 35px -5px rgba(14, 165, 233, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 1);
}

body.portal-body[data-theme="light"] .institute-main-title,
body.portal-body[data-theme="light"] .portal-login-title,
body.portal-body[data-theme="light"] .showcase-content h4 {
  color: #0f172a;
}

body.portal-body[data-theme="light"] .institute-en-title {
  color: #0284c7;
}

body.portal-body[data-theme="light"] .institute-logo-ring {
  border-color: rgba(2, 132, 199, 0.45);
}

body.portal-body[data-theme="light"] .showcase-slider-section {
  background: rgba(241, 245, 249, 0.85);
  border-color: rgba(203, 213, 225, 0.9);
}

body.portal-body[data-theme="light"] .showcase-tag {
  background: rgba(14, 165, 233, 0.1);
  color: #0369a1;
  border-color: rgba(14, 165, 233, 0.25);
}

body.portal-body[data-theme="light"] .showcase-header {
  border-bottom-color: rgba(15, 23, 42, 0.08);
}

body.portal-body[data-theme="light"] .showcase-header h3 {
  color: #0284c7;
}

body.portal-body[data-theme="light"] .showcase-dot {
  background: rgba(15, 23, 42, 0.15);
}

body.portal-body[data-theme="light"] .showcase-dot.is-active {
  background: #0284c7;
  box-shadow: 0 0 8px rgba(2, 132, 199, 0.5);
}

body.portal-body[data-theme="light"] .portal-input {
  background: #ffffff;
  border-color: rgba(203, 213, 225, 0.95);
  color: #0f172a;
}

body.portal-body[data-theme="light"] .portal-input::placeholder {
  color: #94a3b8;
}

body.portal-body[data-theme="light"] .portal-label {
  color: #1e293b;
}

body.portal-body[data-theme="light"] .portal-theme-toggle {
  background: rgba(15, 23, 42, 0.06);
  border-color: rgba(15, 23, 42, 0.15);
  color: #0f172a;
}

body.portal-body[data-theme="light"] .portal-theme-toggle:hover {
  background: rgba(15, 23, 42, 0.12);
  color: #0284c7;
  border-color: #0284c7;
}

body.portal-body[data-theme="light"] .portal-remember-checkbox {
  background: #ffffff;
  border-color: rgba(203, 213, 225, 0.95);
}

body.portal-body[data-theme="light"] .portal-remember-label {
  color: #475569;
}

body.portal-body[data-theme="light"] .portal-forgot-link {
  color: #0284c7;
}

body.portal-body[data-theme="light"] .portal-welcome-badge {
  background: rgba(2, 132, 199, 0.1);
  border-color: rgba(2, 132, 199, 0.25);
  color: #0284c7;
}

body.portal-body[data-theme="light"] .institute-footer-meta {
  border-top-color: rgba(15, 23, 42, 0.08);
}

body.portal-body[data-theme="light"] .portal-security-note {
  border-top-color: rgba(15, 23, 42, 0.08);
  color: #64748b;
}

