/* =========================
   LOGO DA TELA DE LOGIN
   ========================= */

.login-logo{
text-align:center;
margin-bottom:30px;
}

.login-logo img{
display:block;
margin:auto;
max-width:350px;
height:auto;
}


/* =========================
   SIDEBAR COM RODAPÉ FIXO (FUNCIONA NO JAZZMIN)
   ========================= */

.sidebar-wrapper {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.sidebar-wrapper nav {
    flex: 1;
}

.sidebar-footer {
    text-align: center;
    padding: 10px 8px;
    font-size: 11px;
    color: #ccc;
    margin-top: auto;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.sidebar-footer img {
    max-width: 65px;
    height: auto;
    margin-bottom: 6px;
}

.sidebar-footer p {
    margin: 2px 0;
    line-height: 1.2;
}


/* =========================
   TELA INICIAL (DASHBOARD) - VISUAL MAIS MODERNO
   ========================= */

.content-wrapper {
    background-color: #F2F4F1 !important;
}

.content-header h1 {
    font-weight: 700;
    color: #2E3B26;
    letter-spacing: .2px;
}

.content-header .breadcrumb {
    background: transparent;
}

.content-header .breadcrumb a {
    color: #4C6444;
    font-weight: 600;
}

/* Cards dos grupos (Agenda, Cadastros, Movimentações, Relatórios...) e o
   painel de "Ações recentes" */
.card {
    border: none !important;
    border-radius: 12px !important;
    box-shadow: 0 2px 10px rgba(30, 40, 20, 0.08) !important;
    overflow: hidden;
    margin-bottom: 22px;
}

.card .card-header {
    background: #ffffff !important;
    border-bottom: 3px solid #4C6444 !important;
    padding: 14px 18px !important;
}

.card .card-header h3,
.card .card-header .card-title {
    font-size: 16px !important;
    font-weight: 700 !important;
    color: #2E3B26 !important;
    margin: 0;
    text-transform: none !important;
}

.card .card-body {
    padding: 8px 18px 14px !important;
}

/* Lista de modelos dentro de cada card (ex: "Pacientes", "Profissionais"...) */
.card .list-group-item,
.card table td,
.card table th {
    border-color: #eef1ec !important;
}

.card a {
    color: #2E3B26;
    font-weight: 500;
}

.card a:hover {
    color: #4C6444;
    text-decoration: none;
}

/* Botões "Adicionar" / "Modificar" (Adicionar = verde, Modificar = azul) */
.btn-success {
    background-color: #4C6444 !important;
    border-color: #4C6444 !important;
    border-radius: 6px !important;
    font-weight: 600 !important;
    font-size: 12px !important;
}

.btn-success:hover {
    background-color: #3A4E34 !important;
    border-color: #3A4E34 !important;
}

.btn-info {
    background-color: #3E7C9E !important;
    border-color: #3E7C9E !important;
    border-radius: 6px !important;
    font-weight: 600 !important;
    font-size: 12px !important;
}

.btn-info:hover {
    background-color: #305F79 !important;
    border-color: #305F79 !important;
}

/* Painel "Ações recentes" (módulo padrão do Django admin) */
#recent-actions-module,
.module.recent-actions {
    background: #ffffff !important;
    border-radius: 12px !important;
    box-shadow: 0 2px 10px rgba(30, 40, 20, 0.08) !important;
    padding: 16px 18px !important;
}

#recent-actions-module h2,
.module.recent-actions h2 {
    font-size: 16px;
    font-weight: 700;
    color: #2E3B26;
    margin-bottom: 10px;
}

#recent-actions-module ul,
.actionlist,
.module.recent-actions ul {
    padding-left: 0 !important;
    list-style: none !important;
}

#recent-actions-module li,
.actionlist li,
.module.recent-actions li {
    border-left: 3px solid #4C6444;
    padding: 8px 12px;
    margin-bottom: 6px;
    background: #F7F9F5;
    border-radius: 0 6px 6px 0;
    font-size: 13px;
}

#recent-actions-module li a,
.actionlist li a,
.module.recent-actions li a {
    color: #2E3B26;
    font-weight: 600;
}

