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

/* Body and container styles */
body {
    background: linear-gradient(to right, #061a3a, #f0795a); /* Gradient from red to white */
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    overflow: hidden;
}

.container {
    width: 100%;
    max-width: 400px;
    background: linear-gradient(to right, #f0795a, #061a3a); 
    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: #fff;
    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: #e16f46;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

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

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

button.switch-btn:hover {
    background-color: #e16f46;
    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;
}
