:root {
    --auth-primary: #76e82b;
    /* Vibrant Green */
    --auth-primary-dark: #63c924;
    --auth-secondary: #8c52ff;
    /* Purple */
    --auth-bg: #f0fdf4;
    --auth-text: #333;
}

.auth-page-wrapper {
    background: linear-gradient(135deg, #fceeff 0%, #f0ffe5 100%);
    min-height: calc(100vh - 150px);
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Outfit', sans-serif;
    padding: 60px 20px;
    margin: 0;
    box-sizing: border-box;
}

.auth-container {
    display: flex;
    background: #fff;
    border-radius: 30px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 1100px;
    overflow: hidden;
    min-height: 600px;
    margin: 0 auto;
}

/* Left Side - Form */
.auth-left {
    flex: 1;
    padding: 3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    background: #ffffff;
}

.auth-header {
    margin-bottom: 2rem;
    text-align: left;
}

.auth-logo {
    display: block;
    margin-bottom: 1rem;
    max-height: 50px;
}

.auth-title {
    font-size: 2rem;
    font-weight: 700;
    color: #2d2d2d;
    margin: 0;
}

.auth-subtitle {
    color: #666;
    margin-top: 0.5rem;
}

/* Form Styles */
.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #444;
}

.form-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.form-input-icon {
    position: absolute;
    left: 15px;
    color: #aaa;
    pointer-events: none;
}

.form-control {
    width: 100%;
    padding: 12px 15px 12px 50px !important;
    /* Space for icon */
    border: 2px solid #eef2f6;
    border-radius: 12px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: #f8fafc;
}

.form-control:focus {
    border-color: var(--auth-secondary);
    background: #fff;
    outline: none;
    box-shadow: 0 0 0 4px rgba(140, 82, 255, 0.1);
}

.btn-auth-primary {
    width: 100%;
    padding: 14px;
    background: var(--auth-primary);
    color: #fff;
    border: none;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #0d4600;
    /* Dark green text for contrast */
}

.btn-auth-primary:hover {
    background: var(--auth-primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(118, 232, 43, 0.3);
}

.btn-auth-google {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 12px;
    background: #fff;
    border: 2px solid #eef2f6;
    border-radius: 12px;
    color: #555;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
    margin-top: 1rem;
}

.btn-auth-google:hover {
    background: #f8fafc;
    border-color: #ddd;
}

.auth-divider {
    display: flex;
    align-items: center;
    margin: 1.5rem 0;
    color: #aaa;
    font-size: 0.9rem;
}

.auth-divider::before,
.auth-divider::after {
    content: "";
    flex: 1;
    height: 1px;
    background: #eee;
}

.auth-divider span {
    padding: 0 10px;
}

/* User Type Selector */
.user-type-selector {
    display: flex;
    gap: 15px;
    margin-bottom: 1.5rem;
}

.user-type-option {
    flex: 1;
    position: relative;
}

.user-type-input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

.user-type-label {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 15px;
    border: 2px solid #eef2f6;
    border-radius: 15px;
    background: #f9f9f9;
    cursor: pointer;
    transition: all 0.3s;
    color: #777;
    font-weight: 600;
}

.user-type-input:checked+.user-type-label {
    border-color: var(--auth-secondary);
    background: rgba(140, 82, 255, 0.1);
    color: var(--auth-secondary);
}

.user-type-icon {
    font-size: 1.5rem;
    margin-bottom: 5px;
}

/* Right Side - Illustration */
.auth-right {
    flex: 1.2;
    background: var(--auth-primary);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    border-top-right-radius: 30px;
    border-bottom-right-radius: 30px;
    background-image:
        radial-gradient(circle at 10% 20%, rgba(255, 255, 255, 0.2) 0%, transparent 20%),
        radial-gradient(circle at 90% 80%, rgba(255, 255, 255, 0.2) 0%, transparent 15%);
}

/* Doodle Pattern Overlay */
.auth-pattern-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.1;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='1'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.auth-illustration-img {
    max-width: 90%;
    height: auto;
    position: relative;
    z-index: 10;
    border-radius: 20px;
    /* Floating Animation */
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-20px);
    }

    100% {
        transform: translateY(0px);
    }
}

/* Responsive */
@media (max-width: 900px) {
    .auth-container {
        flex-direction: column-reverse;
        max-width: 500px;
    }

    .auth-right {
        min-height: 200px;
        border-radius: 30px 30px 0 0;
    }

    .auth-illustration-img {
        max-width: 60%;
        margin-top: -30px;
    }

    .auth-left {
        padding: 2rem;
    }

    .form-control {
        padding-left: 50px !important;
    }
}

@media (max-width: 480px) {
    .auth-page-wrapper {
        padding: 30px 12px;
    }

    .auth-container {
        border-radius: 20px;
    }

    .auth-left {
        padding: 1.5rem;
    }

    .auth-title {
        font-size: 1.6rem;
    }

    .auth-right {
        min-height: 140px;
        border-radius: 20px 20px 0 0;
    }

    .auth-illustration-img {
        max-width: 50%;
        margin-top: -20px;
    }

    .user-type-label {
        padding: 10px 8px;
        font-size: 0.85rem;
    }

    .user-type-icon {
        font-size: 1.25rem;
    }

    .form-control {
        font-size: 0.9rem;
        padding: 10px 12px 10px 44px !important;
    }

    .form-input-icon {
        left: 12px;
    }

    .btn-auth-primary {
        font-size: 1rem;
        padding: 12px;
    }
}