/* ==========================================================================
   DRIVO - CUSTOMER & PARTNER PORTAL MODERN STYLESHEET
   100% Theme Match: Royal Electric Blue (#0080ff), Cyan (#00c2ff), Navy (#090e1a)
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. HERO HEADER BANNER
   -------------------------------------------------------------------------- */
.portal-hero-header {
  position: relative;
  background: radial-gradient(circle at 50% 15%, rgba(0, 128, 255, 0.22) 0%, transparent 60%),
              linear-gradient(135deg, #090e1a 0%, #0d1e38 100%);
  padding: 45px 0 55px 0;
  color: #ffffff;
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.portal-hero-header::before {
  content: "";
  position: absolute;
  top: -120px;
  right: -100px;
  width: 480px;
  height: 480px;
  background: radial-gradient(circle, rgba(0, 194, 255, 0.16) 0%, rgba(0, 0, 0, 0) 70%);
  pointer-events: none;
  z-index: 1;
}

.portal-hero-header::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0, 128, 255, 0.4), transparent);
}

.portal-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  font-weight: 500;
  margin-bottom: 16px;
  color: #94a3b8;
}

.portal-breadcrumb a {
  color: #38bdf8;
  text-decoration: none;
  transition: color 0.2s ease;
}

.portal-breadcrumb a:hover {
  color: #ffffff;
}

.portal-breadcrumb span.sep {
  color: #64748b;
  font-size: 11px;
}

.portal-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0, 194, 255, 0.12);
  border: 1px solid rgba(0, 194, 255, 0.35);
  color: #00c2ff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 30px;
  margin-bottom: 18px;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.portal-hero-title {
  font-size: clamp(2rem, 4.2vw, 3.1rem);
  font-weight: 800;
  color: #ffffff;
  line-height: 1.22;
  margin-bottom: 16px;
  letter-spacing: -0.7px;
}

.portal-hero-title .text-gradient {
  background: linear-gradient(135deg, #00c2ff 0%, #38bdf8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline;
}

.portal-hero-desc {
  font-size: clamp(0.98rem, 1.5vw, 1.12rem);
  color: #cbd5e1;
  max-width: 720px;
  line-height: 1.6;
  margin-bottom: 28px;
}

/* Quick Metrics / Highlight Pills in Hero */
.portal-hero-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 10px;
}

.portal-pill-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 30px;
  font-size: 13px;
  font-weight: 600;
  color: #f1f5f9;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(4px);
}

.portal-pill-item i {
  color: #00c2ff;
  font-size: 13px;
}

/* --------------------------------------------------------------------------
   2. MAIN PORTAL CONTENT SECTION
   -------------------------------------------------------------------------- */
.portal-main-section {
  background: #f8fafc;
  padding: 55px 0 80px 0;
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* Sticky Quick Navigation Sidebar */
.portal-sidebar-box {
  position: sticky;
  top: 90px;
  background: #ffffff;
  border-radius: 18px;
  border: 1px solid #e2e8f0;
  padding: 24px;
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.04);
  margin-bottom: 30px;
}

.portal-sidebar-title {
  font-size: 15px;
  font-weight: 800;
  color: #0f172a;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.portal-sidebar-title i {
  color: #0080ff;
}

.portal-nav-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

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

.portal-nav-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  border-radius: 10px;
  color: #475569;
  font-size: 13.5px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
}

.portal-nav-link i {
  color: #94a3b8;
  font-size: 13px;
  width: 16px;
  text-align: center;
  transition: color 0.2s ease;
}

.portal-nav-link:hover,
.portal-nav-link.active {
  background: #f0f7ff;
  color: #0080ff;
}

.portal-nav-link:hover i,
.portal-nav-link.active i {
  color: #0080ff;
}

/* Policy Card Shell */
.portal-policy-card {
  background: #ffffff;
  border-radius: 20px;
  border: 1px solid #e2e8f0;
  padding: 30px;
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.04);
  margin-bottom: 26px;
  scroll-margin-top: 100px;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.portal-policy-card:hover {
  border-color: rgba(0, 128, 255, 0.3);
  box-shadow: 0 10px 25px rgba(0, 128, 255, 0.06);
}

.portal-policy-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid #f1f5f9;
  flex-wrap: wrap;
  gap: 12px;
}

.portal-policy-title-group {
  display: flex;
  align-items: center;
  gap: 14px;
}

.portal-policy-icon {
  width: 44px;
  height: 44px;
  min-width: 44px;
  border-radius: 12px;
  background: #f0f7ff;
  border: 1px solid #d0e7ff;
  color: #0080ff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

.portal-policy-title {
  font-size: 1.28rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 0;
  letter-spacing: -0.3px;
}

.portal-badge-status {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11.5px;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 20px;
  letter-spacing: 0.3px;
  text-transform: uppercase;
}

.portal-badge-status.blue {
  background: #f0f7ff;
  color: #0080ff;
  border: 1px solid #d0e7ff;
}

.portal-badge-status.green {
  background: #f0fdf4;
  color: #16a34a;
  border: 1px solid #bbf7d0;
}

.portal-badge-status.amber {
  background: #fffbeb;
  color: #d97706;
  border: 1px solid #fde68a;
}

.portal-badge-status.red {
  background: #fef2f2;
  color: #dc2626;
  border: 1px solid #fecaca;
}

/* Card Body Content */
.portal-policy-body {
  color: #334155;
  font-size: 14.5px;
  line-height: 1.7;
}

.portal-policy-body p {
  margin-bottom: 12px;
}

.portal-policy-body p:last-child {
  margin-bottom: 0;
}

/* Custom Bullet / Checklist */
.portal-check-list {
  list-style: none;
  padding: 0;
  margin: 14px 0 16px 0;
}

.portal-check-list li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 10px;
  line-height: 1.6;
}

.portal-check-list li::before {
  content: "\f00c";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  position: absolute;
  left: 0;
  top: 1px;
  color: #10b981;
  font-size: 13px;
}

.portal-dot-list {
  list-style: none;
  padding: 0;
  margin: 14px 0 16px 0;
}

.portal-dot-list li {
  position: relative;
  padding-left: 26px;
  margin-bottom: 10px;
  line-height: 1.6;
}

.portal-dot-list li::before {
  content: "";
  position: absolute;
  left: 6px;
  top: 9px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #0080ff;
}

/* Alert Boxes / Callouts */
.portal-alert-box {
  border-radius: 14px;
  padding: 16px 20px;
  margin: 16px 0;
  font-size: 14px;
  line-height: 1.6;
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.portal-alert-box.info {
  background: #f0f7ff;
  border-left: 4px solid #0080ff;
  color: #1e3a8a;
}

.portal-alert-box.info i {
  color: #0080ff;
  font-size: 17px;
  margin-top: 2px;
}

.portal-alert-box.warning {
  background: #fffbeb;
  border-left: 4px solid #f59e0b;
  color: #92400e;
}

.portal-alert-box.warning i {
  color: #f59e0b;
  font-size: 17px;
  margin-top: 2px;
}

.portal-alert-box.danger {
  background: #fef2f2;
  border-left: 4px solid #ef4444;
  color: #991b1b;
}

.portal-alert-box.danger i {
  color: #ef4444;
  font-size: 17px;
  margin-top: 2px;
}

/* Data / Pricing Comparison Grid */
.portal-price-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
  margin: 16px 0;
}

.portal-price-card {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 16px;
  text-align: center;
  transition: transform 0.2s ease;
}

.portal-price-card:hover {
  transform: translateY(-2px);
  border-color: #0080ff;
}

.portal-price-label {
  font-size: 12px;
  font-weight: 700;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 4px;
}

.portal-price-val {
  font-size: 1.5rem;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 4px;
}

.portal-price-sub {
  font-size: 12px;
  color: #64748b;
  margin-bottom: 0;
}

/* Support Help Card */
.portal-support-card {
  background: radial-gradient(circle at 80% 20%, rgba(0, 194, 255, 0.16) 0%, transparent 60%),
              linear-gradient(135deg, #090e1a 0%, #0d1e38 100%);
  border-radius: 20px;
  padding: 35px 30px;
  color: #ffffff;
  margin-top: 30px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 15px 35px rgba(9, 14, 26, 0.15);
}

.portal-support-title {
  font-size: 1.45rem;
  font-weight: 800;
  margin-bottom: 8px;
}

.portal-support-desc {
  font-size: 14px;
  color: #cbd5e1;
  margin-bottom: 22px;
  line-height: 1.6;
}

.portal-support-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.portal-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #0099ff 0%, #00c2ff 100%);
  color: #ffffff !important;
  font-size: 13.5px;
  font-weight: 700;
  padding: 10px 22px;
  border-radius: 25px;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(0, 153, 255, 0.35);
  transition: all 0.2s ease;
}

.portal-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 153, 255, 0.45);
}

.portal-btn-wa {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #25d366;
  color: #ffffff !important;
  font-size: 13.5px;
  font-weight: 700;
  padding: 10px 22px;
  border-radius: 25px;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.3);
  transition: all 0.2s ease;
}

.portal-btn-wa:hover {
  background: #20bd5a;
  transform: translateY(-2px);
}

.portal-btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff !important;
  font-size: 13.5px;
  font-weight: 600;
  padding: 10px 20px;
  border-radius: 25px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  text-decoration: none;
  transition: all 0.2s ease;
}

.portal-btn-outline:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.35);
}

/* --------------------------------------------------------------------------
   3. RESPONSIVE QUERIES
   -------------------------------------------------------------------------- */
@media (max-width: 991.98px) {
  .portal-hero-header {
    padding: 35px 0 45px 0;
  }
  .portal-main-section {
    padding: 40px 0 60px 0;
  }
  .portal-policy-card {
    padding: 22px 20px;
  }
  .portal-sidebar-box {
    position: static;
    margin-bottom: 25px;
  }
}

@media (max-width: 575.98px) {
  .portal-policy-title {
    font-size: 1.15rem;
  }
  .portal-policy-header {
    flex-direction: column;
    align-items: flex-start;
  }
  .portal-support-actions {
    flex-direction: column;
    width: 100%;
  }
  .portal-btn-primary,
  .portal-btn-wa,
  .portal-btn-outline {
    justify-content: center;
    width: 100%;
  }
}
