* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Segoe UI", sans-serif;
}

body {
    background: #f8f9fc;
}

/* LAYOUT */
.auth-container {
    display: flex;
    min-height: 100vh;
}

/* LEFT */
.auth-left {
    flex: 1;
    background: linear-gradient(135deg, #7c3aed, #6d28d9);
    color: #fff;
    padding: 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.auth-left h1 {
    font-size: 40px;
    margin-bottom: 12px;
}

.auth-left p {
    margin-bottom: 24px;
    line-height: 1.6;
}

.auth-left img {
    max-width: 380px;
}

/* RIGHT */
.auth-right {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
}

/* CARD */
.auth-card {
    background: #fff;
    padding: 40px;
    border-radius: 16px;
    width: 100%;
    max-width: 400px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    text-align: center;
}

.auth-card h2 {
    margin-bottom: 22px;
}

/* FORM */
.auth-card form {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.auth-card input {
    padding: 12px 14px;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
}

.auth-card input:focus {
    outline: none;
    border-color: #7c3aed;
}

/* LINKS */
.auth-links {
    text-align: right;
    font-size: 13px;
}

.auth-links a {
    color: #7c3aed;
    text-decoration: none;
}

/* BUTTON */
.auth-card button {
    padding: 12px;
    border: none;
    border-radius: 8px;
    background: linear-gradient(135deg, #7c3aed, #6d28d9);
    color: #fff;
    font-weight: 600;
    cursor: pointer;
}

.auth-card button:hover {
    opacity: 0.9;
}

/* SWITCH */
.switch-link {
    margin-top: 16px;
    font-size: 14px;
}

.switch-link a {
    color: #7c3aed;
    font-weight: 600;
    text-decoration: none;
}

/* MOBILE */
@media (max-width: 900px) {
    .auth-container {
        flex-direction: column;
    }

    .auth-left {
        text-align: center;
        align-items: center;
    }

    .auth-left img {
        width: 70%;
    }
}

.password-wrapper {
    position: relative;
}

.password-wrapper input {
    width: 100%;
    padding-right: 45px;
}

.toggle-password {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
}