/* Button & dropdown */
.nua-wrap {
    position: relative;
    display: inline-block
}

.nua-trigger {
    background: #0f172a;
    color: #fff;
    border: none;
    border-radius: 999px;
    padding: 8px 12px;
    cursor: pointer
}
label.nua-remember input[type="checkbox"] {
    margin: 0;
}
form#nua-form-login {
    margin: 0;
}
button.nua-submit.nua-btn {
    width: 100%;
    padding: 14px;
}

.nua-dropdown {
    position: absolute;
    right: 0;
    top: calc(100% + 8px);
    background: #fff;
    border-bottom-left-radius: 5px;
    border-bottom-right-radius: 5px;
    min-width: 260px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .08);
    padding: 12px;
    z-index: 9999;
    margin-top: 7px;
}

button.nua-logout {
    margin: 0;
    text-transform: none;
    font-weight: normal;
    min-height: auto;
    line-height: 1;
    padding-top: 10px;
    padding-bottom: 10px;
}

.nua-user {
    display: flex;
    gap: 10px;
    align-items: center;
    margin-bottom: 8px
}

.nua-menu {
    list-style: none;
    margin: 0;
    padding: 0
}

.nua-menu li {
    margin: 6px 0
}

.nua-menu a,
.nua-menu button {
    background: none;
    border: none;
    color: #111827;
    text-decoration: none;
    padding: 6px 8px;
    border-radius: 8px;
    display: block;
    width: 100%;
    text-align: left;
    cursor: pointer
}

.nua-menu a:hover,
.nua-menu button:hover {
    background: #f3f4f6
}

/* Modal */
.nua-modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .45);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99999
}

.nua-modal[hidden] {
    display: none
}

.nua-modal__dialog {
    background: #fff;
    border-radius: 5px;
    width: 100%;
    max-width: 400px;
    padding: 20px 20px 22px;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, .2);
}

.nua-modal__close {
    position: absolute;
    top: 10px;
    right: 0;
    background: transparent;
    border: none;
    font-size: 20px;
    margin: 0;
}

.nua-modal__title {
    font-size: 22px;
    font-weight: 800;
    margin: 0px 0 12px
}

.nua-user img {
    width: 43px;
    border-radius: 50%;
    border: 3px solid #eee;
}

.nua-user {
    color: #000;
    font-size: 0.9em;
    border-bottom: 1px dashed #eee;
    padding-bottom: 10px;
}
form#nua-form-login,form#nua-form-register,form#nua-form-register {
    margin: 0;
}
/* Tabs */
.nua-tabs {
    display: flex;
    margin-bottom: 20px;
    border-radius: 5px;
    text-transform: none;
}

.nua-tab {
    flex: 1;
    background: #f3f4f6;
    padding: 10px 12px;
    font-weight: 700;
    cursor: pointer;
    margin: 0;
    line-height: 1.2;
    text-transform: none;
}

.nua-tab.is-active {
    background: #02142026;
    color: #000;
    text-transform: none;
}

/* Panels */
.nua-panels {
    margin-top: 6px
}

.nua-panel {
    display: none
}

.nua-panel.is-active {
    display: block
}

/* Fields */
.nua-field {
    margin-bottom: 5px
}

.nua-field>label {
    display: block;
    font-weight: 600;
    margin-bottom: 6px
}

.nua-field input[type="text"],
.nua-field input[type="email"],
.nua-field input[type="password"] {
    width: 100%;
    border: 1px solid #e5e7eb;
    border-radius: 5px;
    padding: 10px 12px;
    outline: none
}

.nua-field input:focus {
    border-color: #6366f1;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, .14)
}

/* Row */
.nua-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 8px 0 14px
}

.nua-remember {
    display: flex;
    align-items: center;
    gap: 8px
}

.nua-forgot {
    color: #1d4ed8;
    text-decoration: none
}

/* Buttons */
.nua-submit,
.nua-btn {
    background: #00263b;
    color: #fff;
    border: none;
    border-radius: 5px;
    padding: 5px 16px;
    cursor: pointer;
    font-weight: 600;
}

button.nua-btn {
    margin: 0;
    line-height: 1;
    text-transform: none;
}

form#nua-account-form {
    margin: 0;
}

.nua-submit:hover,
.nua-btn:hover {
    opacity: .95
}

.nua-btn-outline {
    background: #fff;
    border: 1px solid #e5e7eb;
    padding: 8px 12px;
    border-radius: 10px;
    cursor: pointer
}

/* Msg */
.nua-msg {
    margin-top: 8px;
    font-size: 13px;
    margin: 0 !important;
    margin-top: 20 !important;
}

.nua-msg.ok {
    color: #16a34a
}

.nua-msg.err {
    color: #dc2626
}
.nua-msg.err {
    margin-top: 20px !important;
}