```css
:root {
    --primary-color: #c89a4b;      /* Your specified gold color */
    --secondary-color: #d6ad65;    /* Lighter gold */
    --accent-color: #b18639;       /* Slightly darker gold for accents */
    --accent-hover: #96722f;       /* Darker gold for hover states */
    --dark-shade: #8c683a;         /* Dark shade complement */
    --dark-text: #594a2d;          /* Dark brown text color */
    --light-text: #ffffff;         /* Light text color */
    --cream-bg: #f9f6ee;           /* Cream background */
    --cream-light: #fffdf7;        /* Lighter cream for backgrounds */
    --cream-medium: #f5f0e1;       /* Medium cream for inputs */
    --gray-dark: #7d6b48;          /* Muted gold for secondary text */
    --box-shadow: 0 5px 15px rgba(200, 154, 75, 0.15);  /* Gold-tinted shadow */
    --error-color: #c75146;        /* Muted red for error messages */
}

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;500;600;700&family=Montserrat:wght@300;400;500;600&display=swap');

* {
    font-family: 'Montserrat', sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    height: 100vh;
    overflow: hidden;
    background-color: var(--cream-bg);
}

.container {
    position: relative;
    min-height: 100vh;
    overflow: hidden;
}

.row {
    display: flex;
    flex-wrap: wrap;
    height: 100vh;
}

.col {
    width: 50%;
}

.align-items-center {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.form-wrapper {
    width: 100%;
    max-width: 28rem;
}

.form {
    padding: 2.5rem;
    background-color: var(--cream-light);
    border-radius: 0.75rem;
    width: 100%;
    box-shadow: var(--box-shadow);
    transform: scale(0);
    transition: 0.5s ease-in-out;
    transition-delay: 1s;
    border: 1px solid rgba(195, 162, 93, 0.2);
}

.input-group {
    position: relative;
    width: 100%;
    margin: 1.2rem 0;
}

.input-group i {
    position: absolute;
    top: 50%;
    left: 1rem;
    transform: translateY(-50%);
    font-size: 1.2rem;
    color: var(--gray-dark);
    transition: color 0.3s ease;
}

.input-group input {
    width: 100%;
    padding: 1rem 3rem;
    font-size: 1rem;
    background-color: var(--cream-medium);
    border-radius: 0.5rem;
    border: 1px solid rgba(195, 162, 93, 0.3);
    outline: none;
    transition: all 0.3s ease;
    color: var(--dark-text);
}

.input-group input:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(195, 162, 93, 0.2);
}

.input-group input:focus + i {
    color: var(--accent-color);
}

.form button {
    cursor: pointer;
    width: 100%;
    padding: 0.8rem 0;
    border-radius: 0.5rem;
    border: none;
    background: linear-gradient(135deg, #9E6C2F, #E4C37B);
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    outline: none;
    transition: all 0.3s ease;
    margin-top: 1rem;
    box-shadow: 0 2px 5px rgba(140, 104, 58, 0.25);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.form button:hover {
    background: linear-gradient(135deg, #d6ad65, #c89a4b);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(140, 104, 58, 0.35);
}

.form button:active {
    transform: translateY(0);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.form p {
    margin: 1.2rem 0;
    font-size: 0.85rem;
    color: var(--gray-dark);
}

.form b {
    color: var(--accent-color);
    transition: color 0.3s ease;
    font-weight: 600;
}

.form b:hover {
    color: var(--accent-hover);
    text-decoration: underline;
}

.flex-col {
    flex-direction: column;
}

.pointer {
    cursor: pointer;
}

.container.sign-in .form.sign-in,
.container.sign-up .form.sign-up {
    transform: scale(1);
}

.content-row {
    position: absolute;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 6;
    width: 100%;
}

.text {
    margin: 4rem;
    color: var(--light-text);
}

.text h2 {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    font-weight: 700;
    margin: 2rem 0;
    transition: 1s ease-in-out;
    letter-spacing: 1px;
    text-shadow: 0px 2px 4px rgba(0, 0, 0, 0.1);
}

.text p {
    font-weight: 500;
    font-size: 1.2rem;
    transition: 1s ease-in-out;
    transition-delay: 0.2s;
    opacity: 0.9;
}

.text.sign-in h2,
.text.sign-in p,
.img.sign-in img {
    transform: translateX(-250%);
}

.text.sign-up h2,
.text.sign-up p,
.img.sign-up img {
    transform: translateX(250%);
}

.container.sign-in .text.sign-in h2,
.container.sign-in .text.sign-in p,
.container.sign-in .img.sign-in img,
.container.sign-up .text.sign-up h2,
.container.sign-up .text.sign-up p,
.container.sign-up .img.sign-up img {
    transform: translateX(0);
}

/* Background styling */
.container::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    height: 100vh;
    width: 300vw;
    transform: translate(35%, 0);
    background-image: linear-gradient(145deg, #E4C37B,  #9E6C2F);
    transition: 1s ease-in-out;
    z-index: 6;
    box-shadow: rgba(140, 104, 58, 0.3) 0px 5px 15px;
    border-bottom-right-radius: max(50vw, 50vh);
    border-top-left-radius: max(50vw, 50vh);
}

.container.sign-in::before {
    transform: translate(0, 0);
    right: 50%;
}

.container.sign-up::before {
    transform: translate(100%, 0);
    right: 50%;
}

/* Error message styling */
.text-danger {
    color: var(--error-color);
    font-size: 0.8rem;
    margin-bottom: 1rem;
    text-align: left;
    padding-left: 0.5rem;
}

.text-danger p {
    margin: 0.3rem 0;
}

/* Responsive styles */
@media only screen and (max-width: 768px) {
    .container::before {
        height: 100vh;
        border-bottom-right-radius: 0;
        border-top-left-radius: 0;
        z-index: 0;
        transform: none;
        right: 0;
    }

    .col {
        width: 100%;
        position: absolute;
        padding: 2rem;
        background-color: var(--cream-light);
        border-top-left-radius: 2rem;
        border-top-right-radius: 2rem;
        transform: translateY(100%);
        transition: 1s ease-in-out;
    }

    .container.sign-in .col.sign-in,
    .container.sign-up .col.sign-up {
        transform: translateY(0);
    }

    .content-row {
        align-items: flex-start !important;
    }

    .content-row .col {
        transform: translateY(0);
        background-color: unset;
    }

    .row {
        align-items: flex-end;
        justify-content: flex-end;
    }

    .form {
        box-shadow: none;
        padding: 1.5rem 0;
    }

    .text {
        margin: 1rem;
    }

    .text h2 {
        margin: 0.5rem;
        font-size: 2rem;
    }
}

/* For very small screens */
@media only screen and (max-width: 425px) {
    .form-wrapper {
        max-width: 100%;
    }
    
    .form {
        padding: 1.5rem 1rem;
    }
    
    .text h2 {
        font-size: 1.8rem;
    }
}
.logo {
  max-width: 150px;
  height: auto;
  display: block;
  margin: 0 auto;
}
.form.verify-otp {
      opacity: 0;
      transform: translateY(20px) scale(0.95);
      transition: transform 0.5s ease, opacity 0.5s ease;
    }

    .form.verify-otp.animate-in {
      opacity: 1;
      transform: translateY(0) scale(1);
    }

    .input-group {
      opacity: 0;
      transform: translateY(10px);
      animation: fadeInUp 0.5s forwards;
      animation-delay: calc(0.1s * var(--i, 1));
    }

    .form button {
      opacity: 0;
      transform: translateY(10px);
      animation: fadeInUp 0.5s forwards;
      animation-delay: 0.3s;
      color: black !important;
    }

    .form p {
      opacity: 0;
      animation: fadeIn 0.5s forwards;
      animation-delay: 0.4s;
    }

    @keyframes fadeInUp {
      from {
        opacity: 0;
        transform: translateY(10px);
      }
      to {
        opacity: 1;
        transform: translateY(0);
      }
    }

    @keyframes fadeIn {
      from {
        opacity: 0;
      }
      to {
        opacity: 1;
      }
    }

    .logo {
      animation: fadeIn 1s forwards;
      max-width: 120px;
      margin-bottom: 15px;
    }

    .text {
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      text-align: center;
    }

    .form.verify-otp {
      width: 100%;
      padding: 30px 35px;
    }

    .resend-btn {
      background: none;
      border: none;
      color: black;
      cursor: pointer;
      text-decoration: underline;
      padding: 0;
      font: inherit;
    }