/* Modern auth pages (login / register / forgot / reset password) */

.auth-modern {
    background: #eef0f5;
}

.auth-modern .auth-shell {
    min-height: 100vh;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 16px;
    box-sizing: border-box;
}

.auth-modern .auth-lang-switcher {
    position: fixed;
    top: 16px;
    right: 16px;
    z-index: 20;
}

.auth-modern .auth-lang-switcher select {
    font-size: 12px;
    padding: 4px 8px;
    height: auto;
    border-radius: 8px;
    border: 1px solid #e2e2ea;
    background: #fff;
    color: #555;
    box-shadow: none;
}

.auth-modern .auth-card {
    width: 100%;
    max-width: 440px;
    background: #fff;
    border: 1px solid #e7e8f0;
    border-radius: 16px;
    box-shadow: none;
    padding: 40px;
    box-sizing: border-box;
}

.auth-modern .auth-card--wide {
    max-width: 760px;
}

@media (max-width: 480px) {
    .auth-modern .auth-card {
        padding: 28px 20px;
    }
}

.auth-modern .auth-title {
    font-size: 28px;
    font-weight: 700;
    color: #1a1a2e;
    margin: 0 0 6px;
}

.auth-modern .auth-subtitle {
    font-size: 14px;
    color: #8a8a9a;
    margin: 0 0 28px;
}

.auth-modern label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #33333f;
    margin-bottom: 6px;
}

.auth-modern .form-group {
    margin-bottom: 18px;
}

.auth-modern .form-control,
.auth-modern input.form-control,
.auth-modern select.form-control {
    width: 100%;
    height: auto;
    padding: 11px 14px;
    font-size: 14px;
    color: #1a1a2e;
    background: #fff;
    border: 1px solid #e2e2ea;
    border-radius: 10px;
    box-shadow: none;
    transition: border-color .15s ease;
}

.auth-modern .form-control:focus {
    border-color: #4f46e5;
    outline: none;
    box-shadow: 0 0 0 3px rgba(79, 70, 229, .12);
}

.auth-modern .form-control::placeholder {
    color: #b3b3c0;
}

.auth-modern .password-field-wrap {
    position: relative;
}

.auth-modern .password-toggle {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    border: none;
    background: none;
    color: #9a9aab;
    cursor: pointer;
    padding: 4px;
    font-size: 15px;
    line-height: 1;
}

.auth-modern .password-toggle:hover {
    color: #4f46e5;
}

.auth-modern .auth-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 22px;
    font-size: 13px;
}

.auth-modern .auth-row label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin: 0;
    font-weight: 500;
    color: #55555f;
    cursor: pointer;
}

.auth-modern .auth-row input[type="checkbox"] {
    margin: 0;
}

.auth-modern .auth-row a,
.auth-modern a {
    color: #4f46e5;
    font-weight: 600;
    text-decoration: none;
}

.auth-modern .auth-row a:hover,
.auth-modern a:hover {
    text-decoration: underline;
}

.auth-modern .btn-primary,
.auth-modern .btn-login {
    display: block;
    width: 100%;
    padding: 12px 20px !important;
    font-size: 15px;
    font-weight: 600;
    color: #fff !important;
    background: #4f46e5;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: background .15s ease;
}

.auth-modern .btn-primary:hover,
.auth-modern .btn-login:hover {
    background: #423bd1;
}

.auth-modern .auth-footer {
    margin-top: 22px;
    text-align: center;
    font-size: 13px;
    color: #8a8a9a;
}

.auth-modern .help-block {
    color: #e3342f;
    font-size: 12px;
    margin-top: 4px;
    display: block;
}

.auth-modern .has-error .form-control {
    border-color: #e3342f;
}

/* Registration form: section headers */
.auth-modern fieldset {
    border: none;
    padding: 0;
    margin: 0 0 24px;
}

.auth-modern legend {
    font-size: 14px;
    font-weight: 700;
    color: #1a1a2e;
    border-bottom: 1px solid #eeeef3;
    padding-bottom: 8px;
    margin-bottom: 16px;
    width: 100%;
}

.auth-modern h3 {
    font-size: 16px;
    font-weight: 700;
    color: #1a1a2e;
    margin: 0 0 12px;
}

.auth-modern .input-group-addon {
    display: none;
}

.auth-modern .input-group {
    display: block;
    width: 100%;
}

/* Registration wizard (jquery.steps) overrides */
.auth-modern .wizard > .content {
    background: transparent !important;
    min-height: 0 !important;
    padding: 0 !important;
}

.auth-modern .wizard > .content > .body {
    padding: 0 !important;
}

.auth-modern .wizard > .steps {
    margin-bottom: 24px;
}

.auth-modern .wizard > .steps > ul > li {
    width: 33.33% !important;
}

.auth-modern .wizard > .steps a,
.auth-modern .wizard > .steps a:hover,
.auth-modern .wizard > .steps a:active {
    background: #f5f6fa;
    border-radius: 10px;
    margin: 0 4px;
    padding: 10px 6px;
    text-align: center;
    color: #8a8a9a;
    font-weight: 600;
    font-size: 13px;
}

.auth-modern .wizard > .steps .current a,
.auth-modern .wizard > .steps .current a:hover,
.auth-modern .wizard > .steps .current a:active {
    background: #4f46e5;
    color: #fff;
}

.auth-modern .wizard > .steps .number {
    display: none;
}

.auth-modern .wizard > .actions {
    margin-top: 24px;
}

.auth-modern .wizard > .actions > ul {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.auth-modern .wizard > .actions a {
    display: inline-block;
    padding: 10px 22px;
    font-size: 14px;
    font-weight: 600;
    color: #fff;
    background: #4f46e5;
    border-radius: 10px;
    cursor: pointer;
    text-decoration: none;
}

.auth-modern .wizard > .actions a:hover {
    background: #423bd1;
}

.auth-modern .wizard > .actions .disabled a {
    background: #eeeef3;
    color: #b3b3c0;
    pointer-events: none;
}
