:root {
    --primary-color: #4a6cf7;
    --secondary-color: #6c757d;
    --success-color: #28a745;
    --danger-color: #dc3545;
    --warning-color: #ffc107;
    --info-color: #17a2b8;
    --light-color: #f8f9fa;
    --dark-color: #343a40;
    --white-color: #ffffff;
    --body-bg: #f8f9fa;
    --card-bg: #ffffff;
    --card-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
    --google-color: #DB4437;
    --facebook-color: #3b5998;
    --twitter-color: #1DA1F2;
}

.auth-container {
    display: flex;
    min-height: 100vh;
    width: 100%;
    background-color: var(--body-bg);
}

.auth-card {
    display: flex;
    flex-direction: column;
    width: 50%;
    padding: 3rem;
    background-color: var(--card-bg);
    z-index: 10;
}

.auth-background {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50%;
    background: linear-gradient(135deg, #4a6cf7 0%, #1a3fd9 100%);
    position: relative;
    overflow: hidden;
}

.auth-image {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: var(--white-color);
    z-index: 10;
    max-width: 80%;
    text-align: center;
}

.auth-image img {
    max-width: 100%;
    margin-bottom: 2rem;
}

.auth-image h3 {
    font-size: 1.75rem;
    margin: 0;
}

.auth-logo {
    display: block;
    margin-bottom: 2rem;
}

.auth-logo img {
    max-height: 60px;
    max-width: 200px;
}

.auth-header {
    margin-bottom: 2rem;
}

.auth-header h2 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--dark-color);
}

.auth-header p {
    font-size: 1rem;
    color: var(--secondary-color);
    margin-bottom: 0;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--dark-color);
}

.input-with-icon {
    position: relative;
}

.input-with-icon input {
    width: 100%;
    padding: 0.75rem 1rem 0.75rem 3rem;
    border: 1px solid #e0e0e0;
    border-radius: 0.375rem;
    font-size: 1rem;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.input-with-icon input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(74, 108, 247, 0.25);
}

.input-with-icon .icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--secondary-color);
}

.form-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.toggle-switch {
    display: flex;
    align-items: center;
    cursor: pointer;
}

.toggle-input {
    display: none;
}

.toggle-slider {
    position: relative;
    display: inline-block;
    width: 36px;
    height: 18px;
    background-color: #e0e0e0;
    border-radius: 9px;
    margin-right: 0.5rem;
    transition: background-color 0.2s;
}

.toggle-slider:before {
    position: absolute;
    content: "";
    height: 14px;
    width: 14px;
    left: 2px;
    bottom: 2px;
    background-color: white;
    border-radius: 50%;
    transition: transform 0.2s;
}

.toggle-input:checked+.toggle-slider {
    background-color: var(--primary-color);
}

.toggle-input:checked+.toggle-slider:before {
    transform: translateX(18px);
}

.toggle-label {
    font-size: 0.875rem;
    color: var(--secondary-color);
}

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

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

.btn {
    display: inline-block;
    font-weight: 500;
    text-align: center;
    vertical-align: middle;
    user-select: none;
    border: 1px solid transparent;
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    line-height: 1.5;
    border-radius: 0.375rem;
    transition: all 0.15s ease-in-out;
    cursor: pointer;
}

.btn-block {
    display: block;
    width: 100%;
}

.btn-primary {
    color: #fff;
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-primary:hover {
    background-color: #3a5ad9;
    border-color: #3a5ad9;
}

.social-divider {
    display: flex;
    align-items: center;
    margin: 1.5rem 0;
    color: var(--secondary-color);
}

.social-divider:before,
.social-divider:after {
    content: "";
    flex: 1;
    border-bottom: 1px solid #e0e0e0;
}

.social-divider span {
    margin: 0 10px;
    font-size: 0.875rem;
    text-transform: uppercase;
}

.social-login {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.btn-social {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 500;
}

.btn-social svg {
    margin-right: 0.75rem;
    fill: #fff;
}

.btn-google {
    background-color: var(--google-color);
    border-color: var(--google-color);
}

.btn-google:hover {
    background-color: #c23321;
    border-color: #c23321;
}

.btn-facebook {
    background-color: var(--facebook-color);
    border-color: var(--facebook-color);
}

.btn-facebook:hover {
    background-color: #2d4373;
    border-color: #2d4373;
}

.btn-twitter {
    background-color: var(--twitter-color);
    border-color: var(--twitter-color);
}

.btn-twitter:hover {
    background-color: #0c85d0;
    border-color: #0c85d0;
}

.auth-footer {
    margin-top: 2rem;
    text-align: center;
}

.auth-footer p {
    font-size: 0.875rem;
    color: var(--secondary-color);
}

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

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

.bg-shape {
    position: absolute;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
}

.shape-1 {
    width: 200px;
    height: 200px;
    top: -100px;
    right: -50px;
}

.shape-2 {
    width: 150px;
    height: 150px;
    bottom: 50px;
    right: -75px;
}

.shape-3 {
    width: 300px;
    height: 300px;
    bottom: -150px;
    left: -100px;
}

.shape-4 {
    width: 100px;
    height: 100px;
    top: 50%;
    left: 50px;
}

.shape-5 {
    width: 50px;
    height: 50px;
    top: 20%;
    left: 30%;
}

/* Responsive styles */
@media (max-width: 992px) {
    .auth-container {
        flex-direction: column-reverse;
    }

    .auth-card,
    .auth-background {
        width: 100%;
    }

    .auth-background {
        min-height: 300px;
        display: none;
    }

    .auth-card {
        padding: 2rem;
    }
}

@media (max-width: 576px) {
    .form-footer {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
}

