/*---- General ----*/
:root {
  --primary: #1a2bc3;
  --secondary: #f6f9ff;
  --text: #3a3a3a;
  --orange: #fe770e;
  --yellow: #ebbb01;
  --light-grey: #f0f3f7;
  --dark-blue: #020042;
}

* {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Roboto", sans-serif;
  font-weight: 400;
  display: grid;
  background: var(--secondary);
}

main {
  place-self: center;
  max-width: 2560px;
}

a {
  text-decoration: none;
}
   /* Add notification styles */
      #notification {
        padding: 12px;
        margin: 15px 0;
        border-radius: 4px;
        text-align: center;
        display: none; /* Hidden by default */
      }
      
      .error {
        background-color: #ffebee;
        color: #b71c1c;
        border: 1px solid #ffcdd2;
      }
      
      .success {
        background-color: #e8f5e9;
        color: #2e7d32;
        border: 1px solid #c8e6c9;
      }
@media (max-width: 767px) {
  main {
    display: flex;
    flex-direction: column;
  }

  .form-container {
    display: grid;
    width: 100%;
  }

  #form {
    place-self: center;
    padding: 144px 0 00px 0;
  }

  #form h3 {
    font-size: 24px;
    font-weight: 600;
    font-family: "Montserrat", sans-serif;
    color: var(--text);
    margin: 24px 0;
  }

  .input-container {
    display: flex;
    align-items: center;
    gap: 8px;
    border: 2px solid #e2e4e9;
    border-radius: 15px;
    background: #f0f3f7;
    width: 300px;
    margin: 0 0 16px 0px;
    transition: 200ms ease all;
  }

  .input-container:hover {
    box-shadow: 0 0 0 3px rgba(26, 43, 195, 0.2);
  }

  #input-icon {
    border: none;
    padding: 10px;
    background: #f0f3f7;
    border-radius: 15px;
    cursor: pointer;
  }

  .input {
    padding: 10px 16px;
    border: none;
    border-left: 1px solid #e2e4e9;
    background: #f0f3f7;
    outline: none;
  }

  .input-container:focus-within {
    border-color: #1a2bc3;
    box-shadow: 0 0 0 3px rgba(26, 43, 195, 0.2);
    background: #f0f3f7;
  }

  .input-container.focused {
    border-color: #1a2bc3;
    box-shadow: 0 0 0 3px rgba(26, 43, 195, 0.2);
    background: #f0f3f7;
  }

  .reset-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .remember-container {
    display: flex;
    align-items: center;
    gap: 6px;
  }

  #remember-box {
    accent-color: var(--primary);
  }

  .reset-container > .remember-container > p {
    color: #707070;
  }

  .reset-container > a {
    color: var(--primary);
  }

  .reset-container > .remember-container > p,
  .reset-container > a {
    font-size: 14px;
    font-family: 'Roboto', sans-serif;
    font-weight: 400;
  }

  button {
    padding: 18px 0;
    border: none;
    color: var(--secondary);
    background: var(--primary);
    font-family: "Roboto", sans-serif;
    font-weight: 400;
    border-radius: 15px;
    width: 100%;
    margin-top: 20px;
    outline: none;
  }

  button:hover {
    background: var(--dark-blue);
  }

  .right-container {
    width: 100%;
    background: var(--secondary);
    display: grid;
  }

  .text-container {
    place-self: center;
    padding: 0 100px;
    display: flex;
    flex-direction: column-reverse;
  }

  h1.text-heading {
    color: var(--secondary);
    font-family: "Montserrat", sans-serif;
    font-weight: 600;
    font-size: 50px;
    opacity: 0.7;
    margin-bottom: 20px;
    display: none;
  }

  .blue-text {
    background: var(--primary);
  }

  .text-container > p {
    color: var(--secondary);
    font-family: "Roboto", sans-serif;
    font-weight: 400;
    font-size: 18px;
    opacity: 0.5;
    display: none;
  }

  .login-link {
    margin-top: 50px;
    color: var(--text);
    text-align: center;
    font-size: 14px;
    font-family: "Roboto", sans-serif;
    padding-bottom: 24px;
  }

  .login-link a {
    color: var(--primary);
  }

  input[type="search"]::-webkit-search-cancel-button {
    -webkit-appearance: none;
    appearance: none;
    display: none;
  }

  .material-symbols-outlined {
    font-variation-settings: "FILL" 0, "wght" 300, "GRAD" 0, "opsz" 24;
    color: #95969a;
  }

  .input-container > input::placeholder {
    color: #95969a;
    font-size: 14px;
  }
}

/*########## Tablet ##########*/
@media (min-width: 768px) {
  main {
    display: flex;
    flex-direction: column;
  }

  .form-container {
    display: grid;
    width: 100%;
  }

  #form {
    place-self: center;
    padding: 144px 0 20px 0;
  }

  #form h3 {
    font-size: 24px;
    font-weight: 600;
    font-family: "Montserrat", sans-serif;
    color: var(--text);
    margin: 44px 0;
  }

  .input-container {
    display: flex;
    align-items: center;
    gap: 8px;
    border: 2px solid #e2e4e9;
    border-radius: 15px;
    background: #f0f3f7;
    width: 300px;
    margin: 0 0 16px 0px;
    transition: 200ms ease all;
  }

  .input-container:hover {
    box-shadow: 0 0 0 3px rgba(26, 43, 195, 0.2);
  }

  #input-icon {
    border: none;
    padding: 10px;
    background: #f0f3f7;
    border-radius: 15px;
    cursor: pointer;
  }

  .input {
    padding: 10px 16px;
    border: none;
    border-left: 1px solid #e2e4e9;
    background: #f0f3f7;
    outline: none;
  }

  .input-container:focus-within {
    border-color: #1a2bc3;
    box-shadow: 0 0 0 3px rgba(26, 43, 195, 0.2);
    background: #f0f3f7;
  }

  .input-container.focused {
    border-color: #1a2bc3;
    box-shadow: 0 0 0 3px rgba(26, 43, 195, 0.2);
    background: #f0f3f7;
  }

  button {
    padding: 18px 0;
    border: none;
    color: var(--secondary);
    background: var(--primary);
    font-family: "Roboto", sans-serif;
    font-weight: 400;
    border-radius: 15px;
    width: 100%;
    margin-top: 20px;
    outline: none;
  }

   .reset-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .remember-container {
    display: flex;
    align-items: center;
    gap: 6px;
  }

  #remember-box {
    accent-color: var(--primary);
  }

  .reset-container > .remember-container > p {
    color: #707070;
  }

  .reset-container > a {
    color: var(--primary);
  }

  .reset-container > .remember-container > p,
  .reset-container > a {
    font-size: 14px;
    font-family: 'Roboto', sans-serif;
    font-weight: 400;
  }

  button:hover {
    background: var(--dark-blue);
  }

  .right-container {
    width: 100%;
    background: var(--secondary);
    display: grid;
  }

  .text-container {
    place-self: center;
    padding: 0 100px;
    display: flex;
    flex-direction: column-reverse;
  }

  h1.text-heading {
    color: var(--secondary);
    font-family: "Montserrat", sans-serif;
    font-weight: 600;
    font-size: 50px;
    opacity: 0.7;
    margin-bottom: 20px;
    display: none;
  }

  .blue-text {
    background: var(--primary);
  }

  .text-container > p {
    color: var(--secondary);
    font-family: "Roboto", sans-serif;
    font-weight: 400;
    font-size: 18px;
    opacity: 0.5;
    display: none;
  }

  .login-link {
    margin-top: 50px;
    color: var(--text);
    font-family: "Roboto", sans-serif;
  }

  .login-link a {
    color: var(--primary);
  }

  input[type="search"]::-webkit-search-cancel-button {
    -webkit-appearance: none;
    appearance: none;
    display: none;
  }

  .material-symbols-outlined {
    font-variation-settings: "FILL" 0, "wght" 300, "GRAD" 0, "opsz" 24;
    color: #95969a;
  }

  .input-container > input::placeholder {
    color: #95969a;
    font-size: 14px;
  }
}

/*########## Desktop ##########*/
@media (min-width: 1024px) {
  main {
    display: flex;
    flex-direction: row;
  }

  .form-container {
    display: grid;
    width: 50%;
  }

  #form {
    place-self: center;
    padding: 44px 0;
  }

  #form h3 {
    font-size: 24px;
    font-weight: 600;
    font-family: "Montserrat", sans-serif;
    color: var(--text);
    margin: 24px 0;
  }

  .input-container {
    display: flex;
    align-items: center;
    gap: 8px;
    border: 2px solid #e2e4e9;
    border-radius: 15px;
    background: #f0f3f7;
    width: 300px;
    margin: 0 0 16px 0px;
    transition: 200ms ease all;
  }

  .input-container:hover {
    box-shadow: 0 0 0 3px rgba(26, 43, 195, 0.2);
  }

  #input-icon {
    border: none;
    padding: 10px;
    background: #f0f3f7;
    border-radius: 15px;
    cursor: pointer;
  }

  .input {
    padding: 10px 16px;
    border: none;
    border-left: 1px solid #e2e4e9;
    background: #f0f3f7;
    outline: none;
  }

  .input-container:focus-within {
    border-color: #1a2bc3;
    box-shadow: 0 0 0 3px rgba(26, 43, 195, 0.2);
    background: #f0f3f7;
  }

  .input-container.focused {
    border-color: #1a2bc3;
    box-shadow: 0 0 0 3px rgba(26, 43, 195, 0.2);
    background: #f0f3f7;
  }

  button {
    padding: 18px 0;
    border: none;
    color: var(--secondary);
    background: var(--primary);
    font-family: "Roboto", sans-serif;
    font-weight: 400;
    border-radius: 15px;
    width: 100%;
    margin-top: 20px;
    outline: none;
  }

  button:hover {
    background: var(--dark-blue);
  }

  .right-container {
    width: 50%;
    background: var(--dark-blue);
    display: grid;
    height: 100vh;
  }

  .text-container {
    place-self: center;
    padding: 0 100px;
    display: flex;
    flex-direction: column;
  }

  h1.text-heading {
    color: var(--secondary);
    font-family: "Montserrat", sans-serif;
    font-weight: 600;
    font-size: 50px;
    opacity: 0.7;
    margin-bottom: 20px;
    display: block;
  }

  .blue-text {
    background: var(--primary);
  }

  .text-container p {
    color: var(--secondary);
    font-family: "Roboto", sans-serif;
    font-weight: 400;
    font-size: 18px;
    opacity: 0.5;
    display: block;
  }

  .login-link {
    margin-top: 50px;
    color: var(--light-grey);
    font-family: "Roboto", sans-serif;
  }

  .login-link a {
    color: var(--secondary);
    background: var(--primary);
  }

  input[type="search"]::-webkit-search-cancel-button {
    -webkit-appearance: none;
    appearance: none;
    display: none;
  }

  .material-symbols-outlined {
    font-variation-settings: "FILL" 0, "wght" 300, "GRAD" 0, "opsz" 24;
    color: #95969a;
  }

  .input-container > input::placeholder {
    color: #95969a;
    font-size: 14px;
  }
}
