/* B2B overrides on top of mav_test/css/new styles */

body.auth-page {
    display: flex !important;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    min-height: 100vh;
    padding: 30px;
}

body.auth-page .main-body {
    all: unset;
    display: flex;
    justify-content: center;
    width: 100%;
}

.messages {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem;
}

.message {
    border-left: 6px solid rgb(27, 91, 163);
    border-radius: 8px;
    background: rgb(248, 250, 254);
    padding: 0.75rem 1rem;
    margin-bottom: 0.5rem;
}

.message.error,
.message-danger {
    border-left-color: #dc2626;
    background: #fef2f2;
}

.message.success {
    border-left-color: #16a34a;
    background: #f0fdf4;
}

.table {
    width: 100%;
    border-collapse: collapse;
}

.table th,
.table td {
    padding: 0.75rem;
    border-bottom: 1px solid rgb(223, 228, 239);
    text-align: left;
}

.table th {
    color: rgb(153, 153, 153);
    font-weight: 500;
}

.btn,
button[type="submit"]:not(.enter-form__submit):not(.sidebar__menu-item) {
    color: rgb(255, 255, 255);
    border-radius: 6px;
    background: rgb(27, 91, 163);
    border: none;
    padding: 0.5rem 1rem;
    cursor: pointer;
    font-family: inherit;
    font-size: 14px;
    font-weight: 600;
}

.sidebar__logout-form {
    margin: 0;
    width: 100%;
}

button.sidebar__menu-item {
    width: 100%;
    box-sizing: border-box;
    background: transparent;
    border-top: none;
    border-right: none;
    border-bottom: none;
    font-family: inherit;
    text-align: left;
}

form p {
    margin-bottom: 0.75rem;
}

form label {
    display: block;
    margin-bottom: 0.25rem;
    font-weight: 500;
}

form input[type="text"]:not(.enter-form__input),
form input[type="password"]:not(.enter-form__input),
form input[type="email"]:not(.enter-form__input),
form input[type="search"]:not(.enter-form__input),
form select,
form textarea {
    padding: 0.5rem 0.75rem;
    border: 1px solid rgb(223, 228, 239);
    border-radius: 6px;
    width: 100%;
    max-width: 400px;
    font-family: inherit;
}

.lk__title {
    color: rgb(27, 91, 163);
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 1.5rem;
}
