* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html, body{
    height: 100%;
    margin: 0;
}
body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* Navbar */
.navbar {
  width: 100%;
  background-color: #ffffff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  position: sticky;
  top: 0;
  /* z-index: 1000; */
}

/* Container */
.nav-container {
  max-width: 100%;
  margin: 0 auto;
  padding: 16px 20px;
  display: flex;
  align-items: center;
}

/* Logo */
.logo {
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  color: #000;
  cursor: default;
}

.svg {
    width: 72px;
    height: 24px;
}


/* body */
.main-block {
  width: 100%;
  max-width: 560px;

  margin: 80px auto 0 auto;

  padding: 0 2.5rem;

  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.header-text {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: #111;
}

.field {
  width: 100%;
  max-width: 520px;

  padding: 16px;
  font-size: 1rem;

  border: 1px solid #ccc;
  border-radius: 8px;

  margin-bottom: 1rem;
}

.field:focus {
  border-color: #5A23B9;
  outline: none;
}

.terms {
  max-width: 360px;
  font-size: 0.92rem;
  line-height: 1.5;
  color: #555;
  margin-bottom: 1.8rem;
}

.color {
  color: #5A23B9;
}

.line {
  text-decoration: underline;
  cursor: pointer;
}

.btn {
  width: 120px;          /* makes it a larger rectangle */
  height: 55px;          /* gives it real button height */

  background-color: #5A23B9;
  color: white;

  border: none;
  border-radius: 6px;

  display: flex;         /* critical for perfect centering */
  align-items: center;   /* vertical center */
  justify-content: center; /* horizontal center */

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

  padding: 0;            /* IMPORTANT: removes text pushing issues */
  line-height: 1;        /* prevents vertical misalignment */

  cursor: pointer;

  box-sizing: border-box;
}

.btn:hover {
  background-color: #4a1d96;
}


/* accordion start */
.acc {
    position: absolute;
    opacity: 0;
    z-index: -1;
}
.accordion-wrapper {
    border-radius: 8px;
    overflow: hidden;
    max-width: 500px;
    padding: 20px 0;
}
.accordion {
    width: 100%;
    overflow: hidden;
    margin: 16px 0;
}
.accordion:last-child{
    margin-bottom: 0;
}
.accordion-label {
    display: flex;
    -webkit-box-pack: justify;
    justify-content: space-between;
    padding: 10px;
    cursor: pointer;
    font-size: 1rem;
}

.accordion-label::after {
    content: "\276F";
    width: 16px;
    height: 16px;
    text-align: center;
    -webkit-transition: all 0.3s;
    transition: all 0.3s;
}
.accordion-content {
    max-height: 0;
    padding: 0 16px;
    color: rgba(4,57,94,1);
    background: white;
    -webkit-transition: all 0.3s;
    transition: all 0.3s;
}
.accordion-content p{
    margin: 0;
    color: rgba(4,57,94,.7);
    font-size: 18px;
}

input:checked + .accordion-label::after {
    -webkit-transform: rotate(90deg);
    transform: rotate(90deg);
}
input:checked ~ .accordion-content {
    max-height: 100vh;
    padding: 16px;
}
input:focus {
    border: 1px solid #5A23B9 !important;
    outline: none;
}
  
/* accordion end */
.card-inputs {
    display: flex;
    flex-direction: column;
}
.card-inputs {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    max-width: 500px;
    width: 100%;
}

.field-group {
    display: flex;
    flex-direction: column;
}

.field-group label {
    font-size: 0.875rem;
    margin-bottom: 0.25rem;
    font-weight: 500;
}



.footer{
    text-align: center;
    padding: 0 4rem;
}

.footer-links {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0rem;
}

.footer-links li {
    list-style-type: none;
    font-size: 0.9rem;
}
.footer-item {
    display: flex;
    align-items: center;
    justify-content: center;
}
.copy {
    font-size: 0.9rem;
}
.center {
    text-align: center;
}
.loader {
  width: 5rem;
  height: 5rem;
  border: 3px dotted #5A23B9;
  border-style: solid solid dotted dotted;
  border-radius: 50%;
  display: inline-block;
  position: relative;
  box-sizing: border-box;
  animation: rotation 2s linear infinite;
}
.loader::after {
  content: '';  
  box-sizing: border-box;
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  margin: auto;
  border: 3px dotted #000;
  border-style: solid solid dotted;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  animation: rotationBack 1s linear infinite;
  transform-origin: center center;
}
    
@keyframes rotation {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
} 
@keyframes rotationBack {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(-360deg);
  }
} 

/* Mobile responsiveness */
@media (max-width: 480px) {
  .logo {
    font-size: 1.3rem;
  }

  .nav-container {
    padding: 14px 16px;
  }
}
@media (max-width: 600px) {
    .field {
        width: 100%;
    }
    .footer-links {
        flex-direction: column;
        justify-content: center;
        gap: 0.75rem;
    }

    .footer-links li {
        text-align: center;
    }
    .main-block {
        padding: 0 1rem;
    }

    .btn {
  width: fit-content;
}

}

/* =========================
   NEW: Split Screen Layout
========================= */

.page-container {
  display: flex;
  min-height: 100vh;
  align-items: stretch;
}


/* Left side (form) */
.form-section {
  flex: 1;
  padding: 3rem 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* Right side (image) */
.image-section {
  flex: 1;
  display: flex;
}

.image-section img {
  width: 100%;
  height: 100vh;
  object-fit: cover;
  display: block;
}

/* PASSWORD PAGE CENTERING */
.page-password {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.page-password .main-block {
  width: 100%;
  max-width: 560px;

  margin: auto;

  padding: 0 2.5rem;

  display: flex;
  flex-direction: column;
}

.page-password .nav-container {
  justify-content: center;
}