* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: "Inter", sans-serif;
    background: #0f172a;
    color: #f8fafc;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

/* CARD */

.card-ui,
form,
.card {
    width: 100%;
    max-width: 420px;
    padding: 56px 50px;
    background: rgba(255,255,255,0.04);
    backdrop-filter: blur(18px);
    border-radius: 18px;
    border: 1px solid rgba(255,255,255,0.08);
    box-shadow: 0 25px 60px rgba(0,0,0,0.45);
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* TITLE */

h2 {
    font-size: 26px;
    font-weight: 700;
    letter-spacing: 1px;
    color: #facc15;
}
.brand-title::after {
    content: "";
    display: block;
    width: 60px;
    height: 2px;
    margin: 12px auto 0;
    background: linear-gradient(to right, #d4af37, #facc15);
}

/* ==================== PDF ==================== */
iframe.pdf-frame {
  width: 100%;
  height: 320px;
  border-radius: 12px;
  border: none;
  box-shadow: 0 10px 25px rgba(0,0,0,0.3);
}
/* TEXT */

.page-title,
.pdf-text {
    font-size: 1.1rem;
    color: #cbd5e1;
}

/* INPUT */

input {
    padding: 14px;
    border-radius: 10px;
    border: 1px solid rgba(255,255,255,0.12);
    background: rgba(255,255,255,0.06);
    color: #fff;
    font-size: 1rem;
}

input::placeholder {
    color: rgba(255,255,255,0.5);
}

input:focus {
    outline: none;
    border-color: #facc15;
    box-shadow: 0 0 0 3px rgba(250,204,21,0.2);
}

/* BUTTON */

button {
    padding: 14px;
    border-radius: 10px;
    border: none;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    background: linear-gradient(135deg, #d4af37, #facc15);
    color: #0f172a;
    transition: 0.25s ease;
}

button:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 35px rgba(250,204,21,0.3);
}

/* LOADER */
/* =========================================
   FULLSCREEN LOADER
========================================= */

.loader {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.95);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;

  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.loader.show {
  opacity: 1;
  visibility: visible;
}

.loader-box {
  text-align: center;
  color: #fff;
}

.loader-img {
  width: 80px;
  height: 80px;
  margin-bottom: 20px;
}

.loader-box p {
  font-size: 16px;
  color: #cbd5e1;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* POPUP */

.popup {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.65);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: 0.3s;
}

.popup.show {
    opacity: 1;
    pointer-events: auto;
}

.popup-card {
    width: 90%;
    max-width: 560px;
    background: rgba(15,23,42,0.95);
    padding: 35px;
    border-radius: 18px;
    text-align: center;
    color: #e5e7eb;
}
