:root {
    --primary-purple: #6a0dad;
    --purple-dark: #4b0082;
    --purple-light: #9b59b6;
    --white: #ffffff;
    --gray-light: #f5f5f5;
    --gray-medium: #e0e0e0;
    --gray-dark: #757575;
    --black: #333333;
    --error: #e74c3c;
    --success: #2ecc71;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: var(--white);
    color: var(--black);
}

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

.auth-card {
    flex: 1;
    max-width: 500px;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.auth-header {
    margin-bottom: 30px;
    text-align: center;
}

.auth-header h2 {
    font-size: 2rem;
    color: var(--primary-purple);
    margin-bottom: 10px;
}

.auth-header p {
    color: var(--gray-dark);
}

.auth-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-weight: 600;
    color: var(--black);
}

.form-group input {
    padding: 12px 15px;
    border: 1px solid var(--gray-medium);
    border-radius: 6px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus {
    outline: none;
    border-color: var(--primary-purple);
    box-shadow: 0 0 0 2px rgba(106, 13, 173, 0.2);
}

.password-input {
    position: relative;
}

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

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

.forgot-password {
    text-align: right;
    margin-top: 5px;
}

.forgot-password a {
    color: var(--primary-purple);
    text-decoration: none;
    font-size: 0.9rem;
}

.forgot-password a:hover {
    text-decoration: underline;
}

.checkbox-group {
    flex-direction: row;
    align-items: center;
    gap: 10px;
}

.checkbox-group input {
    width: auto;
}

.checkbox-group label {
    font-weight: normal;
}

.auth-btn {
    background-color: var(--primary-purple);
    color: var(--white);
    padding: 12px;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.auth-btn:hover {
    background-color: var(--purple-dark);
}

.auth-footer {
    margin-top: 30px;
    text-align: center;
}

.auth-footer p {
    color: var(--gray-dark);
}

.auth-footer a {
    color: var(--primary-purple);
    text-decoration: none;
    font-weight: 600;
}

.auth-footer a:hover {
    text-decoration: underline;
}

.social-auth {
    margin-top: 20px;
}

.social-auth p {
    margin-bottom: 15px;
    position: relative;
}

.social-auth p::before,
.social-auth p::after {
    content: "";
    position: absolute;
    top: 50%;
    width: 30%;
    height: 1px;
    background-color: var(--gray-medium);
}

.social-auth p::before {
    left: 0;
}

.social-auth p::after {
    right: 0;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--gray-light);
    color: var(--primary-purple);
    transition: all 0.3s ease;
}

.social-icon:hover {
    background-color: var(--primary-purple);
    color: var(--white);
}

.auth-image {
    flex: 1;
    background: url('https://images.unsplash.com/photo-1521791136064-7986c2920216?ixlib=rb-1.2.1&auto=format&fit=crop&w=1350&q=80') no-repeat center center;
    background-size: cover;
    position: relative;
    display: none;
}

.image-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 40px;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
    color: var(--white);
}

.image-overlay h2 {
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.image-overlay p {
    opacity: 0.9;
}

@media (min-width: 992px) {
    .auth-image {
        display: block;
    }
}