/**
 * Estilos para o visualizador de dicas
 * Baseado no visualizador de encartes, mas adaptado para o conteúdo de dicas
 */

/* Modal de visualização de dicas */
.dica-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 1000;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.dica-modal-content {
    background-color: #fff;
    width: 90%;
    max-width: 1000px;
    max-height: 90vh;
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.dica-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background-color: #e74c3c;
    color: #fff;
}

.dica-modal-header h3 {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 600;
}

.dica-modal-close {
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    color: #fff;
}

.dica-modal-body {
    padding: 20px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.dica-image-container {
    text-align: center;
    margin-bottom: 20px;
}

.dica-image-container img {
    max-width: 100%;
    max-height: 400px;
    border-radius: 5px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.dica-text-container {
    background-color: #f9f9f9;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.dica-categoria {
    display: inline-block;
    background-color: #e74c3c;
    color: #fff;
    padding: 5px 10px;
    border-radius: 3px;
    font-size: 0.9rem;
    font-weight: bold;
    margin-bottom: 15px;
}

.dica-texto {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #333;
}

.dica-texto p {
    margin-bottom: 15px;
}

.dica-texto h4 {
    margin-top: 20px;
    margin-bottom: 10px;
    color: #e74c3c;
}

.dica-texto ul, .dica-texto ol {
    margin-left: 20px;
    margin-bottom: 15px;
}

.dica-modal-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background-color: #f5f5f5;
    border-top: 1px solid #eee;
}

.dica-date {
    color: #666;
    font-size: 0.9rem;
}

.btn-fullscreen {
    background-color: #e74c3c;
    color: #fff;
    border: none;
    padding: 8px 15px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: background-color 0.3s;
}

.btn-fullscreen:hover {
    background-color: #c0392b;
}

/* Estilos para tela cheia */
.dica-modal-content:fullscreen {
    width: 100%;
    height: 100%;
    max-width: none;
    max-height: none;
    border-radius: 0;
}

.dica-modal-content:fullscreen .dica-modal-body {
    flex: 1;
}

/* Responsividade */
@media (max-width: 768px) {
    .dica-modal-body {
        flex-direction: column;
    }
    
    .dica-image-container {
        width: 100%;
        margin-right: 0;
        margin-bottom: 20px;
    }
    
    .dica-text-container {
        width: 100%;
    }
}