/* RESET */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* BODY */
body {
    font-family: 'Segoe UI', sans-serif;
    line-height: 1.5;
}

/* CONTAINER */
.ui-container {
    max-width: 900px;
    margin: auto;
    padding: 20px;
}

/* CARD */
.ui-card {
    border-radius: 20px;
    padding: 20px;
}

/* SHADOW */
.ui-shadow {
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

/* FLEX */
.ui-flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* TEXT */
.ui-title {
    font-size: 22px;
    font-weight: 700;
}

.ui-subtitle {
    font-size: 14px;
    opacity: 0.7;
}

/* BUTTON */
.ui-btn {
    padding: 12px 18px;
    border-radius: 12px;
    border: none;
    cursor: pointer;
    font-weight: 600;
}

/* =========================
   APP LAYOUT FIX
========================= */

.app-header {
  text-align: center;
  padding: 20px 10px 10px;
}

.app-logo {
  font-size: 18px;
  font-weight: 700;
}

.app-subtitle {
  font-size: 14px;
  opacity: 0.7;
}

.app-main {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.app-footer {
  text-align: center;
  padding: 20px;
  font-size: 12px;
  opacity: 0.6;
}

/* =========================
   FORCE APP CENTER MODE
========================= */

.app-container {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* HEADER FIX */
.app-header {
  text-align: center;
  padding: 20px 10px 10px;
}

/* MAIN FIX */
.app-main {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

/* CONTAINER FIX */
.container {
  width: 100%;
  max-width: 420px;
}

/* FOOTER FIX */
.app-footer {
  text-align: center;
  padding: 20px;
  font-size: 12px;
  opacity: 0.6;
}

/* =========================
   FORM SPACING IMPROVEMENT
========================= */

.ui-card {
  padding: 28px 24px;
  border-radius: 18px;
}

.ui-title {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 10px;
}

.ui-subtitle {
  text-align: center;
  font-size: 15px;
  opacity: 0.8;
  margin-bottom: 20px;
}

/* INFO EVENT */
.event-info {
  text-align: center;
  font-size: 15px;
  margin-bottom: 10px;
  opacity: 0.9;
}

/* FORM GROUP */
.form-group {
  margin-bottom: 18px; /* sebelumnya 14 → diperbesar */
}


/* LABEL */
.form-group label {
  display: block;
  margin-bottom: 6px;
  font-size: 14px;
  opacity: 0.9;
}

/* INPUT */
.ui-input {
  width: 100%;
  padding: 14px 16px;
  border-radius: 12px;
  font-size: 16px;
}

/* BUTTON */
.ui-button {
  margin-top: 10px;
  width: 100%;
  padding: 16px;
  border-radius: 14px;
  font-size: 17px;
}

/* NOTE */
.note {
  text-align: center;
  font-size: 13px;
  margin-top: 14px;
  opacity: 0.7;
}

.ui-card {
  backdrop-filter: blur(12px);
  box-shadow: 0 10px 40px rgba(0,0,0,0.35);
}

/* WAITING PAGE */
.fade-in {
  animation: fadeIn 0.6s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}