.auth-new-page {
    display: flex;
    min-height: 100vh;
    background: #fff;
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    margin: -24px -24px -48px -24px; /* Compensate .container margins and padding */
}

.auth-new-page * {
    font-weight: inherit;
}

.auth-new-full-width {
    max-width: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

body.auth-new-body {
    padding-top: 0 !important;
    overflow-x: hidden;
}

.auth-new-left {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 40px;
    position: relative;
    width: 50%;
}

.auth-new-right {
    flex: 1;
    width: 50%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.auth-new-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: #1d1d1f;
    font-weight: 500;
    font-size: 18px;
    margin-bottom: auto;
}

.auth-new-logo img {
    width: 32px;
    height: 32px;
}

.auth-new-container {
    width: 100%;
    max-width: 400px;
    margin: auto;
    padding-bottom: 100px;
}

.auth-new-container h1 {
    font-size: 32px;
    font-weight: 400;
    text-align: center;
    margin-bottom: 8px;
    color: #1d1d1f;
}

.auth-new-subtitle {
    text-align: center;
    color: #86868b;
    font-size: 14px;
    margin-bottom: 40px;
}

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

.auth-new-field {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.auth-new-field label {
    font-size: 14px;
    color: #1d1d1f;
    font-weight: 500;
}

.auth-new-field input,
.auth-new-field select {
    padding: 12px 16px;
    border: 1px solid #d2d2d7;
    border-radius: 8px;
    font-size: 16px;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
    font-family: inherit;
}

.auth-new-field input:focus,
.auth-new-field select:focus {
    border-color: #0071e3;
    box-shadow: 0 0 0 4px rgba(0, 113, 227, 0.1);
}

.auth-new-submit {
    margin-top: 20px;
    padding: 14px;
    background: #0071e3;
    color: #fff;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: opacity 0.2s;
}

.auth-new-submit:hover {
    opacity: 0.9;
}

.auth-new-social {
    margin-top: 40px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.auth-new-social-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 12px;
    background: #f5f5f7;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    color: #1d1d1f;
    text-decoration: none;
    transition: background 0.2s;
}

.auth-new-social-btn:hover {
    background: #e8e8ed;
}

.auth-new-social-btn img {
    width: 20px;
    height: 20px;
}

.auth-new-footer {
    margin-top: 30px;
    text-align: center;
    font-size: 14px;
    color: #86868b;
}

.auth-new-footer a {
    color: #0071e3;
    text-decoration: none;
}

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

.flash {
    padding: 12px 16px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-size: 14px;
}

.flash-error {
    background: #fff2f2;
    color: #d70015;
    border: 1px solid #ffb3b3;
}

.flash-success {
    background: #f2fff2;
    color: #1d883d;
    border: 1px solid #b3ffb3;
}

@media (max-width: 992px) {
    .auth-new-right {
        display: none;
    }
    .auth-new-left {
        width: 100%;
        max-width: 100%;
    }
}
