* {
  box-sizing: border-box;
}

:root {
  --primary: #0568b7;
  --primary-dark: #034f92;
  --text: #1d2b3a;
  --muted: #667789;
  --border: rgba(5, 104, 183, 0.18);
}

body {
  margin: 0;
  font-family: Arial, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 15% 15%, rgba(0, 142, 255, 0.18), transparent 30%),
    radial-gradient(circle at 85% 20%, rgba(0, 91, 170, 0.16), transparent 28%),
    linear-gradient(135deg, #eaf6ff 0%, #ffffff 48%, #dcefff 100%);
  min-height: 100vh;
  overflow-x: hidden;
}
/* ==========================================================
   PNN PREMIUM NAVBAR FINAL - MASTER DAFTAR.PNN.WEB.ID
========================================================== */

.pnn-navbar{
  width:100%;
  position:fixed;
  top:0;
  left:0;
  z-index:999999;
  background:linear-gradient(135deg,rgba(4,93,148,.96),rgba(8,127,194,.96),rgba(48,199,239,.88));
  box-shadow:0 12px 32px rgba(0,60,120,.22);
}

body{
  padding-top:66px;
}

.pnn-navbar-inner{
  max-width:1240px;
  margin:0 auto;
  padding:12px 18px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
}

.pnn-brand{
  display:flex;
  align-items:center;
  gap:10px;
  text-decoration:none;
  color:#fff;
  font-size:14px;
  font-weight:900;
  letter-spacing:.4px;
  white-space:nowrap;
  text-shadow:0 2px 8px rgba(0,0,0,.25);
}

.pnn-brand img{
  height:42px;
  width:auto;
  max-width:none;
}

.pnn-nav-menu{
  display:flex;
  align-items:center;
  gap:7px;
  flex-wrap:nowrap;
}

.pnn-nav-menu a{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:7px;
  min-height:40px;
  padding:10px 13px;
  border-radius:999px;
  color:#fff;
  text-decoration:none;
  font-size:13px;
  font-weight:900;
  line-height:1;
  white-space:nowrap;
  transition:.25s;
}

.pnn-nav-menu a i{
  width:14px;
  min-width:14px;
  text-align:center;
  font-size:12.5px;
  flex-shrink:0;
}

.pnn-nav-menu a:hover{
  color:#045d94;
  background:linear-gradient(135deg,#fff,#e8f8ff);
  box-shadow:0 8px 18px rgba(8,127,194,.25);
  transform:translateY(-1px);
}

.pnn-nav-menu a.nav-login{
  margin-left:8px;
  min-height:40px;
  padding:10px 16px;
  color:#fff;
  background:linear-gradient(135deg,#0ea5e9,#087fc2);
  border:1px solid rgba(255,255,255,.28);
  box-shadow:0 10px 24px rgba(0,80,150,.28);
}

.pnn-nav-menu a.nav-login:hover{
  color:#fff;
  background:linear-gradient(135deg,#087fc2,#034f92);
  transform:translateY(-1px);
}

.pnn-menu-toggle{
  display:none;
  width:42px;
  height:42px;
  padding:0;
  margin:0;
  border-radius:13px;
  border:1px solid rgba(255,255,255,.45);
  background:rgba(255,255,255,.22);
  cursor:pointer;
  box-shadow:0 8px 18px rgba(8,127,194,.25);
}

.pnn-menu-toggle span{
  display:block;
  width:21px;
  height:2px;
  margin:4.5px auto;
  background:#fff;
  border-radius:99px;
  transition:.25s;
}

.pnn-menu-toggle:hover{
  transform:none;
  box-shadow:0 8px 18px rgba(8,127,194,.25);
}

@media(max-width:768px){

  body{
    padding-top:68px;
  }

  .pnn-navbar-inner{
    padding:12px 14px;
    min-height:64px;
  }

  .pnn-brand{
    gap:10px;
  }

  .pnn-brand img{
    height:38px;
  }

  .pnn-brand span{
    font-size:12px;
    max-width:190px;
    line-height:1.25;
    letter-spacing:.25px;
  }

  .pnn-menu-toggle{
    display:block;
    flex-shrink:0;
    width:43px;
    height:43px;
  }

  .pnn-menu-toggle span{
    width:21px;
    height:2px;
    margin:5px auto;
  }

  .pnn-nav-menu{
    display:none;
    position:absolute;
    top:100%;
    left:14px;
    right:14px;
    flex-direction:column;
    gap:8px;
    padding:12px;
    background:#fff;
    border-radius:18px;
    box-shadow:0 18px 35px rgba(0,40,90,.16);
  }

  .pnn-nav-menu.active{
    display:flex;
  }

  .pnn-nav-menu a{
    width:100%;
    display:flex;
    align-items:center;
    justify-content:flex-start;
    gap:10px;
    min-height:46px;
    padding:13px 16px;
    border-radius:14px;
    color:#063b73;
    background:linear-gradient(135deg,#fff,#eaf8ff);
    border:1px solid rgba(8,127,194,.18);
    font-size:13px;
    font-weight:900;
    line-height:1.2;
    white-space:nowrap;
    box-shadow:0 6px 14px rgba(0,70,130,.08);
  }

  .pnn-nav-menu a:hover,
  .pnn-nav-menu a:focus,
  .pnn-nav-menu a:active{
    color:#fff;
    background:linear-gradient(135deg,#087fc2,#034f92);
    box-shadow:0 10px 24px rgba(0,80,150,.25);
  }

  .pnn-nav-menu a.nav-login{
    width:100%;
    margin-left:0;
    margin-top:0;
    min-height:46px;
    padding:13px 16px;
    border-radius:14px;
    color:#fff;
    background:linear-gradient(135deg,#087fc2,#034f92);
    box-shadow:0 6px 14px rgba(0,70,130,.08);
  }

  .pnn-nav-menu a.nav-login:hover,
  .pnn-nav-menu a.nav-login:focus,
  .pnn-nav-menu a.nav-login:active{
    color:#fff;
    background:linear-gradient(135deg,#034f92,#087fc2);
    box-shadow:0 10px 24px rgba(0,80,150,.28);
    transform:translateY(-1px);
  }

  .pnn-menu-toggle.active span:nth-child(1){
    transform:translateY(6.5px) rotate(45deg);
  }

  .pnn-menu-toggle.active span:nth-child(2){
    opacity:0;
  }

  .pnn-menu-toggle.active span:nth-child(3){
    transform:translateY(-6.5px) rotate(-45deg);
  }

  .logo{
    display:none;
  }
}

@media(max-width:420px){

  .pnn-brand span{
    font-size:12px;
    max-width:190px;
    line-height:1.25;
    letter-spacing:.25px;
  }

  .pnn-brand img{
    height:38px;
  }

  .pnn-menu-toggle{
    width:40px;
    height:40px;
  }
}

@media(min-width:769px){

  .pnn-navbar-inner{
    max-width:1280px;
    padding:12px 18px;
    gap:14px;
  }

  .pnn-brand{
    gap:10px;
    font-size:14px;
    letter-spacing:.4px;
  }

  .pnn-brand img{
    height:42px;
  }

  .pnn-nav-menu{
    gap:6px;
  }

  .pnn-nav-menu a{
    gap:7px;
    min-height:40px;
    padding:10px 12px;
    font-size:13px;
    font-weight:800;
  }

  .pnn-nav-menu a.nav-login{
    margin-left:8px;
    padding:10px 16px;
    font-size:13px;
    font-weight:900;
  }
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(5, 104, 183, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(5, 104, 183, 0.06) 1px, transparent 1px);
  background-size: 42px 42px;
  z-index: -2;
}

body::after {
  content: "";
  position: fixed;
  width: 520px;
  height: 520px;
  right: -160px;
  bottom: -180px;
  background: radial-gradient(circle, rgba(5, 104, 183, 0.18), transparent 65%);
  z-index: -1;
}

.page {
  width: 100%;
  min-height: 100vh;
  padding: 28px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero {
  width: 100%;
  max-width: 560px;
  text-align: center;
  margin-bottom: 18px;
}

.hero-badge {
  display: inline-block;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid var(--border);
  color: var(--primary-dark);
  font-size: 13px;
  font-weight: bold;
  margin-bottom: 14px;
  box-shadow: 0 8px 24px rgba(5, 104, 183, 0.10);
}

.brand {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 8px;
}

.logo {
  width: 180px;
  height: auto;
  object-fit: contain;
  background: transparent;
  padding: 0;
  border-radius: 0;
  box-shadow: none;
}

.brand h1 {
  margin: 4px 0 0;
  font-size: 30px;
  color: var(--primary-dark);
  line-height: 1.1;
  text-align: center;
}

.brand-subtitle {
    margin: 0;
    font-size: 13px;
    font-weight: 600;
    color: #667789;
    text-align: center;
    letter-spacing: .5px;
}

.hero-text {
    max-width: 100%;
    margin: 22px auto 0;
    padding: 18px 22px;

    background: #eef7ff;
    border-left: 6px solid #0875d1;
    border-radius: 18px;

    color: #2d4359;
    font-size: 15px;
    line-height: 1.7;

    box-shadow: 0 8px 20px rgba(8,117,209,.08);
}

.card {
  width: 100%;
  max-width: 560px;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(10px);
  border-radius: 26px;
  padding: 26px;
  box-shadow: 0 24px 60px rgba(0, 65, 130, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.75);
  position: relative;
  overflow: hidden;
}

.card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 6px;
  background: linear-gradient(90deg, var(--primary), #42b7ff, var(--primary-dark));
}

form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

label {
  font-size: 14px;
  font-weight: bold;
  color: #24384c;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid #d4e2ef;
  border-radius: 14px;
  padding: 13px 14px;
  font-size: 14px;
  outline: none;
  background: rgba(251, 253, 255, 0.95);
  color: var(--text);
  transition: 0.2s ease;
}

textarea {
  min-height: 90px;
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(5, 104, 183, 0.12);
  background: #ffffff;
}

small {
  font-size: 12px;
  color: #697887;
  line-height: 1.45;
}

button {
  margin-top: 8px;
  border: none;
  border-radius: 16px;
  padding: 15px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #ffffff;
  font-size: 15px;
  font-weight: bold;
  cursor: pointer;
  transition: 0.2s ease;
  box-shadow: 0 12px 25px rgba(5, 104, 183, 0.24);
}

button:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 32px rgba(5, 104, 183, 0.32);
}

.footer {
  width: 100%;
  max-width: 560px;
  text-align: center;
  margin-top: 18px;
  font-size: 13px;
  color: #5f7286;
  line-height: 1.6;
}

@media (max-width: 520px) {

  .page {
    padding: 18px 12px;
  }

  .hero {
    margin-bottom: 12px;
  }

  .hero-badge {
    padding: 6px 12px;
    font-size: 11px;
    margin-bottom: 12px;
  }

  .brand {
    flex-direction: column;
    align-items: center;
    gap: 6px;
  }

.logo {
  width: 180px;
  height: auto;
}

  .brand h1 {
    font-size: 25px;
    text-align: center;
  }

  .brand-subtitle {
    font-size: 12px;
    text-align: center;
  }

  .hero-text {
    margin-top: 14px;
    padding: 15px 18px;
    font-size: 13px;
  }

  .card {
    padding: 20px;
    border-radius: 20px;
  }
  }
/* ==========================================================
   REAL-TIME VALIDATION
========================================================== */

label span {
  color: #e53935;
}

.validation-message {
  display: none;
  margin-top: 6px;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.45;
}

.validation-message.show {
  display: block;
}

.validation-message.valid {
  color: #168a3a;
}

.validation-message.error {
  color: #d92b2b;
}

.input-valid {
  border-color: #25a94a !important;
  box-shadow: 0 0 0 4px rgba(37, 169, 74, 0.12) !important;
}

.input-error {
  border-color: #e13b3b !important;
  box-shadow: 0 0 0 4px rgba(225, 59, 59, 0.12) !important;
}

/* ==========================================================
   BUTTON LOADING
========================================================== */

button {
  position: relative;
}

button.is-loading .btn-text {
  opacity: 0.2;
}

.btn-loader {
  display: none;
  position: absolute;
  left: 50%;
  top: 50%;
  width: 22px;
  height: 22px;
  margin-left: -11px;
  margin-top: -11px;
  border-radius: 50%;
  border: 3px solid rgba(255,255,255,0.55);
  border-top-color: #ffffff;
  animation: spin 0.7s linear infinite;
}

button.is-loading .btn-loader {
  display: block;
}

button:disabled {
  opacity: 0.75;
  cursor: not-allowed;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
/* ==========================================================
   PNN FORM ICON
========================================================== */

.input-icon-wrap {
  position: relative;
  width: 100%;
}


.field-icon {
  position: absolute;

  left: 15px;
  top: 50%;

  transform: translateY(-50%);

  color: var(--primary-dark);

  font-size: 15px;

  width: 18px;

  text-align: center;

  pointer-events: none;

  z-index: 2;
}


.input-icon-wrap input,
.input-icon-wrap select {
  padding-left: 44px;
}


.input-icon-wrap textarea {
  padding-left: 44px;
}


.input-icon-wrap textarea + .field-icon,
.textarea-wrap .field-icon {
  top: 18px;
  transform: none;
}

/* ==========================================================
   PNN AUTO LOCATION MAP
========================================================== */

.location-auto-box {
  display: grid;
  gap: 10px;
}

.btn-location {
  width: 100%;
  min-height: 46px;

  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;

  border: none;
  border-radius: 15px;

  background:
    linear-gradient(
      135deg,
      var(--primary),
      #30c7ef
    );

  color: #ffffff;

  font-size: 14px;
  font-weight: 900;

  cursor: pointer;

  box-shadow:
    0 12px 25px rgba(5,104,183,.24);
}

.btn-location i {
  font-size: 15px;
}

.map-preview {
  width: 100%;
  min-height: 220px;

  overflow: hidden;

  border-radius: 18px;

  border: 1px solid rgba(5,104,183,.18);

  background: #eef7ff;

  box-shadow:
    0 10px 24px rgba(5,104,183,.10);
}

.map-preview iframe {
  width: 100%;
  height: 220px;

  border: 0;

  display: block;
}

.map-empty {
  min-height: 220px;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  gap: 10px;

  padding: 18px;

  text-align: center;

  color: var(--primary-dark);

  font-size: 13px;
  font-weight: 800;
}

.map-empty i {
  font-size: 34px;
  color: var(--primary);
}

@media (max-width: 520px) {
  .map-preview,
  .map-empty {
    min-height: 190px;
  }

  .map-preview iframe {
    height: 190px;
  }
}
/* ==========================================================
   FIX MOBILE BOTTOM SPACE & DATETIME INPUT
========================================================== */

@media (max-width: 520px){

  html,
  body{
    min-height: auto;
    overflow-x: hidden;
  }

  .page{
    min-height: auto;
    padding-bottom: 14px;
  }

  .card{
    overflow: hidden;
  }

  .footer{
    margin-top: 14px;
    margin-bottom: 0;
    padding-bottom: 0;
  }

  .input-icon-wrap{
    max-width: 100%;
    overflow: hidden;
  }

  input[type="datetime-local"]{
    width: 100%;
    max-width: 100%;
    min-width: 0;
    padding-left: 44px;
    padding-right: 10px;
    font-size: 13px;
    box-sizing: border-box;
  }

}
/* ==========================================================
   FIX INPUT WAKTU MULAI GANGGUAN - MOBILE
========================================================== */

@media (max-width: 520px){

  .form-group{
    min-width: 0;
  }

  .input-icon-wrap{
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  .input-icon-wrap input,
  .input-icon-wrap select,
  .input-icon-wrap textarea{
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
  }

  input[type="datetime-local"]{
    display: block;
    width: 100%;
    max-width: 100%;
    min-width: 0;

    padding-left: 44px;
    padding-right: 8px;

    font-size: 12px;
    line-height: 1.2;

    overflow: hidden;
  }

}
@media (max-width: 420px){

  input[type="datetime-local"]{
    font-size: 11px;
    padding-right: 4px;
  }

}
/* ==========================================================
   FINAL FIX INPUT JAM / DATETIME - LAPOR MOBILE
========================================================== */

@media (max-width: 520px){

  .waktu-wrap{
    width: 100%;
    max-width: 100%;
    min-width: 0;
    overflow: hidden;
  }

  .waktu-wrap .field-icon{
    left: 14px;
  }

  .input-waktu{
    display: block;
    width: 100%;
    max-width: 100%;
    min-width: 0;

    box-sizing: border-box;

    padding-left: 44px;
    padding-right: 6px;

    font-size: 12px;

    -webkit-appearance: none;
    appearance: none;
  }

  .input-waktu::-webkit-date-and-time-value{
    text-align: left;
    min-width: 0;
    padding: 0;
    margin: 0;
  }

  .input-waktu::-webkit-calendar-picker-indicator{
    margin: 0;
    padding: 0;
    width: 16px;
  }

}

@media (max-width: 390px){

  .input-waktu{
    font-size: 11px;
    padding-left: 40px;
    padding-right: 4px;
  }

}
