* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background-color: #ffffff;
    height: 100vh;
    display: flex;
    flex-direction: column;
    color: #1b1b18;
}

.container {
    display: flex;
    flex: 1;
    height: 100vh;
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
}

.left-section {
    flex: 1;
    background-color: #ffffff;
    padding-bottom: 60px;
    padding-left: 80px;
    padding-right: 80px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.logo img {
    height: 42px;
    width: auto;
    margin-bottom: 50px;
}

.welcome-heading {
    font-size: 32px;
    font-weight: 700;
    color: #1b1b18;
    margin-bottom: 16px;
    line-height: 1.2;
}

.subtitle {
    font-size: 16px;
    color: #706f6c;
    margin-bottom: 36px;
    line-height: 1.6;
}

.features {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.feature-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.feature-icon svg {
    width: 24px;
    height: 24px;
    color: #8B5CF6;
}

.feature-content h3 {
    font-size: 18px;
    font-weight: 600;
    color: #1b1b18;
    margin-bottom: 8px;
}

.feature-content p {
    font-size: 16px;
    color: #706f6c;
    line-height: 1.5;
}

.right-section {
    flex: 1;
    background-color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-left: 20px;
    padding-bottom: 20px;
    padding-right: 20px;
}

.auth-card {
    background-color: #ffffff;
    border-radius: 16px;
    padding: 48px;
    width: 100%;
    max-width: 448px;
    box-shadow: 0px 4px 6px -1px rgba(0, 0, 0, 0.1), 0px 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.auth-title {
    font-size: 32px;
    font-weight: 600;
    color: #1b1b18;
    margin-bottom: 8px;
}

.auth-subtitle {
    font-size: 16px;
    color: #706f6c;
    margin-bottom: 32px;
}

.form-group {
    margin-bottom: 24px;
}

.form-label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: #1b1b18;
    margin-bottom: 8px;
}

.form-input {
    width: 100%;
    padding: 12px 16px;
    font-size: 16px;
    border: 1px solid #e3e3e0;
    border-radius: 8px;
    background-color: #ffffff;
    color: #1b1b18;
    transition: border-color 0.2s;
}

.form-input:focus {
    outline: none;
    border-color: #8B5CF6;
}

.form-input:invalid:not(:placeholder-shown) {
    border-color: #F53003;
}

.form-input.error {
    border-color: #F53003;
}

.form-input::placeholder {
    color: #a1a09a;
}

.error-message {
    color: #F53003;
    font-size: 14px;
    margin-top: 4px;
    display: none;
}

.credential-error {
    color: #F53003;
    font-size: 15px;
    margin-bottom: 15px;
    margin-top: 0px;
    padding-top: 0px;
}

.error-message.show {
    display: block;
}

.input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.password-toggle {
    position: absolute;
    right: 12px;
    background-color: #E9E8E7;
    border: none;
    cursor: pointer;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6px;
    border-radius: 6px;
    transition: color 0.2s;
}

.password-toggle:hover {
    color: var(--primary-purple);
}

.password-toggle svg {
    width: 20px;
    height: 20px;
}

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 32px;
}

.checkbox-wrapper {
    display: flex;
    align-items: center;
    gap: 8px;
}

.checkbox-wrapper input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: #8B5CF6;
}

.checkbox-wrapper label {
    font-size: 14px;
    color: #1b1b18;
    cursor: pointer;
}

.forgot-password {
    font-size: 14px;
    color: #F53003;
    text-decoration: none;
    font-weight: 500;
}

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

.auth-button {
    width: 100%;
    padding: 14px 24px;
    background-color: #6d46c1;
    color: #ffffff;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: background-color 0.2s;
    margin-bottom: 24px;
}

.auth-button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    background-color: #6d46c1;
}

.auth-button:hover {
    background-color: #5a37a6;
}

.auth-button svg {
    width: 20px;
    height: 20px;
}

.auth-link {
    text-align: center;
    font-size: 14px;
    color: #706f6c;
}

.auth-link a {
    color: #6d46c1;
    text-decoration: none;
    font-weight: 500;
}

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

.footer {
    text-align: center;
    padding: 24px;
    color: #706f6c;
    font-size: 14px;
}

@media (max-width: 1024px) {
    .container {
        flex-direction: column;
    }

    .left-section {
        padding-top: 20px;
        padding-bottom: 40px;
        padding-left: 32px;
        padding-right: 32px;
    }

    .welcome-heading {
        font-size: 36px;
    }

    .right-section {
        padding: 32px;
    }

    .auth-card {
        padding: 32px;
    }
}

@media (max-width: 640px) {
    .left-section {
        padding: 32px 24px;
    }

    .logo {
        font-size: 24px;
        margin-bottom: 24px;
    }

    .welcome-heading {
        font-size: 28px;
    }

    .subtitle {
        font-size: 16px;
        margin-bottom: 40px;
    }

    .feature-content h3 {
        font-size: 16px;
    }

    .feature-content p {
        font-size: 14px;
    }

    .auth-card {
        padding: 24px;
    }

    .auth-title {
        font-size: 24px;
    }
}

.credential-error {
    background-color: #FFE9E5;
    border-radius: 8px;
    padding-top: 7px;
    padding-left: 8px;
    padding-bottom: 1px;
    color: #991B1B;
    display: none;
}

.credential-error.show {
    display: block;
}

.credential-error .error-title {
    font-weight: 600;
    font-size: 15px;
    margin-bottom: 4px;
}

.credential-error .error-text {
    font-size: 13px;
    color: #7F1D1D;
}