/* Adicionei o estilo abaixo para aplicar o padding-top à div main */

.main {
    padding-top: 10px;
}

.alert-close {
    position: absolute;
    top: 5px;
    right: 5px;
    cursor: pointer;
}

/* Estilos para o botão de notificações */
.notification-button {
    position: relative; /* Para posicionamento relativo */
}

.notification-badge {
    position: absolute; /* Para posicionamento absoluto */
    top: -8px; /* Ajuste a posição vertical conforme necessário */
    right: -8px; /* Ajuste a posição horizontal conforme necessário */
    background-color: rgb(181, 46, 46); /* Cor de fundo do indicador */
    color: rgb(246, 222, 2); /* Cor do texto do indicador */
    border-radius: 50%; /* Forma do indicador (circular) */
    width: 20px; /* Largura do indicador */
    height: 20px; /* Altura do indicador */
    font-size: 10px; /* Tamanho da fonte do indicador */
    text-align: center; /* Alinhamento do texto do indicador */
    line-height: 20px; /* Centraliza o texto verticalmente */
}

/* brand tones using #8ab99d como base */
:root{
    --brand: #8ab99d;
    --brand-lean: #bfe1cc;    /* versão mais clara */
    --brand-deep: #5f8b73;    /* versão mais escura */
    --brand-contrast: #0b5470; /* contraste usado quando necessário */
}

/* gradient / background usando a cor base */
.gradient-bg {
    background: linear-gradient(180deg, var(--brand-lean) 0%, var(--brand)  fifty%, var(--brand-deep) 100%);
    /* fallback */
    background-color: var(--brand);
}

/* primary button com gradiente derivado de #8ab99d */
.btn-gradient-primary {
    background: linear-gradient(180deg, var(--brand-lean) 0%, var(--brand) 50%, var(--brand-deep) 100%);
    border: none;
    color: white;
    border-radius: 0;
    transition: background 0.3s ease, box-shadow 0.15s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.375rem 0.75rem;
    font-size: 1rem;
    line-height: 1.5;
}

/* hover — escurece suavemente a base mantendo harmonia */
.btn-gradient-primary:hover {
    background: linear-gradient(180deg, var(--brand) 0%, var(--brand-deep) 100%);
    color: white;
    box-shadow: 0 6px 14px rgba(14,66,54,0.12);
}

/* exemplo: botões de sucesso usando tom complementar */
.btn-gradient-success {
    background: linear-gradient(180deg, #9bd394 0%, #6fb06d 100%);
    border: none;
    color: white;
    border-radius: 0;
    transition: background 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.375rem 0.75rem;
    font-size: 1rem;
    line-height: 1.5;
}

.btn-gradient-success:hover {
    background: linear-gradient(to bottom, #1b7035, #084608);
    color: white;
}

.btn-gradient-danger {
    background: linear-gradient(to bottom, #dd5b62, #e22424);
    border: none;
    color: white;
    border-radius: 0;
    transition: background 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.375rem 0.75rem;
    font-size: 1rem;
    line-height: 1.5;
}

.btn-gradient-danger:hover {
    background: linear-gradient(to bottom, #ac2222, #460808);
    color: white;
}

.btn-gradient-warning {
    background: linear-gradient(135deg, #fcd34d, #b45309);
    border: none;
    color: white;
    border-radius: 0;
    transition: background 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.375rem 0.75rem;
    font-size: 1rem;
    line-height: 1.5;
}

.btn-gradient-warning:hover {
    background: linear-gradient(135deg, #fde68a, #92400e);
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.15);
}

.card, .btn, .form-control, .input-group-text {
    border-radius: 0 !important;
}
.navbar, .footer {
    padding-top: 0.25rem;
    padding-bottom: 0.25rem;
}
.navbar-brand {
    font-size: 1.25rem;
}
.footer p {
    margin-bottom: 0;
}


.page-beauty .card {
    border-radius: 12px;
    overflow: hidden;
    border: 0;
    box-shadow: 0 12px 36px rgba(11,84,112,0.08);
}

.page-beauty .card-header {
    background: linear-gradient(90deg, #9fcfb8 0%, #8ab99d 50%, #6a9b7f 100%);
    color: #05323a;
    font-weight: 700;
    border-bottom: 0;
    padding: .9rem 1.25rem;
    display: flex;
    align-items: center;
    gap: .6rem;
}

.page-beauty .card-body {
    background: #ffffff;
    padding: 1.25rem;
}

/* Inputs & groups */
.page-beauty .form-control {
    border-radius: .6rem;
    border: 1px solid #e6eef0;
    padding: .6rem .75rem;
    transition: box-shadow .15s ease, border-color .15s ease, transform .06s;
    background: #fff;
}
.page-beauty .form-control:focus {
    border-color: #6aa087;
    box-shadow: 0 8px 20px rgba(106,160,135,0.08);
    outline: none;
    transform: translateY(-1px);
}

.page-beauty .input-group .input-group-text {
    border-radius: .55rem;
    border: 1px solid #e6eef0;
    background: #fbfffe;
    color: #356462;
}

/* Radio cards (já existentes) */
.page-beauty .form-check {
    position: relative;
    padding: 0;
}
.page-beauty .form-check input[type="radio"],
.page-beauty .form-check input[type="checkbox"] {
    /* mantém acessível, mas oculta visualmente (aplica também ao checkbox) */
    position: absolute;
    opacity: 0;
    width: 1px;
    height: 1px;
    margin: -1px;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    overflow: hidden;
    white-space: nowrap;
    border: 0;
}

/* transformamos o label em um card clicável */
.page-beauty .form-check .form-check-label {
    display: block;
    cursor: pointer;
    border-radius: .7rem;
    padding: .85rem;
    border: 1px solid transparent;
    transition: background .12s ease, box-shadow .12s ease, border-color .12s ease, transform .08s ease;
    background: #fbfffe;
    color: #24494a;
    box-shadow: 0 2px 8px rgba(11,84,112,0.03);
    position: relative; /* necessário para indicadores posicionados */
}

/* indicador visual à esquerda do label (reutilizado para checkbox e radio) */
.page-beauty .form-check .form-check-label::before {
    content: "";
    display: inline-block;
    width: 18px;
    height: 18px;
    border-radius: 6px;
    margin-right: .75rem;
    vertical-align: middle;
    background: transparent;
    border: 1px solid rgba(37,85,84,0.12);
    transition: background .12s ease, border-color .12s ease, transform .12s ease, box-shadow .12s ease;
}

/* hover / foco */
.page-beauty .form-check .form-check-label:hover,
.page-beauty .form-check input[type="radio"]:focus + .form-check-label,
.page-beauty .form-check input[type="checkbox"]:focus + .form-check-label {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(106,160,135,0.06);
    border-color: rgba(106,160,135,0.18);
}

/* selecionado: destaque do card (aplica para radio e checkbox) */
.page-beauty .form-check input[type="radio"]:checked + .form-check-label,
.page-beauty .form-check input[type="checkbox"]:checked + .form-check-label {
    border-color: rgba(138,185,157,0.35);
    background: linear-gradient(180deg, rgba(138,185,157,0.08), rgba(138,185,157,0.03));
    box-shadow: 0 10px 28px rgba(11,84,112,0.06);
}

/* indicador preenchido quando selecionado (mesmo estilo para checkbox) */
.page-beauty .form-check input[type="radio"]:checked + .form-check-label::before,
.page-beauty .form-check input[type="checkbox"]:checked + .form-check-label::before {
    background: linear-gradient(180deg,#9fcfb8 0%, #8ab99d 60%);
    border-color: rgba(86,140,112,0.9);
    box-shadow: 0 4px 10px rgba(11,84,112,0.08) inset;
    transform: scale(1.02);
}

/* descrição dentro do label (alertzinho) */
.page-beauty .form-check .alert {
    margin: .65rem 0 0 0;
    background: transparent;
    border: 0;
    padding: 0;
    color: #405f5e;
}

/* Small visual helpers */
.page-beauty hr { border-top: 1px solid #eef6f4; margin: 1rem 0; }
.page-beauty .muted { color: #6b8c8a; }
.page-beauty .float-right { float: right; }

/* Responsive tweaks */
@media (max-width: 768px) {
    .page-beauty .card-body { padding: .9rem; }
    .page-beauty .form-check .form-check-label { padding: .5rem; }
}