/* ==========================================================================
   SISTEM REKOMENDASI KARIER MAHASISWA - ACCESS PORTAL GATEWAY
   File: assets/css/portal.css
   ========================================================================== */

.gateway-section {
  padding: 75px 0;
  background: var(--white);
  border-bottom: 1px solid var(--slate-200);
}

.gateway-card {
  background: var(--slate-50);
  border: 2px solid var(--slate-200);
  border-radius: var(--radius-xl);
  padding: 34px 30px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--shadow-sm);
}

.gateway-card.student-card {
  background: linear-gradient(180deg, #ffffff 0%, #f0fdf4 100%);
  border-color: rgba(5, 150, 105, 0.3);
}

.gateway-card.admin-card {
  background: linear-gradient(180deg, #ffffff 0%, #fffbeb 100%);
  border-color: rgba(245, 158, 11, 0.3);
}

.gateway-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-xl);
}

.gateway-card.student-card:hover {
  border-color: var(--primary);
  box-shadow: 0 20px 40px -10px rgba(5, 150, 105, 0.2);
}

.gateway-card.admin-card:hover {
  border-color: var(--accent-gold);
  box-shadow: 0 20px 40px -10px rgba(245, 158, 11, 0.2);
}

.gateway-icon-badge {
  width: 54px;
  height: 54px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

.gateway-icon-badge.badge-student {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: var(--white);
  box-shadow: 0 6px 16px var(--primary-glow);
}

.gateway-icon-badge.badge-admin {
  background: linear-gradient(135deg, var(--accent-gold) 0%, var(--accent-gold-dark) 100%);
  color: var(--slate-900);
  box-shadow: 0 6px 16px rgba(245, 158, 11, 0.3);
}

.gateway-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--slate-900);
  margin-bottom: 8px;
}

.gateway-desc {
  font-size: 0.88rem;
  color: var(--slate-500);
  line-height: 1.6;
  margin-bottom: 24px;
}

/* Input With Icon Styling */
.input-with-icon {
  position: relative;
  display: flex;
  align-items: center;
}

.input-with-icon .input-icon {
  position: absolute;
  left: 14px;
  color: var(--slate-400);
  font-size: 1rem;
  pointer-events: none;
  z-index: 5;
  transition: color 0.2s ease;
}

.input-with-icon .form-control {
  padding-left: 42px;
  padding-top: 11px;
  padding-bottom: 11px;
  border: 1.5px solid var(--slate-200);
  border-radius: var(--radius-md);
  font-size: 0.92rem;
  transition: all 0.2s ease;
  background-color: var(--white);
}

.input-with-icon .form-control:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3.5px var(--primary-light);
  background-color: var(--white);
}

.input-with-icon .form-control:focus + .input-icon,
.input-with-icon:focus-within .input-icon {
  color: var(--primary);
}

/* Password Toggle Inside Input Group */
.toggle-password-btn {
  border: 1.5px solid var(--slate-200);
  border-left: none;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  background-color: var(--white);
  color: var(--slate-500);
  transition: all 0.2s ease;
}

.toggle-password-btn:hover {
  color: var(--slate-800);
  background-color: var(--slate-100);
}

.gateway-footer-note {
  padding-top: 16px;
  margin-top: 24px;
  border-top: 1px solid var(--slate-200);
  text-align: center;
  font-size: 0.8rem;
  color: var(--slate-400);
}
