:root {
    --gold: #d2a85e;
    --gold-medium: #ecd393;
    --gold-light: #f3ece2;
    --gold-dark: #493820;
    --gold-opaco: #c992401a;
    --bg-dark: #16181d;
    --bg-chip: #1A1F2C;
    --radius: 8px;
    --card: #16181d;
    --muted-foreground: 35 20% 75%;
    --muted: 215 14% 20%;
    --background: 220 13% 10%;
    --bs-tertiary-bg: #d2a85e;
    --primary: 35 60% 60%;
    --bs-dark-rgb: 24, 24, 27;
    --bs-secondary-rgb: 39, 39, 42;
    --border: 215 14% 25%;
    --bs-dark-rgb: 22, 24, 29
}

body {
    background-color: var(--bg-dark);
    color: var(--gold-light);
    font-family: 'Montserrat', sans-serif;
}

a {
    color: var(--gold-light) !important;
    text-decoration: inherit !important;
}

a:hover {
    color: var(--gold) !important;
}

h1,
h2,
h3 {
    font-family: 'Libre Baskerville', serif;
    color: var(--gold-light);
}

.text-gold {
    color: var(--gold) !important;
}

.text-muted {
    color: hsl(var(--muted-foreground)) !important;
}

.font-medium {
    font-weight: 500;
}

.text-lg {
    font-size: 1.125rem;
    line-height: 1.75rem;
}

.btn-success {
    background: #16a34a !important
}

.btn-success:hover {
    color: var(--bs-btn-hover-color) !important;
    background-color: #15803d !important;
    border-color: var(--bs-btn-hover-border-color) !important;
}

.btn-gold {
    background: linear-gradient(90deg, var(--gold), var(--gold-medium), var(--gold));
    color: #000 !important;
    border: none;
    border-radius: var(--radius);
    font-weight: 500;
    padding: 0.5rem 1.25rem;
    font-size: .875rem;
}

.btn-gold:hover {
    background: var(--gold);
    color: var(--bg-dark) !important;
    /* color: var(--gold-light) !important; */
}

.btn-outline-gold {
    border: 1px solid var(--gold);
    color: var(--gold);
    background-color: transparent;
    border-radius: var(--radius);
}

.btn-outline-gold:hover {
    background-color: rgba(210, 168, 94, 0.1);
}


.btn-dark {
    background-color: var(--background);
    border: 1px solid #373e49 !important;
}

.btn-dark:hover {
    color: var(--bg-dark);
    background-color: var(--gold);
}


.gold-gradient-text {
    background: linear-gradient(to right, var(--gold), var(--gold-medium), var(--gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.badge.bg-chip {
    background-color: var(--bg-chip);
    color: var(--gold);
    border: 1px solid rgba(210, 168, 94, 0.4);
    padding: 0.4rem 0.8rem;
    border-radius: 999px;
    font-size: 0.85rem;
    margin: 0.2rem;
}

.border-gold {
    border: 1px solid var(--gold-dark) !important;
}

.border-gold-destak {
    border: 4px solid var(--gold) !important;
}

/* Moldura Dourada (Ouro) */
.border-Gold-destak {
    border: 4px solid transparent;
    background:
        linear-gradient(to right, #BF953F, #FCF6BA, #B38728, #FBF5B7, #AA771C),
        linear-gradient(to right, #BF953F, #FCF6BA, #B38728, #FBF5B7, #AA771C);
    background-clip: padding-box, border-box;
    background-origin: border-box;
    box-shadow:
        0 0 8px rgba(191, 149, 63, 0.8),
        inset 0 0 12px rgba(241, 221, 4, 0.6);
    position: relative;
}

.border-Gold-destak:hover {
    animation: brilho 2s infinite;
}


/* Opcional: brilho animado */
@keyframes brilho {
    0% {
        box-shadow: 0 0 15px gold, 0 0 30px #ffcc00 inset;
    }

    50% {
        box-shadow: 0 0 25px gold, 0 0 50px #ffcc00 inset;
    }

    100% {
        box-shadow: 0 0 15px gold, 0 0 30px #ffcc00 inset;
    }
}


/* Moldura Prateada (Prata) */
.border-Prata-destak {
    border: 4px solid transparent;
    background:
        linear-gradient(to right, #C0C0C0, #E0E0E0, #A0A0A0, #F0F0F0, #B0B0B0),
        linear-gradient(to right, #C0C0C0, #E0E0E0, #A0A0A0, #F0F0F0, #B0B0B0);
    background-clip: padding-box, border-box;
    background-origin: border-box;
    box-shadow:
        0 0 8px rgba(192, 192, 192, 0.8),
        inset 0 0 12px rgba(240, 240, 240, 0.7);
    position: relative;
}


.border-Prata-destak:hover {
    animation: brilho-prata 2s infinite;
}

@keyframes brilho-prata {
    0% {
        box-shadow: 0 0 15px #ccc, 0 0 30px #eee inset;
    }

    50% {
        box-shadow: 0 0 25px #ddd, 0 0 50px #fff inset;
    }

    100% {
        box-shadow: 0 0 15px #ccc, 0 0 30px #eee inset;
    }
}


/* Moldura Prateada (Prata) */
.border-Elite-destak {
    border: 4px solid transparent;
    background:
        linear-gradient(to right, #000000, #2f2f2f, #2b2b2b, #171616, #131313),
        linear-gradient(to right, #000000, #2f2f2f, #2b2b2b, #171616, #131313);
    background-clip: padding-box, border-box;
    background-origin: border-box;
    box-shadow:
        0 0 8px rgba(192, 192, 192, 0.8),
        inset 0 0 12px rgba(240, 240, 240, 0.7);
    position: relative;
}


.border-Elite-destak:hover {
    animation: brilho-elite 2s infinite;
}

@keyframes brilho-elite {
    0% {
        box-shadow: 0 0 15px #ccc, 0 0 30px #eee inset;
    }

    50% {
        box-shadow: 0 0 25px #ddd, 0 0 50px #fff inset;
    }

    100% {
        box-shadow: 0 0 15px #ccc, 0 0 30px #eee inset;
    }
}

.border-gold-top {
    border-top: 1px solid var(--gold-dark) !important;
}


/* Navbar */
.bg-glass {
    background-color: hsl(var(--background) / .6);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(6px);
    border-bottom: 1px solid rgba(255, 214, 137, 0.15) !important;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.6);
}

.navbar-brand {
    font-family: 'Libre Baskerville', serif;
}

.navbar-brand:focus,
.navbar-brand:hover {
    color: var(--gold-medium) !important;
}

.navbar-nav .nav-link {
    color: #e0e0e0;
    font-weight: 500;
    transition: color 0.2s;
    letter-spacing: 0.5px;
}

.navbar-nav .nav-link:hover {
    color: var(--gold);
}


footer {
    /* font-family: 'Libre Baskerville', serif; */
    background-color: #16181d !important;
    border-top: 1px solid #373e49 !important;

}

footer .link {
    color: #e0e0e0;
    font-weight: 500;
    transition: color 0.2s;
    letter-spacing: 0.5px;
}

.footer .link:hover {
    color: var(--gold);
}


.bg-background {
    background-color: hsl(var(--background));
}


/* Imagem de fundo sobreposta do corpo*/
.backdrop-blur {
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
}

.bg-card {
    background-color: hsl(var(--card) / .4);
}


.bg-gold {
    background-color: var(--gold);
}

.bg-gold-opaco {
    background-color: var(--gold-opaco);
}

.custom-input::placeholder {
    color: var(--gold-light);
}

.custom-input {
    transition: all 0.3s ease;
    border: 1px solid #373e49 !important;
}

.custom-input:focus {
    /* border-color: var(--gold); */
    border: 1px solid var(--gold) !important;
    box-shadow: none !important;
}

.custom-input:hover {
    border-color: var(--gold);
    /* box-shadow: 0 0 0 0.25rem var(--gold-medium); */
}

.autocomplete-list {
    background-color: hsl(var(--card) / .95);
    border: 1px solid --gold;
    border-radius: 8px;
    max-height: 200px;
    overflow-y: auto;
    z-index: 9999;
}

.autocomplete-list li {
    color: #fff;
    padding: 0.5rem 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.autocomplete-list li:hover {
    color: var(--gold);
    background-color: rgba(166, 140, 94, 0.2) !important;
}

.autocomplete-list li i {
    color: var(--gold);
}

.autocomplete-list {
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
}






.profile-card {
    border-radius: 0.5rem;
    overflow: hidden;
    transition: all 0.3s ease;
    height: 450px;
    display: flex;
    flex-direction: column;
}

.profile-card:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    border: 3px solid rgb(201 146 64 / .5) !important;
}

/* Card Body (Imagem + Nome) */
.card-body-custom {
    flex: 1;
    position: relative;
    padding: 0;
    overflow: hidden;
}

.profile-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.profile-card:hover .profile-img {
    transform: scale(1.1);
}

.name-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    padding: 1.5rem 1rem 0.5rem;
}

.profile-name {
    font-family: Georgia, serif;
    font-weight: 600;
    font-size: 1.25rem;
    color: white;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    margin: 0;
}

/* Card Footer (Informações) */
.card-footer-custom {
    /* background-color: #000; */
    color: white;
    padding: 1rem;
    border-top: none;
}

.profile-detail {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    line-height: 1.25rem;
}

.gold-icon {
    color: var(--gold);
}


.form-range::-webkit-slider-thumb {
    background-color: var(--bg-dark);
    border: 2px solid var(--gold-dark);
    height: 1.5rem;
    width: 1.5rem;
    margin-top: -.50rem;
}



.form-check-input:checked {
    background-color: var(--gold);
    border-color: var(--gold-dark);
    height: 1.3rem;
    width: 1.3rem;
    margin-top: 0em;
}

.form-check-input {
    border: 3px solid var(--gold-medium);
    background-color: transparent;
    height: 1.3rem;
    width: 1.3rem;
    margin-top: 0rem;
}


/* Isso aqui só se quiser a bordinha nos inputs */
.form-check .form-check-input {
    margin-left: 0;
    margin-right: .10rem;
    float: none;
}


.custom-switch {
    width: 2.75em !important;
    height: 1.5em !important;
    border: 2px solid var(--gold) !important;
    transition: background-color 0.3s ease;
}

.custom-switch:checked {
    background-color: var(--gold) !important;
    /* Dourado claro quando ativo */
    border-color: var(--gold) !important;
}

.custom-switch:focus {
    box-shadow: 0 0 0 0.25rem var(--gold-dark) !important;
    /* Sombra dourada no focus */
}

.custom-switch::after {
    background-color: var(--gold) !important;
    /* Cor do botão deslizante (dourado) */
    height: 1.1em !important;
    width: 1.1em !important;
    margin-top: 0.1em !important;
}

/* .form-select {
    background-color: var(--background);
    color: #e0e0e0;
} */

.form-control {
    background-color: var(--background);
    color: #e0e0e0;
}

.form-control:focus {
    background-color: var(--background);
    color: #e0e0e0;
    border: 4px solid var(--gold-medium);
    box-shadow: 0 0 0 0.1rem var(--gold-light);
}

.form-control::placeholder {
    color: var(--gold-light) !important;
    opacity: 1 !important;
}

.custom-tab {
    background-color: #1e1e1e;
    /* cor de fundo do container */
    border-radius: 0.5rem;
    padding: 0.25rem;
    max-width: 28rem;
}

.custom-tab .nav-link {
    color: #c0c0c0;
    background-color: transparent;
    border-radius: 0.5rem;
    transition: background-color 0.3s, color 0.3s;
}

.custom-tab .nav-link:hover {
    color: #fff;
    background-color: #2a2a2a;
}

.custom-tab .nav-link.active {
    background-color: #000;
    color: var(--gold) !important;
    /* box-shadow: inset 0 4px 12px rgba(149, 148, 148, 0.3),
        inset 0 -2px 4px rgba(255, 255, 255, 0.1);
    transform: translateY(1px); */
}

.bg-muted {
    background-color: hsl(var(--muted));
}

label {
    display: inline;
}

.hover-bg-light:hover {
    background: var(--gold);
    color: var(--gold-light) !important;
}



.noUi-connect {
    background: var(--gold) !important;
}

.noUi-handle {
    border: 1px solid var(--gold-dark) !important;
    border-radius: 100px !important;
    background: var(--bg-dark) !important;
    cursor: default;
}

.noUi-target {
    background: var(--card) !important;
    border-radius: 0px;
    box-shadow: none !important
}



.plan-social {
    background: linear-gradient(to bottom, #2a3340, #2a3644);
    border: 1px solid #06b6d44d;
}

.plan-prata {
    background-image: linear-gradient(to bottom,
            rgba(90, 90, 90, 0.9),
            rgba(58, 58, 58, 0.9));
    border-color: rgba(159, 158, 161, 0.3);
}

.plan-gold {
    background: linear-gradient(to bottom, rgba(179, 135, 40, 0.8), rgba(106, 79, 32, 0.9)) !important;
    border-color: rgba(210, 168, 94, 0.3) !important;
}

.plan-elite {
    background: linear-gradient(to bottom, #2f2f2f, #000000);
    border: 1px solid #444;
}

.plan-card:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.page-link {
    background-color: var(--bg-dark);
}

.active>.page-link,
.page-link.active {
    background-color: var(--card);
}


/* Adicione ao seu arquivo CSS */
.btn-loading .spinner-border {
    vertical-align: middle;
    margin-right: 5px;
}

#loading {
    transition: opacity 0.3s ease;
}

.dropdown-menu-dark {
    background-color: #1b1d23;
    border-color: #373e49;
    min-width: 15rem !important;
}

.dropdown-divider {
    border-color: #373e49;
}

.dropdown-item-dark:active {
    background-color: var(--gold);
    color: var(--bg-chip) !important;
}

/* Estilo para o avatar padrão quando não há imagem */
.avatar-fallback {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-weight: 500;
}


/* Garante que a imagem do avatar cubra todo o espaço */
.object-cover {
    object-fit: cover;
}

.border-top-light {
    /* border-top: 1px solid var(--gold-light) !important; */
    border-top: 1px solid #373e49 !important;
}

.border-light {
    border: 1px solid #373e49 !important;
}

.border-light:focus {
    border: 1px solid var(--gold) !important;
}

.small {
    font-size: .75rem;
    line-height: 1rem;
}

.text-purple {
    --tw-text-opacity: 1;
    color: rgb(168 85 247 / var(--tw-text-opacity, 1));
}

.bg-purple {
    background-color: rgba(168, 85, 247, 0.1);
}

.text-sm {
    font-size: .875rem;
    line-height: 1.25rem;
}

.font-serif {
    font-family: Libre Baskerville, serif;
}

.font-medium {
    font-weight: 500;
}