button, a, input {
    font-size: 0.85rem !important;
}

/**
 * Login, Register, Forgot Password
 */

.logo-img {
    display: none;
}

.login-logo {
    display: block;
    margin: 0 auto 2rem auto;
    max-width: 140px;
    height: auto;
}

.login-box {
    background: #fff;
    border-radius: 8px;
    max-width: 400px;
    width: 100%;
}

.login-greeting {
    color: #656565;
    font-size: 1rem;
    font-weight: 500;
    margin-bottom: 0.2rem;
}

.login-headline {
    color: #000;
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1.2rem;
    line-height: 1.25;
}

.login-tabs {
    display: flex;
    border-bottom: 1.5px solid #e0e0e0;
    margin-bottom: 1.5rem;
}

.login-tab {
    font-size: 1rem;
    font-weight: 500;
    color: #000;
    padding: 0.5rem 1.2rem 0.7rem 0;
    border: none;
    background: none;
    cursor: pointer;
    border-bottom: 2.5px solid #000;
    margin-right: 1.5rem;
}

.login-tab.inactive {
    color: #656565;
    border-bottom: 2.5px solid transparent;
}

.form-control {
    border-radius: 8px !important;
    font-size: 1rem;
    padding: 0.7rem 1rem;
}

.input-group-text {
    background: transparent;
    border: none;
    cursor: pointer;
}

.login-btn {
    background: #333;
    border-radius: 8px;
    font-weight: 500;
    font-size: 1rem;
    border: none;
    color: #fff;
    transition: background 0.2s, color 0.2s;
    width: 100%;
    margin-top: 0.7rem;
    padding: 0.7rem 0;
}

.login-btn:disabled {
    background: #656565;
}

.login-btn:hover {
    background: #000;
}

.login-link {
    color: #656565;
    text-decoration: underline;
    font-size: 0.8125rem;
    transition: linear 0.2s;
    display: inline-block;
    margin-top: 0.7rem;
    margin-bottom: 0.7rem;
}

.form-error {
    color: #c00;
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
}

.form-success {
    color: #25613B;
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.login-split-container {
    display: flex;
    min-height: 100vh;
    background: #fff;
    justify-content: baseline;
}

.login-left {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: end;
    background: #fff;
    width: 100%;
    border-radius: 8px 0 0 8px;
}

.login-left-img {
    border-radius: 12px;
    max-width: 500px;
    width: 100%;
    height: auto;
    display: block;
    box-shadow: 0 2px 24px rgba(0,0,0,0.08);
}

.login-right {
    flex: 1;
    display: flex;
    align-items: center;
    background: #fff;
    margin-left: 150px;
}

.login-title {
    color: #000;
    font-size: 1.375rem;
    font-weight: 700;
    margin: 0.2rem 0 1.5rem;
    letter-spacing: -0.5px;
}

.form-check {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.form-check-label {
    font-size: 0.8125rem !important;
    color: #656565 !important;
    font-weight: 400 !important;
    margin-bottom: -2px;
}

.form-check-input {
    width: 1rem;
    height: 1rem;
    margin-top: 0.1rem;
}

.login-link-row {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
    margin-top: 1rem;
    font-size: 0.8125rem;
}

.login-box .form-label {
    font-size: 0.875rem;
    color: #5E5E5E;
}

@media (max-width: 900px) {
    .login-right {
        margin-left: 50px;
    }
}

@media (max-width: 1150px) {
    .login-split-container {
        padding: 20px;
    }
}

@media (max-width: 600px) {
    .login-split-container { 
        flex-direction: column; 
    }

    .login-left, .login-right { 
        max-width: 100%; 
        min-width: 0; 
        border-radius: 0; 
    }

    .login-left { 
        min-height: 320px; 
        order: 1;
        display: none;
    }

    .login-right {
        order: 0;
        margin: 50px auto 0;
        width: 90%;
        align-items: flex-start;
    }
    
    .logo-img {
        display: block;
        width: 130px;
        margin: 0 auto 20px;
    }

    .login-title {
        text-align: center;
    }
}

/**
* Navbar
*/

.navbar-dark-menu {
    height: 100px;
    background-color: #000;
}

.navbar-nav {
    gap: 15px;
}

.nav-link {
    color: #656565 !important;
    font-size: 0.85rem;
    font-weight: 500;
}

.nav-link.active {
    color: #fff !important;
}

.navbar-brand {
    margin-right: 2.5rem;
}

.dropdown-menu-notification {
    display: flex;
    align-items: center;
}

/* Remove a seta azul do dropdown-toggle */
.dropdown-menu-notification .dropdown-toggle::after {
    display: none !important;
}

.dropdown-menu-notification .dropdown-toggle {
    padding: 20px;
    margin-right: 10px;
}

.dropdown-menu-notification .notification-badge {
    position: absolute;
    top: 22px;
    right: 17px;
    width: 10px;
    height: 10px;
    background: #ff3b3b;
    border-radius: 50%;
    border: 2px solid #000;
    z-index: 10;
    display: block;
}

.user-menu-card {
    display: flex;
    align-items: center;
}

.user-menu-card div {
    display: flex;
    align-items: center;
    gap: 10px;
}

.user-menu-card div img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
}

.user-menu-card div span {
    font-size: 0.875rem;
    color: #fff;
}

.user-menu-card {
    display: flex;
    align-items: center;
}

.user-menu-card a {
    padding: 10px 20px 10px 30px;
    margin-left: 50px;
    border-left: 1px solid #656565;
}

.navbar-brand img {
    margin-top: -8px;
}

/**
* Offcanvas Mobile
*/

.offcanvas {
    background-color: #000;
    color: #fff;
}

.offcanvas-header {
    border-bottom: 1px solid #656565;
    padding: 1.5rem;
}

.offcanvas-title {
    color: #fff;
    font-size: 1.25rem;
    font-weight: 600;
}

.btn-close {
    filter: brightness(0.5);
}

.offcanvas-body {
    padding: 1.5rem;
}

.offcanvas-body .navbar-nav {
    margin-bottom: 2rem;
}

.offcanvas-body .nav-link {
    padding: 0.8rem 0;
    font-size: 1rem;
}

.offcanvas-body .dropdown-menu-notification {
    margin: 1rem 0;
}

.offcanvas-body .user-menu-card {
    margin: 0;
}

.offcanvas-body .user-menu-card a {
    margin-left: 0;
    padding: 0.8rem 0;
    border-left: none;
    border: none;
    color: #656565;
    text-decoration: none;
    font-weight: 500;
}

.user-menu-mobile {
    display: none !important;
}

.text-muted {
    font-size: .675em;
}

.dropdown-menu-notification a.dropdown-item span:nth-child(2) {
    font-size: .875em;
}

@media (max-width: 991px) {
    .navbar-dark-menu {
        height: 80px;
    }
    
    .navbar-brand img {
        width: 80px;
    }
}

.offcanvas.offcanvas-end {
    width: 100% !important;
    border: none !important;
}

@media (max-width: 768px) {
    .dropdown-menu-notification .dropdown-toggle {
        padding: 10px;
    }

    .dropdown-menu-notification .notification-badge {
        top: 12px;
        right: 9px;
        width: 9px;
        height: 9px;
    }

    .user-menu-card div img {
        width: 35px;
        height: 35px;
    }

    .user-menu-card div span {
        font-size: 0.775rem;
    }

    .navbar-toggler-icon {
        background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='white' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
        width: 1.2em;
        height: 1.2em;
    }

    .navbar-brand {
        margin-right: 0;
    }

    .user-menu-mobile {
        display: flex !important;
    }
}

@media (max-width: 360px) {
    .user-menu-card div img {
        width: 30px;
        height: 30px;
    }

    .user-menu-card div span {
        font-size: 0.6rem;
    }

    .navbar-brand img {
        width: 70px;
    }
}

.btn {
    min-height: 51px;
    padding-left: 20px;
    padding-right: 20px;
    font-weight: 500;
    border-radius: 10px;
    display: flex;
    align-items: center;
}

@media (max-width: 991.98px) {
    .btn {
        min-height: 40px;
        padding-left: 15px;
        padding-right: 15px;
        font-size: 13px;
    }

    .btn svg {
        width: 22px;
    }
}

@media (max-width: 767.98px) {

}

.btn-secondary {
    background-color: #6565651A;
    border-color: transparent;
    color: #656565;
}

.btn-secondary-dark {
    background-color: #656565;
    color: #fff;
}

.btn-secondary-outline {
    display: flex;
    align-items: center;
    gap: 5px;
    border-radius: 0;
}

button.btn-secondary-outline:focus:not(:focus-visible),
button.btn-secondary-outline:focus:not(:focus-visible) {
    border-top: 1px solid transparent;
    border-right: 1px solid transparent;
    border-bottom: 1px solid transparent;
    outline: none;
    border-left: 1px solid #E8E8E8;
}

.btn-secondary-outline span {
    border-bottom: 1px solid transparent;
    transition: border-color 0.2s;
}

.btn-secondary-outline span:hover {
    border-color: #656565;
}

@media (min-width: 1110px) and (max-width: 1199px) {
    .user-menu-card div span {
        display: none;
    }
}

@media (min-width: 992px) and (max-width: 1110px) {
    .user-menu-card div {
        display: none;
    }

    .user-menu-card a {
        padding: 10px 20px;
        margin-left: 0;
    }
}

/* Modal customizado para indicação de amigo */
#indicarAmigoModal .modal-content {
    border-radius: 18px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.12);
    border: none;
    background: #fff;
}

#indicarAmigoModal .modal-header {
    border-bottom: none;
    padding: 28px 28px 0 28px;
    background: transparent;
}

#indicarAmigoModal .modal-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #222;
    letter-spacing: -0.5px;
}

#indicarAmigoModal .btn-close {
    filter: invert(0.7) grayscale(1);
    opacity: 0.7;
    margin-top: -8px;
}

.modal-body {
    padding: 25px !important;
    background: #fafbfc;
    border-radius: var(--bs-modal-border-radius);
}

.modal-header {
    padding: 15px 25px !important;
    background: #fafbfc;
}

#indicarAmigoModal .modal-header {
    padding: 25px 25px 0 25px !important;
}

#indicarAmigoModal .form-label {
    font-weight: 500;
    color: #444;
    margin-bottom: 0.5rem;
}

#indicarAmigoModal .form-control {
    border-radius: 8px;
    border: 1px solid #e0e0e0;
    font-size: 1rem;
    padding: 0.7rem 1rem;
    background: #fff;
    box-shadow: none;
}

#indicarAmigoModal .modal-footer {
    border-top: none;
    padding: 24px 28px 28px 28px;
    background: transparent;
    display: flex;
    justify-content: flex-end;
    gap: 12px;
}

#indicarAmigoModal .btn-primary {
    background: #000;
    border-radius: 8px;
    font-weight: 500;
    border: none;
    color: #fff;
    padding: 0.7rem 1.5rem;
    transition: background 0.2s;
}

#indicarAmigoModal .btn-primary:disabled {
    background: #656565;
}

#indicarAmigoModal .btn-secondary {
    background: #f3f3f3;
    color: #222;
    border-radius: 8px;
    border: none;
    font-weight: 500;
    padding: 0.7rem 1.5rem;
}

footer {
    margin-top: 40px;

    div {
        padding: 40px 0;
        border-top: 1px solid #EFE6E6;
    }

    p {
        color: #5E5E5E;
        margin: 0;
        font-size: 0.85rem;
    }

    @media (max-width: 575.98px) {
        div {
            padding: 20px 0;
        }

        p {
            font-size: 0.75rem;
        }
    }
}

/* Paginação */
.pagination {
    gap: 0.5rem;
}

.pagination .page-item .page-link {
    border: none;
    color: #656565;
    font-size: 0.9rem;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.pagination .page-item .page-link:hover {
    background-color: #f3f3f3;
    color: #000;
}

.pagination .page-item .page-link:focus {
    box-shadow: none !important;
    outline: none;
}

.pagination .page-item.active .page-link {
    background-color: #000;
    color: #fff;
    border-color: #000;
    box-shadow: none !important;
}

.pagination .page-item.disabled .page-link {
    color: #ccc;
    pointer-events: none;
    background-color: transparent;
}

@media (max-width: 575.98px) {
    .pagination .page-item .page-link {
        padding: 0.4rem 0.8rem;
        font-size: 0.85rem;
    }
}

.modal-header {
    justify-content: space-between;
    
    div {
        display: flex;
        gap: 10px;
        align-items: center;
    }
}