/* Reset styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

/* Body and container styles */
body {
    background-color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    overflow: hidden;
}

.container {
    width: 100%;
    max-width: 400px;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    position: relative;
}

/* Forms container styles */
.forms-container {
    display: flex;
    transition: transform 0.5s ease;
}

.form-container {
    padding: 40px;
    width: 100%;
    transition: transform 0.5s ease;
}

h2 {
    text-align: center;
    color: #ffa801;
    margin-bottom: 30px;
}

/* Input fields and buttons */
input[type="email"],
input[type="password"],
input[type="text"] {
    width: 200%;
    padding: 12px;
    margin: 10px 0;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 16px;
}

button.btn {
    width: 200%;
    padding: 12px;
    background-color: #ffa801;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

button.btn:hover {
    background-color: #40b9eb;
}

/* Switch button style */
button.switch-btn {
    margin-top: 15px;
    background-color: #fff;
    color: #ffa801;
    border: 1px solid #ffa801;
    font-size: 14px;
}

button.switch-btn:hover {
    background-color: #40b9eb;
    color: white;
}

/* Animations */
.signup-container {
    transform: translateX(0);
    opacity: 0;
    pointer-events: none;
}

.signup-container.active {
    transform: translateX(100%);
    opacity: 1;
    pointer-events: auto;
}

.login-container {
    transform: translateX(0);
    opacity: 1;
    pointer-events: auto;
}

.login-container.hidden {
    transform: translateX(-100%);
    opacity: 0;
    pointer-events: none;
}
