﻿html {
  font-size: 14px;

}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

body {
  margin: 0;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  background: #f5f7fb;
  color: #1d2433;
}

.portal-topbar {
  background: rgba(10, 22, 50, 0.95);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.portal-login-page {
  position: relative;
  min-height: 100vh;
  background: url('/images/basic/bg.jpg') center center / cover no-repeat;
}

.portal-login-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(7,18,45,0.88), rgba(12,34,77,0.72)),
    linear-gradient(180deg, rgba(0,0,0,0.18), rgba(0,0,0,0.45));
}

.portal-login-container {
  position: relative;
  z-index: 2;
}

.portal-login-card {
  background: rgba(255,255,255,0.96);
  border-radius: 24px;
  padding: 36px 34px;
  box-shadow: 0 30px 80px rgba(0,0,0,0.28);
  border: 1px solid rgba(255,255,255,0.45);
}

.portal-logo {
  width: 96px;
  height: auto;
  object-fit: contain;
}

.portal-title {
  font-size: 2rem;
  font-weight: 700;
  color: #0f1f44;
  margin-bottom: 8px;
}

.portal-subtitle {
  color: #5f6f8f;
  font-size: 0.98rem;
}

.portal-input {
  height: 50px;
  border-radius: 14px;
  border: 1px solid #d6ddea;
  box-shadow: none !important;
}

.portal-input:focus {
  border-color: #1d4ed8;
}

.portal-login-btn {
  height: 52px;
  border: none;
  border-radius: 14px;
  background: linear-gradient(135deg, #0f4ddf, #1438a6);
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
  transition: 0.2s ease;
}

.portal-login-btn:hover {
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 14px 30px rgba(20,56,166,0.26);
}

.portal-link-disabled {
  color: #6d7b95;
  text-decoration: none;
  pointer-events: none;
}

.portal-demo-box {
  border-radius: 16px;
  padding: 14px 16px;
  background: #f5f8ff;
  border: 1px dashed #c6d4f5;
  color: #44506b;
  font-size: 0.92rem;
}

.portal-dashboard-page {
  min-height: calc(100vh - 60px);
  background:
    radial-gradient(circle at top right, rgba(52,101,255,0.08), transparent 30%),
    linear-gradient(180deg, #f6f9ff 0%, #eef3fb 100%);
}

.portal-hero-card {
  background: linear-gradient(135deg, #0f1f44, #173371);
  border-radius: 28px;
  padding: 34px;
  color: #fff;
  box-shadow: 0 30px 70px rgba(17, 34, 79, 0.18);
}

.hero-badge {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.14);
  padding: 8px 12px;
  border-radius: 999px;
  margin-bottom: 16px;
}

.hero-title {
  font-size: 2.1rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.hero-subtitle {
  font-size: 1rem;
  color: rgba(255,255,255,0.82);
  max-width: 680px;
  margin-bottom: 22px;
}

.hero-user-info {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.10);
  padding: 16px 18px;
  border-radius: 18px;
  line-height: 1.9;
}

.dashboard-logo {
  max-width: 120px;
  width: 100%;
  opacity: 0.95;
}

.app-card {
  background: #fff;
  border-radius: 24px;
  padding: 26px;
  height: 100%;
  border: 1px solid #e7edf8;
  box-shadow: 0 16px 40px rgba(27, 49, 94, 0.08);
}

.app-badge {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #6b7a96;
  margin-bottom: 6px;
}

.app-title {
  font-size: 1.8rem;
  font-weight: 800;
  margin-bottom: 14px;
  color: #112142;
}

.app-desc {
  color: #5d6983;
  min-height: 78px;
}

.app-btn {
  width: 100%;
  height: 48px;
  border-radius: 14px;
  font-weight: 700;
  background: linear-gradient(135deg, #0f4ddf, #1738a7);
  color: #fff;
  border: none;
}

.app-btn:disabled {
  opacity: 1;
  cursor: not-allowed;
  background: linear-gradient(135deg, #96a7d7, #7f92c8);
  color: #fff;
}

.pib-card {
  border-top: 4px solid #0f4ddf;
}

.peb-card {
  border-top: 4px solid #f59e0b;
}
