/* --- START OF FILE anual.css --- */
html {
    background-color: #1a1a1a; 
}

body {
    height: 100%;
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
    background-color: transparent;
    color: #fff;
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;

    padding-top: 60px; 
    padding-bottom: 80px; 
}

/* A IMAGEM DE FUNDO FIXA (PSEUDO-ELEMENTO) */
body::before {
    content: ''; 
    position: fixed; 
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 100%; 
    background-image: url('/images/background.jpg'); 
    background-size: cover;
    background-position: center;
    background-blend-mode: multiply;
    background-color: rgba(0, 0, 0, 0.7);
    filter: blur(5px);
    z-index: -1; 
}

/* CLASSE REUTILIZÁVEL PARA CENTRALIZAR CONTEÚDO */
.centered-content-wrapper {
    max-width: 480px; 
    margin: 0 auto;
    width: 100%;
    box-sizing: border-box;
}

/* Cabeçalho Fixo Superior */
.header-anual {
    position: fixed; 
    top: 0; 
    left: 0; 
    width: 100%; 
    background-color: rgba(30, 0, 0, 0.95); 
    color: #fff;
    z-index: 100;
    box-sizing: border-box;
    height: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

.header-anual .header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between; 
    padding: 0 15px;
    width: 100%;
    height: 100%;
}

/* Estilo para a seta de voltar */
.back-arrow {
    color: #fff;
    font-size: 1.5em; 
    text-decoration: none;
    flex-shrink: 0;
    transition: color 0.2s ease;
}

.back-arrow:hover {
    color: #C6A66C; 
}

/* Estilo para o Título Principal do Cabeçalho */
.header-anual h1 {
    font-size: 1.2em;
    margin: 0;
    flex-grow: 1; 
    text-align: center;
}

/* Estilo do Botão Home */
.home-button {
    color: #fff;
    font-size: 1.2em; 
    text-decoration: none;
    flex-shrink: 0;
    padding: 0 5px;
    transition: color 0.2s ease;
}

.home-button:hover {
    color: #C6A66C;
}


/* Container Principal da Grade de Dias Anuais */
.anual-grid-container {
    max-width: 480px; 
    margin: 10px auto; 
    padding: 20px 15px; 
    
    background-color: rgba(30, 0, 0, 0.95); 
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5); 
    box-sizing: border-box;

    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(70px, 1fr)); 
    gap: 10px; 
    justify-items: center; 
}

/* Estilo para cada botão de dia */
.day-button {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: #420d04;
    border: 1px solid #C6A66C;
    border-radius: 8px;
    width: 100%; 
    padding: 10px 5px;
    aspect-ratio: 1 / 1; 
    text-decoration: none;
    color: #fff;
    font-weight: bold;
    transition: background-color 0.2s ease, transform 0.2s ease;
    box-sizing: border-box;
    position: relative; /* Para posicionar o ícone de check */
}

.day-button:hover {
    background-color: #550000;
    transform: scale(1.05);
}

.day-button .day-label {
    font-size: 0.8em;
    color: #ccc;
    margin-bottom: 3px;
}

.day-button .day-number {
    font-size: 1.5em;
    color: #C6A66C; 
}

/* --- NOVO: Estilo para o dia marcado como lido --- */
.day-button.completed-day {
    background-color: #2e7d32; /* Um verde mais escuro */
    border-color: #C6A66C;
    /* Adiciona um leve realce */
    box-shadow: 0 0 8px rgba(198, 166, 108, 0.5); 
    cursor: default; /* Não muda o cursor */
}

.day-button.completed-day:hover {
    background-color: #2e7d32; /* Mantém a cor no hover */
    transform: none; /* Remove o efeito de scale no hover */
}

.day-button .completed-icon {
    position: absolute;
    top: 5px;
    right: 5px;
    color: #C6A66C; /* Dourado */
    font-size: 0.9em;
    text-shadow: 0 0 3px rgba(0,0,0,0.5);
}
/* --- FIM: Estilo para dia marcado como lido --- */


/* Barra de Navegação Inferior */
.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: rgba(30, 0, 0, 0.95); 
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0;
    border-top: 1px solid rgba(66, 13, 4, 0.9);
    box-shadow: 0 -2px 10px rgba(0,0,0,0.3);
    z-index: 100;
    height: 80px;
}

.bottom-nav .footer-inner {
    display: flex;
    justify-content: space-around;
    padding: 10px 15px;
    width: 100%;
    max-width: 480px;
    box-sizing: border-box;
}

.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: #d7ccc8;
    font-size: 0.8em;
    font-weight: bold;
    padding: 5px;
}

.nav-item i {
    font-size: 1.4em;
    margin-bottom: 5px;
}

.nav-item.active {
    color: #C6A66C; 
}

/* Media Query */
@media (max-width: 500px) {
    html, body {
        height: 100%;
    }
    body { 
        padding-top: 60px; 
        padding-bottom: 70px; 
    }
    .header-anual { height: 60px; }
    .header-anual .header-inner { padding: 10px 15px; }

    /* Tamanhos dos botões em mobile */
    .back-arrow { font-size: 1.3em; }
    .home-button { font-size: 1.1em; }

    .header-anual h1 { font-size: 1.1em; }

    /* Container e wrappers em mobile voltam a ser full-width */
    .anual-grid-container,
    .centered-content-wrapper,
    .bottom-nav .footer-inner { 
        max-width: 100%;
        margin-left: 0;
        margin-right: 0;
        padding-left: 15px;
        padding-right: 15px;
        border-radius: 0;
        box-shadow: none;
        background-color: rgba(30, 0, 0, 0.95);
    }
    .anual-grid-container { margin-top: 15px; margin-bottom: 15px; }

    .day-button {
        width: 100%;
        padding: 8px 5px; 
    }

    .bottom-nav { padding: 0; } 
    .nav-item { font-size: 0.7em; padding: 3px; }
    .nav-item i { font-size: 1.2em; margin-bottom: 3px; }
}
/* --- END OF FILE anual.css --- */