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

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Montserrat', sans-serif;
}

body {
    background-color: #de8bfc;
    background: linear-gradient(to right, #e2e2e2, #ce96fe);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    height: 100vh;
}

    /* Container */
    .container {
        background-color: #fff;
        border-radius: 30px;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.35);
        position: relative;
        overflow: hidden;
        width: 900px;
        max-width: 100%;
        min-height: 1000px;
        display: flex;
        flex-direction: row;
    }

    /* Form Styling */
    .container form {
        background-color: #fff;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-direction: column;
        padding: 0 40px;
        height: 100%;
        text-align: center;
        flex-grow: 1;  /* Allow the form to grow */

    }

.container input {
    background: linear-gradient(to right,#fc68ff0c, #8dfff91b );
    border: none;
    margin: 8px 0;
    padding: 10px 15px;
    font-size: 13px;
    border-radius: 8px;
    width: 100%;
    outline: none;
}

.container button {
    /* background: radial-gradient(circle, #8176ff, #81adff); */
    background:  #8176ff;
    color: #fff;
    font-size: 12px;
    padding: 10px 45px;
    border: 1px solid transparent;
    border-radius: 8px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-top: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.container button:hover {
    background: #e6a2ff;
}

.container span {
    font-size: 12px;
    color: #333;
}

.container a {
    color: #847de4;
    font-size: 15px;
    text-decoration: none;
    margin: 15px 0 10px;
}

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

/* Toggle Container Styling */
.toggle-container {
    position: absolute;
    top: 0;
    left: 50%;
    width: 50%;
    height: 100%;
    overflow: hidden;
    transition: all 0.6s ease-in-out;
    border-radius: 150px 0 0 100px;
    z-index: 1000;
}

.container.active .toggle-container {
    transform: translateX(-100%);
    border-radius: 0 150px 100px 0;
}

.toggle {
    background-color: #bd70fb;
    height: 120%;
    background: linear-gradient(to bottom, #56cfff, #f4b5eb);
    color: #fff;
    position: relative;
    left: -100%;
    height: 100%;
    width: 200%;
    transform: translateX(0);
    transition: all 0.6s ease-in-out;
}

.container.active .toggle {
    transform: translateX(50%);
}

.toggle-panel {
    position: absolute;
    width: 50%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 0 30px;
    text-align: center;
    top: 0;
    transform: translateX(0);
    transition: all 0.6s ease-in-out;
}

.toggle-panel h1 {
    font-size: 24px;
    margin-bottom: 10px;
    color: #fff;
}

.toggle-panel p {
    font-size: 14px;
    color: #fff;
}

.toggle-left {
    transform: translateX(-200%);
}

.container.active .toggle-left {
    transform: translateX(0);
}

.toggle-right {
    right: 0;
    transform: translateX(0);
}

.container.active .toggle-right {
    transform: translateX(200%);
}



/* Sign-In and Sign-Up Panels */
.form-container {
    position: absolute;
    top: 0;
    height: 100%;
    transition: all 0.6s ease-in-out;
    width: 50%;
}
.form-container h1 {
    font-size: 1.4rem;  /* For the heading */
}

.sign-in {
    left: 0;
    z-index: 2;
}

.container.active .sign-in {
    transform: translateX(100%);
}

.sign-up {
    left: 0;
    opacity: 1;
    z-index: 5;
}

.container.active .sign-up {
    transform: translateX(100%);
    opacity: 1;
    z-index: 5;
    animation: move 0.6s;
}

@keyframes move {
    0%, 49.99% {
        opacity: 0;
        z-index: 1;
    }
    50%, 100% {
        opacity: 1;
        z-index: 5;
    }
}
/* Reset any default padding or margin */
body, html {
    margin: 0;
    padding: 0;
    background: linear-gradient(to right, #c9d6ff, #e2e2e2);
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100vh;
}

/* Ensure the container starts at the center without extra spacing above */
.container {
    margin: 0;
    padding: 0;
    background-color: #fff;
    border-radius: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.35);
    width: 768px;
    max-width: 100%;
    min-height: 480px;
    position: relative;
}

/* Hide the navbar for login/signup pages */
.navbar {
    display: none; /* Hide navbar specifically for login/signup */
}

/* Common Styles for Reset Pages */
.reset-container {
    margin: 20px auto;
    padding: 20px;
    background-color: hsl(216, 26%, 96%);
    border-radius: 10px;
    max-width: 600px;
    text-align: center;
}

.reset-container h1 {
    font-size: 28px;
    color: #2d4059; /* Change heading color */
    margin-bottom: 15px;
}

.reset-container p {
    font-size: 14px;
    color: #333;
    margin-bottom: 20px;
}

.reset-container form {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.reset-container input {
    background-color: #f7f9fc;
    border: 1px solid #ccc;
    margin: 10px 0;
    padding: 10px 15px;
    font-size: 14px;
    border-radius: 8px;
    width: 100%;
    outline: none;
    transition: border-color 0.3s ease;
}

.reset-container input:focus {
    border-color: #2da0a8;
}

.reset-container button {
    background-color: #2da0a8;
    color: #fff;
    font-size: 14px;
    padding: 10px 30px;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
    margin-top: 10px;
}

.reset-container button:hover {
    background-color: #007a80;
}

.reset-container a {
    color: #2da0a8;
    font-size: 14px;
    text-decoration: none;
    margin-top: 15px;
    display: inline-block;
}

.reset-container a:hover {
    text-decoration: underline;
}

/* Specific Styles for Each Reset Page */
.password-reset {
    background-color: #e3fdfd;
}

.password-reset-done {
    background-color: #fdf3e3;
}

.password-reset-confirm {
    background-color: #f9e3fd;
}

.password-reset-complete {
    background-color: #e3fbe3;
}
.custom-reset-container {
    margin: 20px auto;
    padding: 20px;
    background-color: #fff;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    border-radius: 10px;
    max-width: 600px;
    text-align: center;
}
