/* --- Auth Page Styles (Login/Register) --- */
@import url('https://fonts.googleapis.com/css2?family=Hind+Siliguri:wght@300;400;500;600;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Hind Siliguri', sans-serif;
}

body {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    background: #e0e5ec; /* Neomorphism background */
    color: #3a4a63; /* Neomorphism text color */
}

.container {
    position: relative;
    width: 750px;
    height: 500px;
    background: #fff;
    border-radius: 20px;
    box-shadow: 10px 10px 20px #c1c9d2, -10px -10px 20px #ffffff;
    overflow: hidden;
}

.form-box {
    position: absolute;
    top: 0;
    width: 50%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 40px;
    transition: all 0.6s ease-in-out;
}

.sign-in { left: 0; z-index: 2; }
.sign-up { left: 0; z-index: 1; opacity: 0; }

.container.active .sign-in { transform: translateX(100%); opacity: 0; }
.container.active .sign-up { transform: translateX(100%); opacity: 1; z-index: 5; animation: show 0.6s; }
@keyframes show { 0%, 50% { opacity: 0; transform: translateX(100%); } 100% { opacity: 1; transform: translateX(100%); } }

.form-box h1 { font-size: 2rem; margin-bottom: 10px; }
.social-icons { margin: 15px 0; }
.social-icons a { border: 1px solid #ccc; border-radius: 50%; display: inline-flex; justify-content: center; align-items: center; margin: 0 5px; height: 40px; width: 40px; text-decoration: none; color: #333; }
.form-box span { font-size: 12px; }
.form-box input {
    width: 100%;
    padding: 10px;
    margin: 8px 0;
    background-color: #eee;
    border: none;
    border-radius: 8px;
    outline: none;
}
.form-box a.forgot { font-size: 12px; text-decoration: none; color: #555; }
.form-box button {
    width: 100%;
    margin-top: 15px;
    padding: 10px 45px;
    background-color: var(--primary-color, #00aaff);
    color: #fff;
    font-size: 14px;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.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: var(--primary-color, #00aaff);
    height: 100%;
    color: #fff;
    position: relative;
    left: -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-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%); }
.toggle-panel button {
    background-color: transparent;
    border: 2px solid #fff;
    color: #fff;
    padding: 10px 45px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-top: 10px;
}

/* Error messages */
.error-message { color: #e74c3c; font-size: 0.8em; text-align: left; width: 100%; }
.success-message { color: #2ecc71; font-size: 0.9em; margin-bottom: 10px; }