/* =============================================================================
 * STYLING PORTAL SISWA - SISTEM KELULUSAN GEN-2 MODULAR
 * SMK PRATIWI PRABUMULIH
 * FILE: kelulusan/css/portal.css
 * ============================================================================= */

body.portal-body {
  font-family: var(--font-main);
  background: var(--pratiwi-portal-bg);
  min-height: 100vh;
  padding: 24px 12px;
  color: var(--pratiwi-text-body);
}

/* HERO CARD */
.hero-card {
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(12px);
  max-width: 650px;
  margin: 25px auto;
  border-radius: 24px;
  padding: 35px 30px;
  box-shadow: var(--shadow-lg), 0 10px 20px -5px rgba(0, 0, 0, 0.2);
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.4);
  position: relative;
  overflow: hidden;
}

.hero-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 5px;
  background: linear-gradient(90deg, var(--pratiwi-primary), var(--pratiwi-accent), var(--pratiwi-primary));
}

.school-badge {
  background: var(--pratiwi-primary-light);
  color: var(--pratiwi-primary-dark);
  padding: 7px 18px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  letter-spacing: 0.5px;
}

.hero-card h1 {
  font-size: 1.65rem;
  color: var(--pratiwi-text-dark);
  margin: 4px 0 8px;
  font-weight: 800;
}

.hero-card p {
  color: #64748b;
  font-size: 0.92rem;
  margin-bottom: 25px;
  line-height: 1.5;
}

/* SEARCH BOX */
.search-box {
  position: relative;
  max-width: 480px;
  margin: 0 auto;
}

.input-wrapper {
  position: relative;
  margin-bottom: 14px;
}

.input-wrapper i {
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  color: #94a3b8;
  font-size: 1.15rem;
}

input[type="text"].nisn-input {
  width: 100%;
  padding: 14px 20px 14px 48px;
  border: 2px solid #e2e8f0;
  border-radius: 14px;
  font-size: 1.05rem;
  font-family: var(--font-mono);
  font-weight: 600;
  outline: none;
  background: #f8fafc;
  transition: all var(--transition-normal);
  color: var(--pratiwi-text-dark);
  text-align: left;
  letter-spacing: 1px;
}

input[type="text"].nisn-input:focus {
  border-color: var(--pratiwi-primary);
  background: #ffffff;
  box-shadow: 0 0 0 4px rgba(var(--pratiwi-primary-rgb), 0.15);
}

.btn-submit {
  width: 100%;
  background: var(--pratiwi-gradient-primary);
  color: #ffffff;
  border: none;
  padding: 14px;
  border-radius: 14px;
  font-size: 1.02rem;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(var(--pratiwi-primary-rgb), 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: all var(--transition-normal);
}

.btn-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(var(--pratiwi-primary-rgb), 0.45);
}

.btn-submit:disabled {
  background: #94a3b8;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

/* NOTICE DITUTUP */
.closed-notice {
  background: #fff1f2;
  border: 1px solid #fecdd3;
  border-radius: 14px;
  padding: 18px;
  margin-bottom: 20px;
  color: #9f1239;
  font-size: 0.9rem;
}

.closed-notice i {
  font-size: 1.4rem;
  display: block;
  margin-bottom: 6px;
}

/* FOOTER */
.footer-note {
  text-align: center;
  color: #64748b;
  font-size: 0.8rem;
  margin-top: 40px;
}

/* =============================================================================
 * RESPONSIF MOBILE PORTAL
 * ============================================================================= */
@media (max-width: 480px) {
  body.portal-body {
    padding: 16px 8px;
  }

  .hero-card {
    padding: 24px 14px;
    margin: 12px auto;
    border-radius: 18px;
  }

  .hero-card h1 {
    font-size: 1.4rem;
  }

  .hero-card p {
    font-size: 0.85rem;
    margin-bottom: 18px;
  }

  .school-badge {
    font-size: 0.78rem;
    padding: 5px 14px;
  }
}
