:root{
    --white: #fff;
    --black: #000;
    --gray: #b0b1b0;
    --red-500: #d20100;
    --red-700: #850303;
    --background-nav-color: #242424;
    --background-color: #141414;
}

i {
    color: var(--white);
}

h1, h2, h3, span, div, label, .btn {
    font-family: 'Paralucent-Medium', sans-serif;
}

label {
    color: var(--white);
}

body {
    background-color: var(--white);
}

.form-switch .form-check-input {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='rgba%280, 0, 0, 1%29'/%3e%3c/svg%3e");
    margin-left: 0 !important;
}

.form-check-input:checked {
    background-color: green !important;
}

.form-switch {
    padding-left: 0;
}

.form-switch .form-check-input:focus {

}

.btn-topmobili {
    background-color: var(--red-500);
    color: var(--white);
    border-radius: 10px;
}

.btn-topmobili:hover {
    background-color: var(--red-700);
    color: var(--white);
    border-radius: 10px;
}

.btn-topmobili-gray {
    background-color: rgba(255,255,255,.07);
    color: var(--white);
    border-radius: 10px;

    transition: background 500ms;
}

.btn-topmobili-gray:hover {
    background: linear-gradient( rgba(78,6,178, 0.5), rgba(246,59,8, 0.5) );
    border-color: #fff;
    border-radius: 10px;
}

.text-small {
    font-size: 10px;
}

.border-radius-topmobili {
    border-radius: 10px !important;
}

input {
    background-color: #f8f8f8 !important;
}

.card {
    background-color: var(--background-nav-color);
}

:focus { 
    outline: transparent !important;
    box-shadow: 0 0 0 1px var(--black) !important;
}

.navbar {
    background-color: var(--background-nav-color);
    position: fixed;
    z-index: 1001;
    left: 0;
    top: 0;
    width: 18rem;
    height: 100%;
    padding-left: initial;
    padding-right: initial;
    border-top-left-radius: 0;
    border-top-right-radius: 10px;
    border-bottom-right-radius: 10px;
    border-bottom-left-radius: 0;
    flex-direction: column;
    justify-content: initial;
    flex-wrap: unset;
}

.navbar .menu-logo img {
    margin-top: 1rem;
    width: 8rem;
}

.navbar .menu-profile {
    display: flex;
    flex-direction: column;
    margin: 2rem 0;
    padding: 12px;
    width: 50%;
    align-items: center;
}

.navbar .menu-profile:hover {
    background: rgba(255,255,255,.07) !important;
    border-radius: 10px;
}

.navbar .menu-profile span{
    color: var(--white);
    margin-top: 5px;
}

.navbar ul {
    list-style-type: none;
    padding: 0;
    display: flex;
    justify-content: center;
    flex-direction: column;
    width: 100%;
    align-items: center;
    gap: 10px;
}

.navbar .nav-item {
    background: rgba(255,255,255,.07);
    color: var(--white);
    border-radius: 10px;
    padding: 8px 12px;
    width: 75%;
}

.navbar .nav-item:has(a.active) {
    background: var(--red-500);
    border-radius: 12px;
    padding: 0.5rem;
    color: #fff;
}

.nav-link-icon {
    display: flex;
}

.nav-link-text {
    font-size: 1rem;
}

.menu-hamburger {
    color: var(--white);
    font-size: 2rem;
    cursor: pointer;
}

.navbar .menu-hamburger {
    display: none;
}

.navbar .menu-hamburger svg {
    font-size: 1.5rem;
    color: var(--white);
}

.breadcrumb-topmobili {
    display: flex;
    align-items: center;
}

.breadcrumb-topmobili a {
    font-family: 'Paralucent-Medium', sans-serif;
    color: var(--red-500);
    font-size: 0.8rem;
}

.breadcrumb-topmobili a i {
    font-size: 10px;
    margin-right: 5px;
    color: var(--red-500);
}

.text-red {
    color: var(--red-500);
}

.content {
    display: flex;
    min-height: 100%;
    padding-left: 20rem;
    padding-top: 2rem;
    padding-right: 2rem;
    width: 100%;
}

.user-action {
    background-color: #fff;
    width: 16rem;
    padding: 20px 30px 20px 30px;
    border-radius: 10px;
    position: absolute;
    z-index: 1000;
    display: none;
}

.user-action a {
    cursor: pointer;
    text-decoration: none;
    color: var(--black);
    display: block;
    width: 100%;
}

.user-action a:hover,
.user-action a:hover i {
    color: #727272;
}

.user-action a i {
    color: #000;
}

.user-action.show {
    position: absolute;
    inset: 0px auto auto 0px;
    margin: 0px;
    transform: translate(16px, 182px);
    display: block;
}

.input-wrapper {
    position: relative;
    width: 100%;
}

.input-wrapper input {
    width: 100%;
    padding-right: 40px; /* espaço para o botão */
    box-sizing: border-box;
}

.toggle-password {
    position: absolute;
    top: 50%;
    right: 10px;
    transform: translateY(-50%);
    border: none;
    background: none;
    cursor: pointer;
    padding: 0;
    font-size: 1.2rem;
}

.toggle-password:focus {
    outline: none;
}

.page-link {
    color: var(--red-500);
}

.active > .page-link {
    background-color: var(--red-500) !important;
    border-color: var(--white);
}

@media only screen and (max-width: 992px) {

    .navbar {
        width: 100%;
        height: 80px;
        border-radius: 0 0 10px 10px;
        flex-direction: row;
        justify-content: space-between;
    }

    .mobile-top-in {
        transition-property: top;
        transition-duration: 300ms;
        top: 0px;
    }
    
    .mobile-top-out {
        transition-property: top;
        transition-duration: 200ms;
        top: -100px;        
    }

    .mobile-top-ready {
        width: 100%;
        height: 80px;
    }

    .mobile-side-in {
        transition-property: left;
        transition-duration: 400ms;
        left: 0px !important;
    }

    .mobile-side-out {
        transition-property: left;
        transition-duration: 400ms;
        left: -500px;
    }

    .mobile-side-ready {
        width: 18rem;
        height: 100%;
        left: -500px;
        border-radius: 0 10px 10px 0;
        flex-direction: column;
        justify-content: normal;
    }

    .navbar:has(.mobile-top-ready) .menu-logo img,
    .navbar:not(.mobile-side-ready) .menu-logo img { 
        width: 8rem;
        margin-top: 0;
        margin-left: 1rem;
    }

    .navbar:has(.mobile-top-ready) .menu-profile, .navbar:not(.mobile-side-ready) .menu-profile {
        display: none;
    }

    .navbar:has(.mobile-top-ready) ul, .navbar:not(.mobile-side-ready) ul{
        display: none;
     }

     .navbar:not(.mobile-side-ready) .menu-hamburger {
        display: flex;
        margin-right: 1rem;
     }

    .content {
        padding-left: 1rem;
        padding-right: 1rem;
        padding-top: 7rem;
    }
}