


/* Remove default spacing from everything */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}


body {
  font-family: 'Source Sans 3', sans-serif;
  background: #FAF6F0;
  min-height: 100vh;
}


.page {
  display: flex;
  min-height: 100vh;
}


/*LEFT SIDE — form area*/
.left {
  width: 58%;
  min-height: 100vh;
  background: #FAF6F0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 56px 28px 44px;
  position: relative;
}

/* Form is centered*/
.form-box {
  width: 100%;
  max-width: 420px;
  position: relative;
  z-index: 1;
}

/* Back to login link at the top */
.back-link {
  display: inline-block;
  font-size: 12px;
  color: #8C6A52;
  text-decoration: none;
  margin-bottom: 28px;
  letter-spacing: 0.3px;
  font-weight: 500;
}

.back-link:hover {
  color: #B5572A;
}

/* Main heading */
.form-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 36px;
  font-weight: 700;
  color: #1E0D04;
  letter-spacing: -0.3px;
  margin-bottom: 6px;
  line-height: 1.1;
}

/* Small subtitle below heading */
.form-subtitle {
  font-size: 13px;
  color: #8C6A52;
  margin-bottom: 20px;
}

/* Thin horizontal line */
.top-rule {
  width: 100%;
  height: 1px;
  background: #E8D5BC;
  margin-bottom: 26px;
}


/*TWO FIELDS SIDE BY SIDE*/
.field-row {
  display: flex;
  gap: 14px;
  margin-bottom: 18px;
}

/* Each field inside a row takes equal space */
.field-row .field {
  flex: 1;
  margin-bottom: 0;
}


/*SINGLE FIELD*/
.field {
  margin-bottom: 18px;
}

/* Label above each input */
.field > label {
  display: block;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.9px;
  color: #5A3018;
  margin-bottom: 8px;
}


.field input[type="text"],
.field input[type="email"],
.field input[type="password"] {
  width: 100%;
  padding: 10px 13px;
  background: #ffffff;
  border: 1.5px solid #E0CCBA;
  border-radius: 7px;
  font-family: 'Source Sans 3', sans-serif;
  font-size: 13.5px;
  color: #1E0D04;
  outline: none;
}


.field input[type="text"]:focus,
.field input[type="email"]:focus,
.field input[type="password"]:focus {
  border-color: #B5572A;
}


.field input::placeholder {
  color: #C4AA96;
  font-size: 13px;
}


/* ROLE SELECTOR*/
.role-row {
  display: flex;
  gap: 10px;
}

.role-box {
  flex: 1;
  cursor: pointer;
}

/* Hide the actual radio circle */
.role-box input[type="radio"] {
  display: none;
}

/* Style the visible box */
.role-box span {
  display: block;
  text-align: center;
  padding: 9px 6px;
  font-size: 13px;
  font-weight: 500;
  color: #8C6A52;
  background: #ffffff;
  border: 1.5px solid #E0CCBA;
  border-radius: 7px;
}


.role-box input[type="radio"]:checked + span {
  background: #F2DFD0;
  border-color: #B5572A;
  color: #7A3210;
  font-weight: 600;
}

/* Hover effect */
.role-box:hover span {
  border-color: #B5572A;
}


/*REGISTER BUTTON*/
.register-btn {
  width: 100%;
  margin-top: 24px;
  padding: 12px;
  background: transparent;
  color: #B5572A;
  border: 2px solid #B5572A;
  border-radius: 7px;
  font-family: 'Source Sans 3', sans-serif;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  letter-spacing: 0.3px;
  transition: all 0.3s ease;
}

/* On hover the button fills with color */
.register-btn:hover {
  background: #B5572A;
  color: #ffffff;
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(181, 87, 42, 0.2);
}


/*LOGIN LINK*/
.login-text {
  text-align: center;
  margin-top: 20px;
  font-size: 13px;
  color: #8C6A52;
}

.login-text a {
  color: #B5572A;
  font-weight: 600;
  text-decoration: none;
}

.login-text a:hover {
  text-decoration: underline;
}


/*FOOTER */
.footer-text {
  position: absolute;
  bottom: 18px;
  font-size: 10.5px;
  color: #C4A88C;
}



.right {
  width: 42%;
  min-height: 100vh;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 52px 44px;
  background: linear-gradient(-45deg, #BF6030, #7A3210, #3D1004, #5c200b);
  background-size: 400% 400%;
  animation: gradientBG 15s ease infinite;
}

@keyframes gradientBG {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* Dot texture over the background */
.right::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: radial-gradient(
    circle,
    rgba(255,255,255,0.055) 1px,
    transparent 1px
  );
  background-size: 20px 20px;
  pointer-events: none;
}

/* Content sits above the dot texture */
.right-content {
  position: relative;
  z-index: 2;
}

/* Academy name at top */
.academy-name {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: rgba(255, 255, 255, 0.80);
  margin-bottom: 22px;
}

/* Large heading */
.right-heading {
  font-family: 'Cormorant Garamond', serif;
  font-size: 42px;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.2;
  margin-bottom: 18px;
}

/* Italic part of heading */
.right-heading em {
  font-style: italic;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.62);
}

/* Small golden line */
.short-line {
  width: 34px;
  height: 2px;
  background: rgba(220, 175, 75, 0.72);
  margin-bottom: 14px;
}

/* Subtitle */
.right-sub {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.42);
}

/*music clef in background */
.clef-mark {
  position: absolute;
  font-size: 280px;
  color: rgba(255, 255, 255, 0.04);
  font-family: serif;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  user-select: none;
  pointer-events: none;
  z-index: 1;
  line-height: 1;
  animation: floatClef 8s ease-in-out infinite;
}

@keyframes floatClef {
  0% { transform: translate(-50%, -50%); }
  50% { transform: translate(-50%, -55%); }
  100% { transform: translate(-50%, -50%); }
}

/* Raga names at the bottom */
.raga-names {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.28);
  letter-spacing: 0.5px;
  position: relative;
  z-index: 2;
}

/* Decorative circle in bottom right corner */
.deco-circle {
  position: absolute;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.06);
  bottom: -80px;
  right: -80px;
  pointer-events: none;
  z-index: 1;
}


