/* =========================================================
   RESET
   ========================================================= */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}


/* =========================================================
   ROOT COLORS
   ========================================================= */

:root {

  /* Rotary brand-inspired colors */

  --rotary-yellow: #f7c21b;

  --rotary-gold: #f5a800;

  --rotary-orange: #f08a00;

  --text-dark: #222222;

  --text-gray: #777777;

  --border-gray: #c9c9c9;

}


/* =========================================================
   BODY
   ========================================================= */

body {

  min-height: 100vh;

  display: flex;

  justify-content: center;

  align-items: center;

  padding: 30px;

  background: #ffffff;

  font-family:
    Arial,
    Helvetica,
    sans-serif;

  color: var(--text-dark);

  overflow-x: hidden;

}


/* =========================================================
   MAIN CONTAINER
   ========================================================= */

.login-container {

  width: 100%;

  max-width: 1000px;

  height: 600px;

  display: flex;

  justify-content: center;

  align-items: stretch;

}


/* =========================================================
   LEFT ROTARY BANNER
   ========================================================= */

.left-banner {

  position: relative;

  width: 100%;

  height: 600px;

  display: flex;

  justify-content: flex-end;

  background: var(--rotary-yellow);

  border-radius: 20px;

  overflow: hidden;

  box-shadow:
    0 12px 35px rgba(0, 0, 0, 0.10);

}


/* =========================================================
   ROTARY LOGOS
   ========================================================= */

.rotary {

  position: absolute;

  top: 50%;

  left: -45px;

  width: 200px;

  opacity: 0.15;

  transform: translateY(-50%);

  pointer-events: none;

}


.rot {

  position: absolute;

  bottom: -35px;

  left: 45px;

  width: 200px;

  opacity: 0.15;

  pointer-events: none;

}


/* =========================================================
   RIGHT WHITE FORM
   ========================================================= */

.right-banner {

  position: relative;

  width: 700px;

  height: 600px;

  flex-shrink: 0;

  padding: 20px 40px;

  background: #ffffff;

  border-radius: 20px;

  box-shadow:
    -5px 0 25px rgba(0, 0, 0, 0.04);

}


/* =========================================================
   BACK TO HOME
   ========================================================= */

.home-link {

  position: absolute;

  top: 22px;

  right: 40px;

  color: var(--text-gray);

  font-size: 10px;

  text-decoration: none;

  transition:
    color 0.2s ease,
    transform 0.2s ease;

}


.home-link:hover {

  color: var(--rotary-orange);

  transform: translateX(-2px);

}


/* =========================================================
   CREATE ACCOUNT TITLE
   ========================================================= */

.create {

  padding-top: 22px;

  margin-bottom: 5px;

  font-size: 30px;

  font-weight: 700;

  color: var(--text-dark);

}


.please {

  margin-bottom: 30px;

  color: var(--text-gray);

  font-size: 15px;

}


/* =========================================================
   TWO COLUMN INPUTS
   ========================================================= */

.name {

  width: 100%;

  display: flex;

  gap: 20px;

  margin-bottom: 20px;

}


/* =========================================================
   INPUTS
   ========================================================= */

.name input {

  width: 300px;

  height: 40px;

  padding: 0 15px;

  border: 2px solid var(--border-gray);

  border-radius: 8px;

  outline: none;

  background: #ffffff;

  color: #333333;

  font-family: inherit;

  font-size: 11px;

  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease;

}


.name input::placeholder {

  color: #888888;

}


.name input:focus {

  border-color: var(--rotary-orange);

  box-shadow:
    0 0 0 3px rgba(240, 138, 0, 0.10);

}


/* =========================================================
   EMAIL / PHONE
   ========================================================= */

.email-number {

  width: 100%;

  display: flex;

  gap: 20px;

  margin-bottom: 20px;

}


.email-number input {

  width: 100%;

  height: 40px;

  padding: 0 15px;

  border: 2px solid var(--border-gray);

  border-radius: 8px;

  outline: none;

  background: #ffffff;

  color: #333333;

  font-family: inherit;

  font-size: 11px;

  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease;

}


.email-number input::placeholder {

  color: #888888;

}


.email-number input:focus {

  border-color: var(--rotary-orange);

  box-shadow:
    0 0 0 3px rgba(240, 138, 0, 0.10);

}


/* =========================================================
   ORANGE TEXT
   ========================================================= */

span {

  color: var(--rotary-orange);

}


/* =========================================================
   TERMS
   ========================================================= */

.check {

  width: 100%;

  display: flex;

  align-items: flex-start;

  gap: 9px;

  margin-top: 4px;

}


.check .checkbox {

  flex-shrink: 0;

  width: 13px;

  height: 13px;

  margin-top: 2px;

  accent-color: var(--rotary-orange);

  cursor: pointer;

}


.check label {

  color: #666666;

  font-size: 10px;

  line-height: 1.5;

}


.check label span {

  color: var(--rotary-orange);

}


/* =========================================================
   CREATE ACCOUNT BUTTON
   ========================================================= */

.right-banner button {

  width: 100%;

  height: 40px;

  margin-top: 20px;

  margin-bottom: 20px;

  border: 2px solid var(--rotary-orange);

  border-radius: 9px;

  background: transparent;

  color: #777777;

  font-family: inherit;

  font-size: 15px;

  cursor: pointer;

  transition:
    background-color 0.2s ease,
    color 0.2s ease,
    box-shadow 0.2s ease;

}


.right-banner button:hover {

  background: var(--rotary-orange);

  color: #ffffff;

  box-shadow:
    0 6px 15px rgba(240, 138, 0, 0.18);

}


/* =========================================================
   LOGIN LINK
   ========================================================= */

.check p {

  color: #666666;

  font-size: 10px;

}


.check a {

  color: var(--rotary-orange);

  text-decoration: none;

}


.check a:hover {

  text-decoration: underline;

}


/* =========================================================
   =========================================================
   TABLET
   =========================================================
   ========================================================= */

@media (max-width: 900px) {

  body {

    padding: 20px;

  }


  .login-container {

    max-width: 760px;

    height: 500px;

  }


  .left-banner {

    height: 500px;

  }


  .right-banner {

    width: 540px;

    height: 500px;

    padding: 20px 30px;

  }


  .create {

    font-size: 25px;

  }


  .please {

    font-size: 12px;

    margin-bottom: 25px;

  }


  .name,
  .email-number {

    gap: 12px;

  }


  .name input {

    width: 50%;

  }


  .email-number input {

    width: 50%;

  }


  .rotary,
  .rot {

    width: 160px;

  }

}


/* =========================================================
   =========================================================
   MOBILE
   =========================================================
   ========================================================= */

@media (max-width: 650px) {

  body {

    min-height: 100svh;

    padding: 15px;

    align-items: flex-start;

  }


  .login-container {

    width: 100%;

    max-width: 500px;

    height: auto;

    margin: auto 0;

  }


  .left-banner {

    width: 100%;

    height: auto;

    min-height: 0;

    flex-direction: column;

    justify-content: flex-start;

    border-radius: 17px;

  }


  /* -----------------------------------------
     MOBILE ROTARY AREA
     ----------------------------------------- */

  .left-banner {

    padding-top: 20px;

  }


  .rotary {

    top: -35px;

    left: -45px;

    width: 130px;

    transform: none;

  }


  .rot {

    right: -40px;

    left: auto;

    bottom: -45px;

    width: 130px;

  }


  /* -----------------------------------------
     FORM
     ----------------------------------------- */

  .right-banner {

    width: 100%;

    height: auto;

    min-height: 500px;

    padding: 20px 25px 30px;

    border-radius: 17px;

  }


  .home-link {

    top: 20px;

    right: 25px;

    font-size: 9px;

  }


  .create {

    padding-top: 25px;

    font-size: 24px;

  }


  .please {

    font-size: 11px;

    margin-bottom: 25px;

  }


  /* ONE COLUMN ON MOBILE */

  .name,
  .email-number {

    flex-direction: column;

    gap: 0;

    margin-bottom: 0;

  }


  .name input,
  .email-number input {

    width: 100%;

    height: 40px;

    margin-bottom: 15px;

  }


  .check label {

    font-size: 9px;

  }


  .right-banner button {

    height: 40px;

    font-size: 13px;

  }


  .check p {

    font-size: 9px;

  }

}


/* =========================================================
   =========================================================
   SMALL PHONES
   =========================================================
   ========================================================= */

@media (max-width: 380px) {

  body {

    padding: 10px;

  }


  .right-banner {

    padding:
      18px
      18px
      25px;

  }


  .home-link {

    right: 18px;

    font-size: 8px;

  }


  .create {

    font-size: 22px;

  }


  .please {

    font-size: 9px;

  }


  .name input,
  .email-number input {

    height: 38px;

    font-size: 10px;

  }


  .check label {

    font-size: 8px;

  }


  .right-banner button {

    height: 38px;

    font-size: 12px;

  }

}


/* =========================================================
   LANDSCAPE PHONES
   ========================================================= */

@media (max-height: 550px) and (orientation: landscape) {

  body {

    padding: 15px;

    align-items: flex-start;

  }


  .login-container {

    margin: 0 auto;

  }


  .right-banner {

    max-height: calc(100svh - 30px);

    overflow-y: auto;

  }

}

